Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dlinear_ranges.c255 void linear_range_get_selector_within(const struct linear_range *r, in linear_range_get_selector_within() function
273 EXPORT_SYMBOL_GPL(linear_range_get_selector_within);
/openbmc/linux/drivers/power/supply/
H A Dmt6360_charger.c386 linear_range_get_selector_within(&mt6360_chg_range[MT6360_RANGE_ICHG], val->intval, &sel); in mt6360_charger_set_ichg()
398 linear_range_get_selector_within(&mt6360_chg_range[MT6360_RANGE_VOREG], val->intval, &sel); in mt6360_charger_set_cv()
410 linear_range_get_selector_within(&mt6360_chg_range[MT6360_RANGE_AICR], val->intval, &sel); in mt6360_charger_set_aicr()
422 linear_range_get_selector_within(&mt6360_chg_range[MT6360_RANGE_VMIVR], val->intval, &sel); in mt6360_charger_set_mivr()
434 linear_range_get_selector_within(&mt6360_chg_range[MT6360_RANGE_IPREC], val->intval, &sel); in mt6360_charger_set_iprechg()
446 linear_range_get_selector_within(&mt6360_chg_range[MT6360_RANGE_IEOC], val->intval, &sel); in mt6360_charger_set_ieoc()
H A Dmt6370-charger.c212 linear_range_get_selector_within(r, val, &val); in mt6370_chg_field_set()
H A Drt9471.c199 linear_range_get_selector_within(rt9471_chg_ranges + range, val, &sel); in rt9471_set_value_by_field_range()
H A Drt9467-charger.c381 linear_range_get_selector_within(range, value, &sel); in rt9467_set_value_from_ranges()
/openbmc/linux/include/linux/
H A Dlinear_range.h55 void linear_range_get_selector_within(const struct linear_range *r,
/openbmc/linux/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c383 linear_range_get_selector_within(priv->ranges + sel_range, curr->delta_t, &sel); in mt6370_gen_breath_pattern()
797 linear_range_get_selector_within(priv->ranges + sel_range, max_uA, &max_level); in mt6370_init_led_properties()