Home
last modified time | relevance | path

Searched refs:linear_range_get_value (Results 1 – 6 of 6) sorted by relevance

/linux/lib/
H A Dlinear_ranges.c87 int linear_range_get_value(const struct linear_range *r, unsigned int selector, in linear_range_get_value() function
97 EXPORT_SYMBOL_GPL(linear_range_get_value);
118 return linear_range_get_value(&r[i], selector, val); in linear_range_get_value_array()
/linux/drivers/power/supply/
H A Dmt6360_charger.c263 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_ICHG], sel, &value); in mt6360_charger_get_ichg()
286 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_VOREG], sel, &value); in mt6360_charger_get_cv()
309 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_AICR], sel, &value); in mt6360_charger_get_aicr()
325 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_VMIVR], sel, &value); in mt6360_charger_get_mivr()
341 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_IPREC], sel, &value); in mt6360_charger_get_iprechg()
357 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_IEOC], sel, &value); in mt6360_charger_get_ieoc()
H A Dmt6370-charger.c189 return linear_range_get_value(mt6370_chg_fields[fd].range, in mt6370_chg_field_get()
H A Drt9471.c229 ret = linear_range_get_value(rt9471_chg_ranges + range, sel, &rvalue); in rt9471_get_value_by_field_range()
H A Drt9467-charger.c363 return linear_range_get_value(range, sel, value); in rt9467_get_value_from_ranges()
/linux/include/linux/
H A Dlinear_range.h45 int linear_range_get_value(const struct linear_range *r, unsigned int selector,