Searched refs:REFGEN_BG_CTRL_MASK (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/regulator/ |
H A D | qcom-refgen-regulator.c | 20 #define REFGEN_BG_CTRL_MASK GENMASK(2, 1) macro 30 regmap_update_bits(rdev->regmap, REFGEN_REG_BG_CTRL, REFGEN_BG_CTRL_MASK, in qcom_sdm845_refgen_enable() 31 FIELD_PREP(REFGEN_BG_CTRL_MASK, REFGEN_BG_CTRL_ENABLE)); in qcom_sdm845_refgen_enable() 44 regmap_update_bits(rdev->regmap, REFGEN_REG_BG_CTRL, REFGEN_BG_CTRL_MASK, in qcom_sdm845_refgen_disable() 45 FIELD_PREP(REFGEN_BG_CTRL_MASK, REFGEN_BG_CTRL_DISABLE)); in qcom_sdm845_refgen_disable() 55 if (FIELD_GET(REFGEN_BG_CTRL_MASK, val) != REFGEN_BG_CTRL_ENABLE) in qcom_sdm845_refgen_is_enabled()
|