Home
last modified time | relevance | path

Searched refs:dw_cs (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/clocksource/
Ddw_apb_timer.c300 void dw_apb_clocksource_start(struct dw_apb_clocksource *dw_cs) in dw_apb_clocksource_start() argument
306 unsigned long ctrl = apbt_readl(&dw_cs->timer, APBTMR_N_CONTROL); in dw_apb_clocksource_start()
309 apbt_writel(&dw_cs->timer, ctrl, APBTMR_N_CONTROL); in dw_apb_clocksource_start()
310 apbt_writel(&dw_cs->timer, ~0, APBTMR_N_LOAD_COUNT); in dw_apb_clocksource_start()
314 apbt_writel(&dw_cs->timer, ctrl, APBTMR_N_CONTROL); in dw_apb_clocksource_start()
316 dw_apb_clocksource_read(dw_cs); in dw_apb_clocksource_start()
322 struct dw_apb_clocksource *dw_cs = in __apbt_read_clocksource() local
325 current_count = apbt_readl(&dw_cs->timer, APBTMR_N_CURRENT_VALUE); in __apbt_read_clocksource()
332 struct dw_apb_clocksource *dw_cs = in apbt_restart_clocksource() local
335 dw_apb_clocksource_start(dw_cs); in apbt_restart_clocksource()
[all …]
/linux-3.4.99/include/linux/
Ddw_apb_timer.h51 void dw_apb_clocksource_register(struct dw_apb_clocksource *dw_cs);
52 void dw_apb_clocksource_start(struct dw_apb_clocksource *dw_cs);
53 cycle_t dw_apb_clocksource_read(struct dw_apb_clocksource *dw_cs);
54 void dw_apb_clocksource_unregister(struct dw_apb_clocksource *dw_cs);