Searched refs:bc_timer (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/clocksource/
H A Drockchip_timer.c31 struct bc_timer { struct
37 static struct bc_timer bc_timer; variable in typeref:struct:bc_timer
39 static inline struct bc_timer *rk_timer(struct clock_event_device *ce) rk_timer()
41 return container_of(ce, struct bc_timer, ce); rk_timer()
115 struct clock_event_device *ce = &bc_timer.ce; rk_timer_init()
120 bc_timer.base = of_iomap(np, 0); rk_timer_init()
121 if (!bc_timer.base) { rk_timer_init()
148 bc_timer.freq = clk_get_rate(timer_clk); rk_timer_init()
174 clockevents_config_and_register(ce, bc_timer.freq, 1, UINT_MAX); rk_timer_init()

Completed in 56 milliseconds