Lines Matching refs:sun5i_timer
36 struct sun5i_timer { struct
46 container_of(x, struct sun5i_timer, clk_rate_cb) argument
48 container_of(x, struct sun5i_timer, clksrc)
50 container_of(x, struct sun5i_timer, clkevt)
58 static void sun5i_clkevt_sync(struct sun5i_timer *ce) in sun5i_clkevt_sync()
66 static void sun5i_clkevt_time_stop(struct sun5i_timer *ce, u8 timer) in sun5i_clkevt_time_stop()
74 static void sun5i_clkevt_time_setup(struct sun5i_timer *ce, u8 timer, u32 delay) in sun5i_clkevt_time_setup()
79 static void sun5i_clkevt_time_start(struct sun5i_timer *ce, u8 timer, bool periodic) in sun5i_clkevt_time_start()
94 struct sun5i_timer *ce = clkevt_to_sun5i_timer(clkevt); in sun5i_clkevt_shutdown()
102 struct sun5i_timer *ce = clkevt_to_sun5i_timer(clkevt); in sun5i_clkevt_set_oneshot()
111 struct sun5i_timer *ce = clkevt_to_sun5i_timer(clkevt); in sun5i_clkevt_set_periodic()
122 struct sun5i_timer *ce = clkevt_to_sun5i_timer(clkevt); in sun5i_clkevt_next_event()
133 struct sun5i_timer *ce = dev_id; in sun5i_timer_interrupt()
143 struct sun5i_timer *cs = clksrc_to_sun5i_timer(clksrc); in sun5i_clksrc_read()
152 struct sun5i_timer *cs = nb_to_sun5i_timer(nb); in sun5i_rate_cb()
175 struct sun5i_timer *cs = platform_get_drvdata(pdev); in sun5i_setup_clocksource()
202 struct sun5i_timer *ce = platform_get_drvdata(pdev); in sun5i_setup_clockevent()
239 struct sun5i_timer *st; in sun5i_timer_probe()
309 struct sun5i_timer *st = platform_get_drvdata(pdev); in sun5i_timer_remove()