Searched refs:sh_mtu2_channel (Results 1 – 1 of 1) sorted by relevance
32 struct sh_mtu2_channel { struct49 struct sh_mtu2_channel *channels; argument156 static inline unsigned long sh_mtu2_read(struct sh_mtu2_channel *ch, int reg_nr) in sh_mtu2_read()171 static inline void sh_mtu2_write(struct sh_mtu2_channel *ch, int reg_nr, in sh_mtu2_write()187 static void sh_mtu2_start_stop_ch(struct sh_mtu2_channel *ch, int start) in sh_mtu2_start_stop_ch()204 static int sh_mtu2_enable(struct sh_mtu2_channel *ch) in sh_mtu2_enable()245 static void sh_mtu2_disable(struct sh_mtu2_channel *ch) in sh_mtu2_disable()259 struct sh_mtu2_channel *ch = dev_id; in sh_mtu2_interrupt()270 static struct sh_mtu2_channel *ced_to_sh_mtu2(struct clock_event_device *ced) in ced_to_sh_mtu2()272 return container_of(ced, struct sh_mtu2_channel, ced); in ced_to_sh_mtu2()[all …]