Lines Matching refs:FLAG_CLOCKEVENT
417 #define FLAG_CLOCKEVENT (1 << 0) macro
549 if (ch->flags & FLAG_CLOCKEVENT) { in sh_cmt_interrupt()
568 if (ch->flags & FLAG_CLOCKEVENT) in sh_cmt_interrupt()
591 if (!(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) { in sh_cmt_start()
592 if (flag & FLAG_CLOCKEVENT) 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()
623 if (flag & FLAG_CLOCKEVENT) in sh_cmt_stop()
628 if ((flag == FLAG_CLOCKEVENT) && (ch->flags & FLAG_CLOCKSOURCE)) in sh_cmt_stop()
743 sh_cmt_start(ch, FLAG_CLOCKEVENT); in sh_cmt_clock_event_start()
755 sh_cmt_stop(ch, FLAG_CLOCKEVENT); in sh_cmt_clock_event_shutdown()
766 sh_cmt_stop(ch, FLAG_CLOCKEVENT); in sh_cmt_clock_event_set_state()