Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/regulator/
Dqcom_spmi-regulator.c672 int selector, voltage_sel; in spmi_regulator_select_voltage() local
703 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() argument
740 *voltage_sel = selector + offset; in spmi_sw_selector_to_hw()
877 u8 range_sel, voltage_sel; in spmi_regulator_common_set_voltage() local
879 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() local
923 spmi_vreg_read(vreg, SPMI_COMMON_REG_VOLTAGE_SET, &voltage_sel, 1); in spmi_regulator_common_get_voltage()
[all …]
/linux-6.12.1/drivers/media/dvb-frontends/
Dm88ds3103.c1426 bool voltage_sel, voltage_dis; in m88ds3103_set_voltage() local
1437 voltage_sel = true; in m88ds3103_set_voltage()
1441 voltage_sel = false; in m88ds3103_set_voltage()
1445 voltage_sel = false; in m88ds3103_set_voltage()
1455 voltage_sel ^= dev->cfg->lnb_hv_pol; in m88ds3103_set_voltage()
1458 utmp = voltage_dis << 1 | voltage_sel << 0; in m88ds3103_set_voltage()