sh_tmu_channel 59 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *channels; sh_tmu_channel 80 drivers/clocksource/sh_tmu.c static inline unsigned long sh_tmu_read(struct sh_tmu_channel *ch, int reg_nr) sh_tmu_channel 101 drivers/clocksource/sh_tmu.c static inline void sh_tmu_write(struct sh_tmu_channel *ch, int reg_nr, sh_tmu_channel 123 drivers/clocksource/sh_tmu.c static void sh_tmu_start_stop_ch(struct sh_tmu_channel *ch, int start) sh_tmu_channel 140 drivers/clocksource/sh_tmu.c static int __sh_tmu_enable(struct sh_tmu_channel *ch) sh_tmu_channel 168 drivers/clocksource/sh_tmu.c static int sh_tmu_enable(struct sh_tmu_channel *ch) sh_tmu_channel 179 drivers/clocksource/sh_tmu.c static void __sh_tmu_disable(struct sh_tmu_channel *ch) sh_tmu_channel 191 drivers/clocksource/sh_tmu.c static void sh_tmu_disable(struct sh_tmu_channel *ch) sh_tmu_channel 205 drivers/clocksource/sh_tmu.c static void sh_tmu_set_next(struct sh_tmu_channel *ch, unsigned long delta, sh_tmu_channel 231 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = dev_id; sh_tmu_channel 244 drivers/clocksource/sh_tmu.c static struct sh_tmu_channel *cs_to_sh_tmu(struct clocksource *cs) sh_tmu_channel 246 drivers/clocksource/sh_tmu.c return container_of(cs, struct sh_tmu_channel, cs); sh_tmu_channel 251 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_channel 258 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_channel 273 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_channel 284 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_channel 297 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = cs_to_sh_tmu(cs); sh_tmu_channel 308 drivers/clocksource/sh_tmu.c static int sh_tmu_register_clocksource(struct sh_tmu_channel *ch, sh_tmu_channel 330 drivers/clocksource/sh_tmu.c static struct sh_tmu_channel *ced_to_sh_tmu(struct clock_event_device *ced) sh_tmu_channel 332 drivers/clocksource/sh_tmu.c return container_of(ced, struct sh_tmu_channel, ced); sh_tmu_channel 335 drivers/clocksource/sh_tmu.c static void sh_tmu_clock_event_start(struct sh_tmu_channel *ch, int periodic) sh_tmu_channel 347 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); sh_tmu_channel 357 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); sh_tmu_channel 382 drivers/clocksource/sh_tmu.c struct sh_tmu_channel *ch = ced_to_sh_tmu(ced); sh_tmu_channel 401 drivers/clocksource/sh_tmu.c static void sh_tmu_register_clockevent(struct sh_tmu_channel *ch, sh_tmu_channel 434 drivers/clocksource/sh_tmu.c static int sh_tmu_register(struct sh_tmu_channel *ch, const char *name, sh_tmu_channel 448 drivers/clocksource/sh_tmu.c static int sh_tmu_channel_setup(struct sh_tmu_channel *ch, unsigned int index,