Home
last modified time | relevance | path

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

/drivers/clocksource/
Dsh_cmt.c397 #define FLAG_CLOCKEVENT (1 << 0) macro
528 if (ch->flags & FLAG_CLOCKEVENT) { in sh_cmt_interrupt()
545 if (ch->flags & FLAG_CLOCKEVENT) in sh_cmt_interrupt()
563 if (!(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) in sh_cmt_start()
571 if ((flag == FLAG_CLOCKSOURCE) && (!(ch->flags & FLAG_CLOCKEVENT))) in sh_cmt_start()
586 f = ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE); in sh_cmt_stop()
589 if (f && !(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) in sh_cmt_stop()
593 if ((flag == FLAG_CLOCKEVENT) && (ch->flags & FLAG_CLOCKSOURCE)) in sh_cmt_stop()
700 sh_cmt_start(ch, FLAG_CLOCKEVENT); in sh_cmt_clock_event_start()
712 sh_cmt_stop(ch, FLAG_CLOCKEVENT); in sh_cmt_clock_event_shutdown()
[all …]