Searched refs:sh_mtu2_channel (Results 1 – 1 of 1) sorted by relevance
36 struct sh_mtu2_channel { struct53 struct sh_mtu2_channel *channels; argument160 static inline unsigned long sh_mtu2_read(struct sh_mtu2_channel *ch, int reg_nr) in sh_mtu2_read()175 static inline void sh_mtu2_write(struct sh_mtu2_channel *ch, int reg_nr, in sh_mtu2_write()191 static void sh_mtu2_start_stop_ch(struct sh_mtu2_channel *ch, int start) in sh_mtu2_start_stop_ch()208 static int sh_mtu2_enable(struct sh_mtu2_channel *ch) in sh_mtu2_enable()249 static void sh_mtu2_disable(struct sh_mtu2_channel *ch) in sh_mtu2_disable()263 struct sh_mtu2_channel *ch = dev_id; in sh_mtu2_interrupt()274 static struct sh_mtu2_channel *ced_to_sh_mtu2(struct clock_event_device *ced) in ced_to_sh_mtu2()276 return container_of(ced, struct sh_mtu2_channel, ced); in ced_to_sh_mtu2()[all …]