Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clocksource/
Ddw_apb_timer.c327 void dw_apb_clocksource_start(struct dw_apb_clocksource *dw_cs) in dw_apb_clocksource_start() argument
333 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() local
352 current_count = apbt_readl_relaxed(&dw_cs->timer, in __apbt_read_clocksource()
360 struct dw_apb_clocksource *dw_cs = in apbt_restart_clocksource() local
363 dw_apb_clocksource_start(dw_cs); in apbt_restart_clocksource()
[all …]
/linux-6.1.9/include/linux/
Ddw_apb_timer.h47 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);