Searched refs:avs_ctl (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/soc/qcom/ |
D | spm.c | 70 u32 avs_ctl; member 97 .avs_ctl = 0x1010031, 103 .avs_ctl = 0x101c031, 109 .avs_ctl = 0x1010031, 115 .avs_ctl = 0x1010031, 332 unsigned int vctl, data0, data1, avs_ctl, sts; in smp_set_vdd_v1_1() local 339 avs_ctl = spm_register_read(drv, SPM_REG_AVS_CTL); in smp_set_vdd_v1_1() 344 avs_enabled = avs_ctl & SPM_1_1_AVS_CTL_AVS_ENABLED; in smp_set_vdd_v1_1() 348 avs_ctl &= ~SPM_1_1_AVS_CTL_AVS_ENABLED; in smp_set_vdd_v1_1() 349 spm_register_write(drv, SPM_REG_AVS_CTL, avs_ctl); in smp_set_vdd_v1_1() [all …]
|
/linux-6.12.1/drivers/regulator/ |
D | qcom_spmi-regulator.c | 1337 u32 vctl, data3, avs_ctl, pmic_sts; in spmi_saw_set_vdd() local 1342 regmap_read(saw_regmap, SAW3_AVS_CTL, &avs_ctl); in spmi_saw_set_vdd() 1354 avs_enabled = SAW3_AVS_CTL_EN_MASK & avs_ctl; in spmi_saw_set_vdd() 1356 avs_ctl &= ~SAW3_AVS_CTL_TGGL_MASK; in spmi_saw_set_vdd() 1357 regmap_write(saw_regmap, SAW3_AVS_CTL, avs_ctl); in spmi_saw_set_vdd() 1378 avs_ctl &= ~SAW3_AVS_CTL_CLEAR_MASK; in spmi_saw_set_vdd() 1379 avs_ctl |= ((pmic_sts - 4) << 10); in spmi_saw_set_vdd() 1380 avs_ctl |= (pmic_sts << 17); in spmi_saw_set_vdd() 1381 avs_ctl |= SAW3_AVS_CTL_TGGL_MASK; in spmi_saw_set_vdd() 1382 regmap_write(saw_regmap, SAW3_AVS_CTL, avs_ctl); in spmi_saw_set_vdd()
|