Searched refs:voltage_sel (Results 1 – 1 of 1) sorted by relevance
672 int selector, voltage_sel; in spmi_regulator_select_voltage() local703 voltage_sel = DIV_ROUND_UP(uV - range->min_uV, range->step_uV); in spmi_regulator_select_voltage()704 uV = voltage_sel * range->step_uV + range->min_uV; in spmi_regulator_select_voltage()724 u8 *voltage_sel) in spmi_sw_selector_to_hw() argument740 *voltage_sel = selector + offset; in spmi_sw_selector_to_hw()877 u8 range_sel, voltage_sel; in spmi_regulator_common_set_voltage() local879 ret = spmi_sw_selector_to_hw(vreg, selector, &range_sel, &voltage_sel); in spmi_regulator_common_set_voltage()884 buf[1] = voltage_sel; in spmi_regulator_common_set_voltage()921 u8 voltage_sel; in spmi_regulator_common_get_voltage() local923 spmi_vreg_read(vreg, SPMI_COMMON_REG_VOLTAGE_SET, &voltage_sel, 1); in spmi_regulator_common_get_voltage()[all …]