Searched refs:rtc_dd (Results 1 – 1 of 1) sorted by relevance
/drivers/rtc/ |
D | rtc-pm8xxx.c | 65 static int pm8xxx_read_wrapper(struct pm8xxx_rtc *rtc_dd, u8 *rtc_val, in pm8xxx_read_wrapper() argument 69 struct device *parent = rtc_dd->rtc_dev->parent; in pm8xxx_read_wrapper() 74 dev_err(rtc_dd->rtc_dev, "PMIC read failed\n"); in pm8xxx_read_wrapper() 82 static int pm8xxx_write_wrapper(struct pm8xxx_rtc *rtc_dd, u8 *rtc_val, in pm8xxx_write_wrapper() argument 86 struct device *parent = rtc_dd->rtc_dev->parent; in pm8xxx_write_wrapper() 91 dev_err(rtc_dd->rtc_dev, "PMIC write failed\n"); in pm8xxx_write_wrapper() 111 struct pm8xxx_rtc *rtc_dd = dev_get_drvdata(dev); in pm8xxx_rtc_set_time() local 122 spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags); in pm8xxx_rtc_set_time() 123 ctrl_reg = rtc_dd->ctrl_reg; in pm8xxx_rtc_set_time() 128 rc = pm8xxx_write_wrapper(rtc_dd, &ctrl_reg, rtc_dd->rtc_base, in pm8xxx_rtc_set_time() [all …]
|