Lines Matching refs:armada38x_rtc
69 struct armada38x_rtc { struct
87 void (*update_mbus_timing)(struct armada38x_rtc *rtc); argument
88 u32 (*read_rtc_reg)(struct armada38x_rtc *rtc, u8 rtc_reg);
89 void (*clear_isr)(struct armada38x_rtc *rtc);
90 void (*unmask_interrupt)(struct armada38x_rtc *rtc);
104 static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset) in rtc_delayed_write()
113 static void rtc_update_38x_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_38x_mbus_timing_params()
125 static void rtc_update_8k_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_8k_mbus_timing_params()
142 static u32 read_rtc_register(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register()
147 static u32 read_rtc_register_38x_wa(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register_38x_wa()
189 static void armada38x_clear_isr(struct armada38x_rtc *rtc) in armada38x_clear_isr()
196 static void armada38x_unmask_interrupt(struct armada38x_rtc *rtc) in armada38x_unmask_interrupt()
203 static void armada8k_clear_isr(struct armada38x_rtc *rtc) in armada8k_clear_isr()
208 static void armada8k_unmask_interrupt(struct armada38x_rtc *rtc) in armada8k_unmask_interrupt()
215 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_time()
227 static void armada38x_rtc_reset(struct armada38x_rtc *rtc) in armada38x_rtc_reset()
246 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_time()
263 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_alarm()
284 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_alarm()
308 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_alarm_irq_enable()
326 struct armada38x_rtc *rtc = data; in armada38x_rtc_alarm_irq()
400 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_offset()
417 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_offset()
503 struct armada38x_rtc *rtc; in armada38x_rtc_probe()
505 rtc = devm_kzalloc(&pdev->dev, sizeof(struct armada38x_rtc), in armada38x_rtc_probe()
566 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_suspend()
577 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_resume()