regulator_b...supply_names(9)
π NAME π
Hiii bestie, welcome to regulator_b...supply_names(9) from the Kernel API Manual. This page is all about regulator_bulk_set_supply_names β the function that initializes the 'supply' fields in an array of regulator_bulk_data structs. Setup arc, but make it cute. β¨
π SYNOPSIS π
void regulator_bulk_set_supply_names (struct regulator_bulk_data
*consumers , const char *const *supply_names , unsigned int num_supplies
);
That's the whole signature, and it's void, so no return-value drama. π
πΈ ARGUMENTS πΈ
Three arguments, one little initialization mission:
consumersβ an array ofstruct regulator_bulk_dataentries you're initializing. This is the array getting its supply fields set up, periodt.supply_namesβ an array of supply name strings. The names go here, bestie. πnum_suppliesβ the number of supply names to initialize. Count them correctly, fr fr. β¨
β οΈ NOTE β οΈ
The'consumers'array must be the size of'num_supplies'. Like, actually. Don't let them be mismatched, okay? π
π₯ SEE ALSO π₯
Kernel file: ./drivers/regulator/helpers.c β that's the source-file lore right there.
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_set_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_is_equal(9)regulator_find_closest_bigger(9)regulator_set_ramp_delay_regmap(9)
Okay that's the whole page, bestie. It's sourced from ./drivers/regulator, dated October 2026, and yep β it's the regulator_b...supply_names(9) page. Stay regulated, 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