Searched refs:dw_cs (Results 1 – 2 of 2) sorted by relevance
300 void dw_apb_clocksource_start(struct dw_apb_clocksource *dw_cs) in dw_apb_clocksource_start() argument306 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() local325 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() local335 dw_apb_clocksource_start(dw_cs); in apbt_restart_clocksource()[all …]
51 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);