Home
last modified time | relevance | path

Searched refs:mc13xxx_reg_read (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/rtc/
Drtc-mc13xxx.c71 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCDAY, &days1); in mc13xxx_rtc_read_time()
75 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCTOD, &seconds); in mc13xxx_rtc_read_time()
79 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCDAY, &days2); in mc13xxx_rtc_read_time()
104 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCTODA, &alarmseconds); in mc13xxx_rtc_set_time()
165 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCTODA, &seconds); in mc13xxx_rtc_read_alarm()
173 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCDAY, &days); in mc13xxx_rtc_read_alarm()
/Linux-v5.4/drivers/mfd/
Dmc13xxx-core.c69 int mc13xxx_reg_read(struct mc13xxx *mc13xxx, unsigned int offset, u32 *val) in mc13xxx_reg_read() function
78 EXPORT_SYMBOL(mc13xxx_reg_read);
136 ret = mc13xxx_reg_read(mc13xxx, offmask, &mask); in mc13xxx_irq_status()
146 ret = mc13xxx_reg_read(mc13xxx, offstat, &stat); in mc13xxx_irq_status()
274 ret = mc13xxx_reg_read(mc13xxx, MC13XXX_ADC0, &old_adc0); in mc13xxx_adc_do_conversion()
345 ret = mc13xxx_reg_read(mc13xxx, in mc13xxx_adc_do_conversion()
429 ret = mc13xxx_reg_read(mc13xxx, MC13XXX_REVISION, &revision); in mc13xxx_common_init()
/Linux-v5.4/drivers/regulator/
Dmc13892-regulator.c312 ret = mc13xxx_reg_read(mc13892, MC13892_POWERMISC, &valread); in mc13892_powermisc_rmw()
375 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_gpo_regulator_is_enabled()
407 ret = mc13xxx_reg_read(priv->mc13xxx, in mc13892_sw_regulator_get_voltage_sel()
513 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_vcam_get_mode()
558 ret = mc13xxx_reg_read(mc13892, MC13892_REVISION, &val); in mc13892_regulator_probe()
Dmc13xxx-regulator-core.c59 ret = mc13xxx_reg_read(priv->mc13xxx, mc13xxx_regulators[id].reg, &val); in mc13xxx_regulator_is_enabled()
87 ret = mc13xxx_reg_read(priv->mc13xxx, in mc13xxx_regulator_get_voltage()
Dmc13783-regulator.c304 ret = mc13xxx_reg_read(mc13783, MC13783_REG_POWERMISC, &valread); in mc13783_powermisc_rmw()
369 ret = mc13xxx_reg_read(priv->mc13xxx, mc13xxx_regulators[id].reg, &val); in mc13783_gpo_regulator_is_enabled()
/Linux-v5.4/include/linux/mfd/
Dmc13xxx.h16 int mc13xxx_reg_read(struct mc13xxx *mc13xxx, unsigned int offset, u32 *val);
/Linux-v5.4/drivers/input/misc/
Dmc13783-pwrbutton.c61 mc13xxx_reg_read(priv->mc13783, MC13783_REG_INTERRUPT_SENSE_1, &val); in button_irq()