Home
last modified time | relevance | path

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

/drivers/clk/
Dclk-vt8500.c78 u32 en_val; in vt8500_dclk_enable() local
83 en_val = readl(cdev->en_reg); in vt8500_dclk_enable()
84 en_val |= BIT(cdev->en_bit); in vt8500_dclk_enable()
85 writel(en_val, cdev->en_reg); in vt8500_dclk_enable()
94 u32 en_val; in vt8500_dclk_disable() local
99 en_val = readl(cdev->en_reg); in vt8500_dclk_disable()
100 en_val &= ~BIT(cdev->en_bit); in vt8500_dclk_disable()
101 writel(en_val, cdev->en_reg); in vt8500_dclk_disable()
109 u32 en_val = (readl(cdev->en_reg) & BIT(cdev->en_bit)); in vt8500_dclk_is_enabled() local
111 return en_val ? 1 : 0; in vt8500_dclk_is_enabled()
/drivers/regulator/
Dmc13892-regulator.c337 u32 en_val = mc13892_regulators[id].enable_bit; in mc13892_gpo_regulator_enable() local
344 en_val = 0; in mc13892_gpo_regulator_enable()
349 return mc13892_powermisc_rmw(priv, mask, en_val); in mc13892_gpo_regulator_enable()
491 unsigned int en_val = 0; in mc13892_vcam_set_mode() local
496 en_val = MC13892_REGULATORMODE1_VCAMCONFIGEN; in mc13892_vcam_set_mode()
500 MC13892_REGULATORMODE1_VCAMCONFIGEN, en_val); in mc13892_vcam_set_mode()
Dmc13783-regulator.c330 u32 en_val = mc13xxx_regulators[id].enable_bit; in mc13783_gpo_regulator_enable() local
337 en_val = 0; in mc13783_gpo_regulator_enable()
340 en_val); in mc13783_gpo_regulator_enable()