Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/clocksource/
H A Dsh_cmt.c418 #define FLAG_CLOCKSOURCE (1 << 1) macro
540 if (ch->flags & FLAG_CLOCKSOURCE) in sh_cmt_interrupt()
581 if (flag & FLAG_CLOCKSOURCE) in sh_cmt_start()
586 if (!(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) { in sh_cmt_start()
598 flag == FLAG_CLOCKSOURCE && (!(ch->flags & FLAG_CLOCKEVENT))) in sh_cmt_start()
613 f = ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE); in sh_cmt_stop()
616 if (f && !(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) { in sh_cmt_stop()
623 if ((flag == FLAG_CLOCKEVENT) && (ch->flags & FLAG_CLOCKSOURCE)) in sh_cmt_stop()
628 if (flag & FLAG_CLOCKSOURCE) in sh_cmt_stop()
670 ret = sh_cmt_start(ch, FLAG_CLOCKSOURCE); in sh_cmt_clocksource_enable()
[all...]
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dsh_cmt.c420 #define FLAG_CLOCKSOURCE (1 << 1) macro
542 if (ch->flags & FLAG_CLOCKSOURCE) in sh_cmt_interrupt()
585 if (!(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) in sh_cmt_start()
594 flag == FLAG_CLOCKSOURCE && (!(ch->flags & FLAG_CLOCKEVENT))) in sh_cmt_start()
609 f = ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE); in sh_cmt_stop()
612 if (f && !(ch->flags & (FLAG_CLOCKEVENT | FLAG_CLOCKSOURCE))) in sh_cmt_stop()
616 if ((flag == FLAG_CLOCKEVENT) && (ch->flags & FLAG_CLOCKSOURCE)) in sh_cmt_stop()
660 ret = sh_cmt_start(ch, FLAG_CLOCKSOURCE); in sh_cmt_clocksource_enable()
673 sh_cmt_stop(ch, FLAG_CLOCKSOURCE); in sh_cmt_clocksource_disable()
684 sh_cmt_stop(ch, FLAG_CLOCKSOURCE); in sh_cmt_clocksource_suspend()
[all...]

Completed in 4 milliseconds