regulator_se...e_sel_regmap(9)
π regulator_se...e_sel_regmap(9) β Kernel API Manual π
okay so bestie, you're in the Kernel API Manual and this page is like, the glow-up cheat code for regulator drivers. it's regulator_se...e_sel_regmap(9), and yes the name got truncated by the terminal, we don't talk about it π«Ά
β¨ NAME β¨
regulator_set_voltage_sel_regmap β the standard set_voltage_sel for all my regmap girlies π
πΈ SYNOPSIS πΈ
int regulator_set_voltage_sel_regmap (struct regulator_dev *rdev ,
unsigned sel );
π ARGUMENTS π
rdevβ the regulator you're operating on, like, the main character here πselβ the selector you wanna set, no cap π₯
π¦ DESCRIPTION π¦
soooo here's the tea β β regulators that use regmap for their register I/O can just set the vsel_reg and vsel_mask fields in their descriptor, and then use this as their set_voltage_sel operation. that's it. that's the whole vibe. it literally saves you some code and honestly? we love an efficiency icon β¨π
π SEE ALSO π
the kernel file it lives in, bestie:
./drivers/regulator/helpers.c
and the whole friend group π«Ά (iykyk):
regulator_is_enabled_regmap(9)regulator_enable_regmap(9)regulator_disable_regmap(9)regulator_get_voltage_sel_pickable_regmap(9)regulator_set_voltage_sel_pickable_regmap(9)regulator_get_voltage_sel_regmap(9)regulator_map_voltage_iterate(9)regulator_map_voltage_ascend(9)regulator_map_voltage_linear(9)regulator_map_voltage_linear_range(9)regulator_map_voltage_pickable_linear_range(9)regulator_desc_list_voltage_linear(9)regulator_list_voltage_linear(9)regulator_list_voltage_pickable_linear_range(9)regulator_desc_list_voltage_linear_range(9)regulator_list_voltage_linear_range(9)regulator_list_voltage_table(9)regulator_set_bypass_regmap(9)regulator_set_soft_start_regmap(9)regulator_set_pull_down_regmap(9)regulator_get_bypass_regmap(9)regulator_set_active_discharge_regmap(9)regulator_set_current_limit_regmap(9)regulator_get_current_limit_regmap(9)regulator_bulk_set_supply_names(9)regulator_is_equal(9)regulator_find_closest_bigger(9)regulator_set_ramp_delay_regmap(9)
and that's the page, bestie!! π§ββοΈ this iconic little number lives in ./drivers/regulator, dated October 2026, and it answers to the name regulator_se...e_sel_regmap(9). slay, go set some voltage selectors πβπ
π¦ 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