Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Ddw_apb_timer.c343 dw_apb_clocksource_read(dw_cs); in dw_apb_clocksource_start()
349 struct dw_apb_clocksource *dw_cs = in __apbt_read_clocksource() local
363 dw_apb_clocksource_start(dw_cs); in apbt_restart_clocksource()
382 struct dw_apb_clocksource *dw_cs = kzalloc(sizeof(*dw_cs), GFP_KERNEL); in dw_apb_clocksource_init() local
384 if (!dw_cs) in dw_apb_clocksource_init()
387 dw_cs->timer.base = base; in dw_apb_clocksource_init()
388 dw_cs->timer.freq = freq; in dw_apb_clocksource_init()
389 dw_cs->cs.name = name; in dw_apb_clocksource_init()
390 dw_cs->cs.rating = rating; in dw_apb_clocksource_init()
396 return dw_cs; in dw_apb_clocksource_init()
[all …]
/openbmc/linux/include/linux/
H A 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);