regulator_is_equal(9)
π regulator_is_equal(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes, the Kernel API Manual, we're in the big leagues now β and today's main character is regulator_is_equal. she's short, she's sweet, and she does exactly one (1) thing. no cap.
πΈ NAME πΈ
regulator_is_equal β test whether two regulators are the same π«Ά
like literally, that's the whole job. is regulator A the same regulator as regulator B? yes or no. iconic minimalism tbh π
β¨ SYNOPSIS β¨
bool regulator_is_equal (struct regulator *reg1 , struct regulator *reg2
);
she returns a bool, she takes two struct regulator * pointers, she does not elaborate. periodt π
π ARGUMENTS π
reg1β the first regulator to operate on. your starter regulator, if you will π¦reg2β the second regulator to operate on. the one you're holding up next toreg1going "waitβ¦ are you two the same person??" π
both of them are struct regulator *, both of them get compared, and that's the entire vibe check β
π SEE ALSO π
the source lives here, in Kernel file ./drivers/regulator/helpers.c β go read it, it's giving humble and hardworking π
and the whole friend group shows up too, because of course they do:
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_bulk_set_supply_names(9)regulator_find_closest_bigger(9)regulator_set_ramp_delay_regmap(9)
that's the whole group chat, all 28 of them, no one left on read ππ₯
ngl, this one's a tiny page for a tiny function and we stan her for it. equal rights, equal regulators π β¨
and that's the tea, bestie π β this baby ships out of ./drivers/regulator and the date on the tag is October 2026, so mark your calendars, 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