Symbol: sh_cmt_channel
drivers/clocksource/sh_cmt.c
123
struct sh_cmt_channel *channels;
drivers/clocksource/sh_cmt.c
241
static inline u32 sh_cmt_read_cmstr(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
249
static inline void sh_cmt_write_cmstr(struct sh_cmt_channel *ch, u32 value)
drivers/clocksource/sh_cmt.c
264
static inline u32 sh_cmt_read_cmcsr(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
269
static inline void sh_cmt_write_cmcsr(struct sh_cmt_channel *ch, u32 value)
drivers/clocksource/sh_cmt.c
279
static inline u32 sh_cmt_read_cmcnt(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
284
static inline int sh_cmt_write_cmcnt(struct sh_cmt_channel *ch, u32 value)
drivers/clocksource/sh_cmt.c
303
static inline void sh_cmt_write_cmcor(struct sh_cmt_channel *ch, u32 value)
drivers/clocksource/sh_cmt.c
313
static u32 sh_cmt_get_counter(struct sh_cmt_channel *ch, u32 *has_wrapped)
drivers/clocksource/sh_cmt.c
334
static void sh_cmt_start_stop_ch(struct sh_cmt_channel *ch, int start)
drivers/clocksource/sh_cmt.c
352
static int sh_cmt_enable(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
387
static void sh_cmt_disable(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
405
static void sh_cmt_clock_event_program_verify(struct sh_cmt_channel *ch,
drivers/clocksource/sh_cmt.c
491
static void __sh_cmt_set_next(struct sh_cmt_channel *ch, unsigned long delta)
drivers/clocksource/sh_cmt.c
501
static void sh_cmt_set_next(struct sh_cmt_channel *ch, unsigned long delta)
drivers/clocksource/sh_cmt.c
512
struct sh_cmt_channel *ch = dev_id;
drivers/clocksource/sh_cmt.c
563
static int sh_cmt_start_clocksource(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
587
static void sh_cmt_stop_clocksource(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
604
static int sh_cmt_start_clockevent(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
624
static void sh_cmt_stop_clockevent(struct sh_cmt_channel *ch)
drivers/clocksource/sh_cmt.c
645
static struct sh_cmt_channel *cs_to_sh_cmt(struct clocksource *cs)
drivers/clocksource/sh_cmt.c
647
return container_of(cs, struct sh_cmt_channel, cs);
drivers/clocksource/sh_cmt.c
652
struct sh_cmt_channel *ch = cs_to_sh_cmt(cs);
drivers/clocksource/sh_cmt.c
677
struct sh_cmt_channel *ch = cs_to_sh_cmt(cs);
drivers/clocksource/sh_cmt.c
692
struct sh_cmt_channel *ch = cs_to_sh_cmt(cs);
drivers/clocksource/sh_cmt.c
702
struct sh_cmt_channel *ch = cs_to_sh_cmt(cs);
drivers/clocksource/sh_cmt.c
713
struct sh_cmt_channel *ch = cs_to_sh_cmt(cs);
drivers/clocksource/sh_cmt.c
722
static int sh_cmt_register_clocksource(struct sh_cmt_channel *ch,
drivers/clocksource/sh_cmt.c
744
static struct sh_cmt_channel *ced_to_sh_cmt(struct clock_event_device *ced)
drivers/clocksource/sh_cmt.c
746
return container_of(ced, struct sh_cmt_channel, ced);
drivers/clocksource/sh_cmt.c
749
static void sh_cmt_clock_event_start(struct sh_cmt_channel *ch, int periodic)
drivers/clocksource/sh_cmt.c
761
struct sh_cmt_channel *ch = ced_to_sh_cmt(ced);
drivers/clocksource/sh_cmt.c
770
struct sh_cmt_channel *ch = ced_to_sh_cmt(ced);
drivers/clocksource/sh_cmt.c
795
struct sh_cmt_channel *ch = ced_to_sh_cmt(ced);
drivers/clocksource/sh_cmt.c
814
struct sh_cmt_channel *ch = ced_to_sh_cmt(ced);
drivers/clocksource/sh_cmt.c
822
struct sh_cmt_channel *ch = ced_to_sh_cmt(ced);
drivers/clocksource/sh_cmt.c
828
static int sh_cmt_register_clockevent(struct sh_cmt_channel *ch,
drivers/clocksource/sh_cmt.c
875
static int sh_cmt_register(struct sh_cmt_channel *ch, const char *name,
drivers/clocksource/sh_cmt.c
895
static int sh_cmt_setup_channel(struct sh_cmt_channel *ch, unsigned int index,