Home
last modified time | relevance | path

Searched refs:FLAG_CLOCKSOURCE (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/clocksource/
H A Dsh_cmt.c418 #define FLAG_CLOCKSOURCE (1 << 1) macro
541 if (ch->flags & FLAG_CLOCKSOURCE) in sh_cmt_interrupt()
586 if (flag & FLAG_CLOCKSOURCE) in sh_cmt_start()
591 if (!(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) { in sh_cmt_start()
603 flag == FLAG_CLOCKSOURCE && (!(ch->flags & FLAG_CLOCKEVENT))) in sh_cmt_start()
618 f = ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE); in sh_cmt_stop()
621 if (f && !(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) { in sh_cmt_stop()
628 if ((flag == FLAG_CLOCKEVENT) && (ch->flags & FLAG_CLOCKSOURCE)) in sh_cmt_stop()
633 if (flag & FLAG_CLOCKSOURCE) in sh_cmt_stop()
675 ret = sh_cmt_start(ch, FLAG_CLOCKSOURCE); in sh_cmt_clocksource_enable()
[all …]