Searched refs:max_hw_sel (Results 1 – 1 of 1) sorted by relevance
617 unsigned offset, max_hw_sel; in spmi_hw_selector_to_sw() local634 max_hw_sel = range->set_point_max_uV - range->min_uV; in spmi_hw_selector_to_sw()635 max_hw_sel /= range->step_uV; in spmi_hw_selector_to_sw()636 if (hw_sel > max_hw_sel) in spmi_hw_selector_to_sw()