Lines Matching refs:armada38x_rtc

68 struct armada38x_rtc {  struct
86 void (*update_mbus_timing)(struct armada38x_rtc *rtc); argument
87 u32 (*read_rtc_reg)(struct armada38x_rtc *rtc, u8 rtc_reg);
88 void (*clear_isr)(struct armada38x_rtc *rtc);
89 void (*unmask_interrupt)(struct armada38x_rtc *rtc);
103 static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset) in rtc_delayed_write()
112 static void rtc_update_38x_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_38x_mbus_timing_params()
124 static void rtc_update_8k_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_8k_mbus_timing_params()
141 static u32 read_rtc_register(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register()
146 static u32 read_rtc_register_38x_wa(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register_38x_wa()
188 static void armada38x_clear_isr(struct armada38x_rtc *rtc) in armada38x_clear_isr()
195 static void armada38x_unmask_interrupt(struct armada38x_rtc *rtc) in armada38x_unmask_interrupt()
202 static void armada8k_clear_isr(struct armada38x_rtc *rtc) in armada8k_clear_isr()
207 static void armada8k_unmask_interrupt(struct armada38x_rtc *rtc) in armada8k_unmask_interrupt()
214 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_time()
226 static void armada38x_rtc_reset(struct armada38x_rtc *rtc) in armada38x_rtc_reset()
245 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_time()
262 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_alarm()
283 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_alarm()
307 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_alarm_irq_enable()
325 struct armada38x_rtc *rtc = data; in armada38x_rtc_alarm_irq()
399 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_offset()
416 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_offset()
491 struct armada38x_rtc *rtc; in armada38x_rtc_probe()
493 rtc = devm_kzalloc(&pdev->dev, sizeof(struct armada38x_rtc), in armada38x_rtc_probe()
547 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_suspend()
558 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_resume()