Searched refs:avs_ctl (Results 1 – 1 of 1) sorted by relevance
1223 u32 vctl, data3, avs_ctl, pmic_sts; in spmi_saw_set_vdd() local1228 regmap_read(saw_regmap, SAW3_AVS_CTL, &avs_ctl); in spmi_saw_set_vdd()1240 avs_enabled = SAW3_AVS_CTL_EN_MASK & avs_ctl; in spmi_saw_set_vdd()1242 avs_ctl &= ~SAW3_AVS_CTL_TGGL_MASK; in spmi_saw_set_vdd()1243 regmap_write(saw_regmap, SAW3_AVS_CTL, avs_ctl); in spmi_saw_set_vdd()1264 avs_ctl &= ~SAW3_AVS_CTL_CLEAR_MASK; in spmi_saw_set_vdd()1265 avs_ctl |= ((pmic_sts - 4) << 10); in spmi_saw_set_vdd()1266 avs_ctl |= (pmic_sts << 17); in spmi_saw_set_vdd()1267 avs_ctl |= SAW3_AVS_CTL_TGGL_MASK; in spmi_saw_set_vdd()1268 regmap_write(saw_regmap, SAW3_AVS_CTL, avs_ctl); in spmi_saw_set_vdd()