Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/qcom/
H A Dspm.c46 .avs_ctl = 0x1010031,
52 .avs_ctl = 0x101c031,
58 .avs_ctl = 0x1010031,
64 .avs_ctl = 0x1010031,
304 spm_register_write(drv, SPM_REG_AVS_CTL, drv->reg_data->avs_ctl); in spm_dev_probe()
/openbmc/linux/include/soc/qcom/
H A Dspm.h29 u32 avs_ctl; member
/openbmc/linux/drivers/regulator/
H A Dqcom_spmi-regulator.c1337 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()