Home
last modified time | relevance | path

Searched refs:max_hw_sel (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/regulator/
H A Dqcom_spmi-regulator.c694 unsigned offset, max_hw_sel; in spmi_hw_selector_to_sw() local
711 max_hw_sel = range->set_point_max_uV - range->min_uV; in spmi_hw_selector_to_sw()
712 max_hw_sel /= range->step_uV; in spmi_hw_selector_to_sw()
713 if (hw_sel > max_hw_sel) in spmi_hw_selector_to_sw()
/kernel/linux/linux-6.6/drivers/regulator/
H A Dqcom_spmi-regulator.c755 unsigned offset, max_hw_sel; in spmi_hw_selector_to_sw() local
772 max_hw_sel = range->set_point_max_uV - range->min_uV; in spmi_hw_selector_to_sw()
773 max_hw_sel /= range->step_uV; in spmi_hw_selector_to_sw()
774 if (hw_sel > max_hw_sel) in spmi_hw_selector_to_sw()

Completed in 8 milliseconds