Lines Matching defs:ch

80 static inline unsigned long sh_tmu_read(struct sh_tmu_channel *ch, int reg_nr)  in sh_tmu_read()
101 static inline void sh_tmu_write(struct sh_tmu_channel *ch, int reg_nr, in sh_tmu_write()
123 static void sh_tmu_start_stop_ch(struct sh_tmu_channel *ch, int start) in sh_tmu_start_stop_ch()
140 static int __sh_tmu_enable(struct sh_tmu_channel *ch) in __sh_tmu_enable()
168 static int sh_tmu_enable(struct sh_tmu_channel *ch) in sh_tmu_enable()
179 static void __sh_tmu_disable(struct sh_tmu_channel *ch) in __sh_tmu_disable()
191 static void sh_tmu_disable(struct sh_tmu_channel *ch) in sh_tmu_disable()
205 static void sh_tmu_set_next(struct sh_tmu_channel *ch, unsigned long delta, in sh_tmu_set_next()
231 struct sh_tmu_channel *ch = dev_id; in sh_tmu_interrupt() local
251 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); in sh_tmu_clocksource_read() local
258 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); in sh_tmu_clocksource_enable() local
273 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); in sh_tmu_clocksource_disable() local
284 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); in sh_tmu_clocksource_suspend() local
297 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); in sh_tmu_clocksource_resume() local
308 static int sh_tmu_register_clocksource(struct sh_tmu_channel *ch, in sh_tmu_register_clocksource()
335 static void sh_tmu_clock_event_start(struct sh_tmu_channel *ch, int periodic) in sh_tmu_clock_event_start()
347 struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); in sh_tmu_clock_event_shutdown() local
357 struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); in sh_tmu_clock_event_set_state() local
382 struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); in sh_tmu_clock_event_next() local
401 static void sh_tmu_register_clockevent(struct sh_tmu_channel *ch, in sh_tmu_register_clockevent()
434 static int sh_tmu_register(struct sh_tmu_channel *ch, const char *name, in sh_tmu_register()
448 static int sh_tmu_channel_setup(struct sh_tmu_channel *ch, unsigned int index, in sh_tmu_channel_setup()