Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dtest_linear_ranges.c113 .max_sel = RANGE1_MAX_SEL,
118 .max_sel = RANGE2_MAX_SEL,
/linux-6.1.9/drivers/power/supply/
Dbd99954-charger.c775 .max_sel = 0x1ff,
785 .max_sel = 0x10,
790 .max_sel = 0x1f,
803 .max_sel = 0xA0,
808 .max_sel = 0x4B0,
813 .max_sel = 0x7FF,
823 .max_sel = 0x28,
828 .max_sel = 0x12C,
833 .max_sel = 0x1FF,
843 .max_sel = 0x20,
[all …]
Dmt6370-charger.c210 val = r->max_sel; in mt6370_chg_field_set()
/linux-6.1.9/include/linux/
Dlinear_range.h25 unsigned int max_sel; member
33 .max_sel = _max_sel, \
/linux-6.1.9/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-6.1.9/include/linux/regulator/
Ddriver.h57 .max_sel = _max_sel, \