Searched refs:sh_tmu_channel (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/clocksource/ |
H A D | sh_tmu.c | 42 struct sh_tmu_channel { struct 67 struct sh_tmu_channel *channels; 88 static inline unsigned long sh_tmu_read(struct sh_tmu_channel *ch, int reg_nr) sh_tmu_read() 109 static inline void sh_tmu_write(struct sh_tmu_channel *ch, int reg_nr, sh_tmu_write() 131 static void sh_tmu_start_stop_ch(struct sh_tmu_channel *ch, int start) sh_tmu_start_stop_ch() 148 static int __sh_tmu_enable(struct sh_tmu_channel *ch) __sh_tmu_enable() 177 static int sh_tmu_enable(struct sh_tmu_channel *ch) sh_tmu_enable() 188 static void __sh_tmu_disable(struct sh_tmu_channel *ch) __sh_tmu_disable() 200 static void sh_tmu_disable(struct sh_tmu_channel *ch) sh_tmu_disable() 214 static void sh_tmu_set_next(struct sh_tmu_channel *ch, unsigned long delta, sh_tmu_set_next() 240 struct sh_tmu_channel *ch = dev_id; sh_tmu_interrupt() 253 static struct sh_tmu_channel *cs_to_sh_tmu(struct clocksource *cs) cs_to_sh_tmu() 255 return container_of(cs, struct sh_tmu_channel, cs); cs_to_sh_tmu() 260 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_clocksource_read() 267 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_clocksource_enable() 284 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_clocksource_disable() 295 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_clocksource_suspend() 308 struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_clocksource_resume() 319 static int sh_tmu_register_clocksource(struct sh_tmu_channel *ch, sh_tmu_register_clocksource() 342 static struct sh_tmu_channel *ced_to_sh_tmu(struct clock_event_device *ced) ced_to_sh_tmu() 344 return container_of(ced, struct sh_tmu_channel, ced); ced_to_sh_tmu() 347 static void sh_tmu_clock_event_start(struct sh_tmu_channel *ch, int periodic) sh_tmu_clock_event_start() 363 struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); sh_tmu_clock_event_shutdown() 373 struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); sh_tmu_clock_event_set_state() 398 struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); sh_tmu_clock_event_next() 417 static void sh_tmu_register_clockevent(struct sh_tmu_channel *ch, sh_tmu_register_clockevent() 450 static int sh_tmu_register(struct sh_tmu_channel *ch, const char *name, sh_tmu_register() 464 static int sh_tmu_channel_setup(struct sh_tmu_channel *ch, unsigned int index, sh_tmu_channel_setup()
|
Completed in 86 milliseconds