Searched refs:en_val (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/clk/ |
H A D | clk-vt8500.c | 78 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()
|
/openbmc/linux/drivers/regulator/ |
H A D | mc13892-regulator.c | 337 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()
|
H A D | mc13783-regulator.c | 330 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()
|
/openbmc/linux/drivers/iio/addac/ |
H A D | ad74115.c | 955 unsigned int i, en_val, step_val, rate_val, tmp; in ad74115_get_dac_rate() local 962 en_val = FIELD_GET(AD74115_OUTPUT_SLEW_EN_MASK, tmp); in ad74115_get_dac_rate() 967 if (en_val == ad74115_dac_rate_step_tbl[i][0] && in ad74115_get_dac_rate() 982 unsigned int i, en_val, step_val, rate_val, mask, tmp; in ad74115_set_dac_rate() local 989 en_val = ad74115_dac_rate_step_tbl[i][0]; in ad74115_set_dac_rate() 997 tmp = FIELD_PREP(AD74115_OUTPUT_SLEW_EN_MASK, en_val); in ad74115_set_dac_rate()
|