regulator_f...osest_bigger(9)
π NAME π
okay so bestie, welcome to the regulator_f...osest_bigger(9) page from the Kernel API Manual β¨ the actual function is regulator_find_closest_bigger, and itβs a helper to find the offset in a ramp delay table π
β¨ SYNOPSIS β¨
int regulator_find_closest_bigger (unsigned int target , const unsigned
int *table , unsigned int num_sel , unsigned int *sel );
π ARGUMENTS π
targetβ the targetedramp_delayπtableβ the table with supported ramp delays πnum_selβ number of entries in the table π’selβ pointer to store the table offset π
πΈ DESCRIPTION πΈ
so this is the internal helper that regulator_set_ramp_delay_regmap uses to map a ramp delay to a register value π
itβs giving βsupporting cast, but make it essentialβ energy, fr fr.
lowkey important: only use it directly if regulator_set_ramp_delay_regmap cannot handle a specific device setup β e.g. because the value is split over multiple registers π donβt just call it for funsies.
π SEE ALSO π
go peek at these too, bestie π«Ά
- Kernel file
./drivers/regulator/helpers.c 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_is_equal(9)regulator_set_ramp_delay_regmap(9)
okay thatβs the whole page, no cap π
source/version: ./drivers/regulator; manual: regulator_f...osest_bigger(9); date: October 2026. byeee π«Άβ¨
π¦ 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