Home
last modified time | relevance | path

Searched refs:max_sel (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/lib/
Dlinear_ranges.c31 return r->max_sel - r->min_sel + 1; in linear_range_values_in_range()
72 return r->min + (r->max_sel - r->min_sel) * r->step; in linear_range_get_max_value()
90 if (r->min_sel > selector || r->max_sel < selector) in linear_range_get_value()
117 if (r[i].min_sel <= selector && r[i].max_sel >= selector) in linear_range_get_value_array()
148 *selector = r->max_sel; in linear_range_get_selector_low()
236 *selector = r->max_sel; in linear_range_get_selector_high()
264 *selector = r->max_sel; in linear_range_get_selector_within()
/Linux-v6.6/include/linux/
Dlinear_range.h25 unsigned int max_sel; member
33 .max_sel = _max_sel, \
/Linux-v6.6/drivers/power/supply/
Drt9471.c182 [RT9471_RANGE_AICR] = { .min = 50000, .min_sel = 1, .max_sel = 63, .step = 50000 },
183 [RT9471_RANGE_MIVR] = { .min = 3900000, .min_sel = 0, .max_sel = 15, .step = 100000 },
184 [RT9471_RANGE_IPRE] = { .min = 50000, .min_sel = 0, .max_sel = 15, .step = 50000 },
185 [RT9471_RANGE_VCHG] = { .min = 3900000, .min_sel = 0, .max_sel = 80, .step = 10000 },
186 [RT9471_RANGE_ICHG] = { .min = 0, .min_sel = 0, .max_sel = 63, .step = 50000 },
187 [RT9471_RANGE_IEOC] = { .min = 50000, .min_sel = 0, .max_sel = 15, .step = 50000 },
Dmt6370-charger.c210 val = r->max_sel; in mt6370_chg_field_set()
Drt9467-charger.c379 value = range->max_sel; in rt9467_set_value_from_ranges()
/Linux-v6.6/drivers/clk/bcm/
Dclk-kona-setup.c290 u32 max_sel; in sel_valid() local
301 max_sel = sel->parent_sel[sel->parent_count - 1]; in sel_valid()
303 if (max_sel > limit) { in sel_valid()
306 __func__, clock_name, max_sel, in sel_valid()
/Linux-v6.6/include/linux/regulator/
Ddriver.h57 .max_sel = _max_sel, \