/kernel/linux/linux-6.6/lib/ |
H A D | linear_ranges.c | 31 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()
|
/kernel/linux/linux-5.10/lib/ |
H A D | linear_ranges.c | 31 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()
|
H A D | test_linear_ranges.c | 113 .max_sel = RANGE1_MAX_SEL, 118 .max_sel = RANGE2_MAX_SEL,
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | bd99954-charger.c | 775 .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 [all...] |
H A D | bd70528-charger.c | 344 .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,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | linear_range.h | 19 * @max_sel: Highest selector for range 25 unsigned int max_sel; member 33 .max_sel = _max_sel, \
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | linear_range.h | 19 * @max_sel: Highest selector for range 25 unsigned int max_sel; member
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | rt9471.c | 182 [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 },
|
H A D | mt6370-charger.c | 210 val = r->max_sel; in mt6370_chg_field_set()
|
H A D | rt9467-charger.c | 379 value = range->max_sel; in rt9467_set_value_from_ranges()
|
/kernel/linux/linux-5.10/drivers/clk/bcm/ |
H A D | clk-kona-setup.c | 298 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()
|
/kernel/linux/linux-6.6/drivers/clk/bcm/ |
H A D | clk-kona-setup.c | 290 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()
|
/kernel/linux/linux-5.10/include/linux/regulator/ |
H A D | driver.h | 48 .max_sel = _max_sel, \
|
/kernel/linux/linux-6.6/include/linux/regulator/ |
H A D | driver.h | 57 .max_sel = _max_sel, \
|