Searched refs:dw_cs (Results 1 – 2 of 2) sorted by relevance
327 void dw_apb_clocksource_start(struct dw_apb_clocksource *dw_cs) in dw_apb_clocksource_start() argument333 u32 ctrl = apbt_readl(&dw_cs->timer, APBTMR_N_CONTROL); in dw_apb_clocksource_start()336 apbt_writel(&dw_cs->timer, ctrl, APBTMR_N_CONTROL); in dw_apb_clocksource_start()337 apbt_writel(&dw_cs->timer, ~0, APBTMR_N_LOAD_COUNT); in dw_apb_clocksource_start()341 apbt_writel(&dw_cs->timer, ctrl, APBTMR_N_CONTROL); in dw_apb_clocksource_start()343 dw_apb_clocksource_read(dw_cs); in dw_apb_clocksource_start()349 struct dw_apb_clocksource *dw_cs = in __apbt_read_clocksource() local352 current_count = apbt_readl_relaxed(&dw_cs->timer, in __apbt_read_clocksource()360 struct dw_apb_clocksource *dw_cs = in apbt_restart_clocksource() local363 dw_apb_clocksource_start(dw_cs); in apbt_restart_clocksource()[all …]
47 void dw_apb_clocksource_register(struct dw_apb_clocksource *dw_cs);48 void dw_apb_clocksource_start(struct dw_apb_clocksource *dw_cs);49 u64 dw_apb_clocksource_read(struct dw_apb_clocksource *dw_cs);