Home
last modified time | relevance | path

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

/Linux-v5.10/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()
Dtest_linear_ranges.c113 .max_sel = RANGE1_MAX_SEL,
118 .max_sel = RANGE2_MAX_SEL,
/Linux-v5.10/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 …]
Dbd70528-charger.c344 .max_sel = 0x22,
350 .max_sel = 0x26,
356 .max_sel = 0x2d,
362 .max_sel = 0x34,
368 .max_sel = 0x3f,
382 .max_sel = 0x12,
388 .max_sel = 0x1f,
/Linux-v5.10/include/linux/
Dlinear_range.h25 unsigned int max_sel; member
/Linux-v5.10/drivers/clk/bcm/
Dclk-kona-setup.c298 u32 max_sel; in sel_valid() local
309 max_sel = sel->parent_sel[sel->parent_count - 1]; in sel_valid()
311 if (max_sel > limit) { in sel_valid()
314 __func__, clock_name, max_sel, in sel_valid()
/Linux-v5.10/include/linux/regulator/
Ddriver.h48 .max_sel = _max_sel, \