Searched refs:sh_mtu2_channel (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/clocksource/
H A Dsh_mtu2.c36 struct sh_mtu2_channel { struct
53 struct sh_mtu2_channel *channels;
160 static inline unsigned long sh_mtu2_read(struct sh_mtu2_channel *ch, int reg_nr) sh_mtu2_read()
175 static inline void sh_mtu2_write(struct sh_mtu2_channel *ch, int reg_nr, sh_mtu2_write()
191 static void sh_mtu2_start_stop_ch(struct sh_mtu2_channel *ch, int start) sh_mtu2_start_stop_ch()
208 static int sh_mtu2_enable(struct sh_mtu2_channel *ch) sh_mtu2_enable()
249 static void sh_mtu2_disable(struct sh_mtu2_channel *ch) sh_mtu2_disable()
263 struct sh_mtu2_channel *ch = dev_id; sh_mtu2_interrupt()
274 static struct sh_mtu2_channel *ced_to_sh_mtu2(struct clock_event_device *ced) ced_to_sh_mtu2()
276 return container_of(ced, struct sh_mtu2_channel, ced); ced_to_sh_mtu2()
282 struct sh_mtu2_channel *ch = ced_to_sh_mtu2(ced); sh_mtu2_clock_event_mode()
321 static void sh_mtu2_register_clockevent(struct sh_mtu2_channel *ch, sh_mtu2_register_clockevent()
339 static int sh_mtu2_register(struct sh_mtu2_channel *ch, const char *name) sh_mtu2_register()
347 static int sh_mtu2_setup_channel(struct sh_mtu2_channel *ch, unsigned int index, sh_mtu2_setup_channel()

Completed in 60 milliseconds