Lines Matching defs:stm_timer
55 struct stm_timer { struct
65 static DEFINE_PER_CPU(struct stm_timer *, stm_timers); argument
97 static u32 nxp_stm_clocksource_getcnt(struct stm_timer *stm_timer) in nxp_stm_clocksource_getcnt()
102 static void nxp_stm_clocksource_setcnt(struct stm_timer *stm_timer, u32 cnt) in nxp_stm_clocksource_setcnt()
109 struct stm_timer *stm_timer = cs_to_stm(cs); in nxp_stm_clocksource_read() local
114 static void nxp_stm_module_enable(struct stm_timer *stm_timer) in nxp_stm_module_enable()
125 static void nxp_stm_module_disable(struct stm_timer *stm_timer) in nxp_stm_module_disable()
136 static void nxp_stm_module_put(struct stm_timer *stm_timer) in nxp_stm_module_put()
142 static void nxp_stm_module_get(struct stm_timer *stm_timer) in nxp_stm_module_get()
150 struct stm_timer *stm_timer = cs_to_stm(cs); in nxp_stm_clocksource_enable() local
159 struct stm_timer *stm_timer = cs_to_stm(cs); in nxp_stm_clocksource_disable() local
166 struct stm_timer *stm_timer = cs_to_stm(cs); in nxp_stm_clocksource_suspend() local
174 struct stm_timer *stm_timer = cs_to_stm(cs); in nxp_stm_clocksource_resume() local
182 struct stm_timer *stm_timer = data; in devm_clocksource_unregister() local
187 static int __init nxp_stm_clocksource_init(struct device *dev, struct stm_timer *stm_timer, in nxp_stm_clocksource_init()
225 static int nxp_stm_clockevent_read_counter(struct stm_timer *stm_timer) in nxp_stm_clockevent_read_counter()
230 static void nxp_stm_clockevent_disable(struct stm_timer *stm_timer) in nxp_stm_clockevent_disable()
235 static void nxp_stm_clockevent_enable(struct stm_timer *stm_timer) in nxp_stm_clockevent_enable()
242 struct stm_timer *stm_timer = ced_to_stm(ced); in nxp_stm_clockevent_shutdown() local
251 struct stm_timer *stm_timer = ced_to_stm(ced); in nxp_stm_clockevent_set_next_event() local
282 struct stm_timer *stm_timer = ced_to_stm(ced); in nxp_stm_clockevent_set_periodic() local
289 struct stm_timer *stm_timer = ced_to_stm(ced); in nxp_stm_clockevent_suspend() local
296 struct stm_timer *stm_timer = ced_to_stm(ced); in nxp_stm_clockevent_resume() local
301 static int __init nxp_stm_clockevent_per_cpu_init(struct device *dev, struct stm_timer *stm_timer, in nxp_stm_clockevent_per_cpu_init()
331 struct stm_timer *stm_timer = per_cpu(stm_timers, cpu); in nxp_stm_clockevent_starting_cpu() local
358 struct stm_timer *stm_timer = dev_id; in nxp_stm_module_interrupt() local
393 struct stm_timer *stm_timer; in nxp_stm_timer_probe() local