Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/regulator/
Dqcom_spmi-regulator.c1067 u32 vctl, data3, avs_ctl, pmic_sts; in spmi_saw_set_vdd() local
1072 regmap_read(saw_regmap, SAW3_AVS_CTL, &avs_ctl); in spmi_saw_set_vdd()
1084 avs_enabled = SAW3_AVS_CTL_EN_MASK & avs_ctl; in spmi_saw_set_vdd()
1086 avs_ctl &= ~SAW3_AVS_CTL_TGGL_MASK; in spmi_saw_set_vdd()
1087 regmap_write(saw_regmap, SAW3_AVS_CTL, avs_ctl); in spmi_saw_set_vdd()
1108 avs_ctl &= ~SAW3_AVS_CTL_CLEAR_MASK; in spmi_saw_set_vdd()
1109 avs_ctl |= ((pmic_sts - 4) << 10); in spmi_saw_set_vdd()
1110 avs_ctl |= (pmic_sts << 17); in spmi_saw_set_vdd()
1111 avs_ctl |= SAW3_AVS_CTL_TGGL_MASK; in spmi_saw_set_vdd()
1112 regmap_write(saw_regmap, SAW3_AVS_CTL, avs_ctl); in spmi_saw_set_vdd()