Searched refs:sh_mtu2_channel (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | sh_mtu2.c | 32 struct sh_mtu2_channel { struct 49 struct sh_mtu2_channel *channels; 156 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, ce in ced_to_sh_mtu2() [all...] |
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | sh_mtu2.c | 32 struct sh_mtu2_channel { struct 49 struct sh_mtu2_channel *channels; 156 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, ce in ced_to_sh_mtu2() [all...] |
Completed in 3 milliseconds