Home
last modified time | relevance | path

Searched refs:voltage_sel (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/regulator/
Dqcom_spmi-regulator.c534 int selector, voltage_sel; in spmi_regulator_select_voltage() local
565 voltage_sel = DIV_ROUND_UP(uV - range->min_uV, range->step_uV); in spmi_regulator_select_voltage()
566 uV = voltage_sel * range->step_uV + range->min_uV; in spmi_regulator_select_voltage()
586 u8 *voltage_sel) in spmi_sw_selector_to_hw() argument
602 *voltage_sel = selector + offset; in spmi_sw_selector_to_hw()
739 u8 range_sel, voltage_sel; in spmi_regulator_common_set_voltage() local
741 ret = spmi_sw_selector_to_hw(vreg, selector, &range_sel, &voltage_sel); in spmi_regulator_common_set_voltage()
746 buf[1] = voltage_sel; in spmi_regulator_common_set_voltage()
770 u8 voltage_sel; in spmi_regulator_common_get_voltage() local
772 spmi_vreg_read(vreg, SPMI_COMMON_REG_VOLTAGE_SET, &voltage_sel, 1); in spmi_regulator_common_get_voltage()
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Dm88ds3103.c1017 bool voltage_sel, voltage_dis; in m88ds3103_set_voltage() local
1028 voltage_sel = true; in m88ds3103_set_voltage()
1032 voltage_sel = false; in m88ds3103_set_voltage()
1036 voltage_sel = false; in m88ds3103_set_voltage()
1046 voltage_sel ^= dev->cfg->lnb_hv_pol; in m88ds3103_set_voltage()
1049 utmp = voltage_dis << 1 | voltage_sel << 0; in m88ds3103_set_voltage()