ti_abb_set_voltage_sel(9)
β¨ ti_abb_set_voltage_sel(9) β¨
okay bestie, welcome to the kernel API manual β this one's a little function called ti_abb_set_voltage_sel, and no, it's not scary, i promise π«Ά it's just a regulator accessor, and she's doing her one job very well.
πΈ NAME πΈ
ti_abb_set_voltage_sel β the regulator accessor function that sets the ABB LDO. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
int ti_abb_set_voltage_sel (struct regulator_dev *rdev , unsigned int
sel );
two args, one int coming back at you. clean. iconic. β¨
π ARGUMENTS π
rdevβ the regulator device, fr. this is the thing you're poking at.selβ the selector that indexes into the required ABB LDO settings. heads up: it maps to the regulator descriptor'svolt_table, so likeβ¦ it's a lookup key, not a raw voltage. iykyk π
π RETURN π
0when it slays (success π )- or the appropriate error value when it fails π β so pls actually check the return, bestie, don't just assume.
π SEE ALSO π
the kernel file lives at ./drivers/regulator/ti-abb-regulator.c β that's the whole neighborhood, go say hi π‘
and here's the rest of the friend group, all of them, no cap:
struct ti_abb_info(9)struct ti_abb_reg(9)struct ti_abb(9)ti_abb_rmw(9)ti_abb_check_txdone(9)ti_abb_clear_txdone(9)ti_abb_wait_txdone(9)ti_abb_clear_all_txdone(9)ti_abb_program_ldovbb(9)ti_abb_set_opp(9)ti_abb_get_voltage_sel(9)ti_abb_init_timings(9)ti_abb_init_table(9)ti_abb_probe(9)
lowkey a whole squad. go read them too, they're all part of the same ABB regulator storyline π§
k bye bestie, this page came straight out of ./drivers/regulator and it's dated October 2026 β mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms