Lines Matching refs:da9052
20 dev_err(rtc->da9052->dev, "%s: " fmt, __func__, ##__VA_ARGS__)
26 struct da9052 *da9052; member
33 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_enable_alarm()
39 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_enable_alarm()
63 ret = da9052_group_read(rtc->da9052, DA9052_ALARM_MI_REG, 5, &v[0][0]); in da9052_read_alarm()
70 ret = da9052_group_read(rtc->da9052, in da9052_read_alarm()
101 struct da9052 *da9052 = rtc->da9052; in da9052_set_alarm() local
117 ret = da9052_reg_update(da9052, DA9052_ALARM_MI_REG, in da9052_set_alarm()
128 ret = da9052_group_write(da9052, DA9052_ALARM_H_REG, 3, v); in da9052_set_alarm()
132 ret = da9052_reg_update(da9052, DA9052_ALARM_Y_REG, in da9052_set_alarm()
144 ret = da9052_reg_read(rtc->da9052, DA9052_ALARM_Y_REG); in da9052_rtc_get_alarm_status()
161 ret = da9052_group_read(rtc->da9052, DA9052_COUNT_S_REG, 6, &v[0][0]); in da9052_rtc_read_time()
168 ret = da9052_group_read(rtc->da9052, in da9052_rtc_read_time()
215 ret = da9052_group_write(rtc->da9052, DA9052_COUNT_S_REG, 6, v); in da9052_rtc_set_time()
283 rtc->da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_rtc_probe()
286 ret = da9052_reg_write(rtc->da9052, DA9052_BBAT_CONT_REG, 0xFE); in da9052_rtc_probe()
293 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_probe()
311 ret = da9052_request_irq(rtc->da9052, DA9052_IRQ_ALARM, "ALM", in da9052_rtc_probe()