Lines Matching refs:da9052
25 dev_err(rtc->da9052->dev, "%s: " fmt, __func__, ##__VA_ARGS__)
31 struct da9052 *da9052; member
38 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_enable_alarm()
44 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_enable_alarm()
68 ret = da9052_group_read(rtc->da9052, DA9052_ALARM_MI_REG, 5, &v[0][0]); in da9052_read_alarm()
75 ret = da9052_group_read(rtc->da9052, in da9052_read_alarm()
106 struct da9052 *da9052 = rtc->da9052; in da9052_set_alarm() local
124 ret = da9052_reg_update(da9052, DA9052_ALARM_MI_REG, in da9052_set_alarm()
135 ret = da9052_group_write(da9052, DA9052_ALARM_H_REG, 3, v); in da9052_set_alarm()
139 ret = da9052_reg_update(da9052, DA9052_ALARM_Y_REG, in da9052_set_alarm()
151 ret = da9052_reg_read(rtc->da9052, DA9052_ALARM_Y_REG); in da9052_rtc_get_alarm_status()
168 ret = da9052_group_read(rtc->da9052, DA9052_COUNT_S_REG, 6, &v[0][0]); in da9052_rtc_read_time()
175 ret = da9052_group_read(rtc->da9052, in da9052_rtc_read_time()
223 ret = da9052_group_write(rtc->da9052, DA9052_COUNT_S_REG, 6, v); in da9052_rtc_set_time()
291 rtc->da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_rtc_probe()
294 ret = da9052_reg_write(rtc->da9052, DA9052_BBAT_CONT_REG, 0xFE); in da9052_rtc_probe()
301 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_probe()
313 ret = da9052_request_irq(rtc->da9052, DA9052_IRQ_ALARM, "ALM", in da9052_rtc_probe()