Home
last modified time | relevance | path

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

/drivers/clocksource/
Dh8300_tpu.c30 unsigned int cs_enabled; member
86 WARN_ON(p->cs_enabled); in tpu_clocksource_enable()
93 p->cs_enabled = true; in tpu_clocksource_enable()
101 WARN_ON(!p->cs_enabled); in tpu_clocksource_disable()
105 p->cs_enabled = false; in tpu_clocksource_disable()
Dh8300_timer16.c31 unsigned short cs_enabled; member
91 WARN_ON(p->cs_enabled); in timer16_enable()
99 p->cs_enabled = true; in timer16_enable()
107 WARN_ON(!p->cs_enabled); in timer16_disable()
112 p->cs_enabled = false; in timer16_disable()
Dsh_tmu.c44 bool cs_enabled; member
261 if (WARN_ON(ch->cs_enabled)) in sh_tmu_clocksource_enable()
266 ch->cs_enabled = true; in sh_tmu_clocksource_enable()
275 if (WARN_ON(!ch->cs_enabled)) in sh_tmu_clocksource_disable()
279 ch->cs_enabled = false; in sh_tmu_clocksource_disable()
286 if (!ch->cs_enabled) in sh_tmu_clocksource_suspend()
299 if (!ch->cs_enabled) in sh_tmu_clocksource_resume()
468 ch->cs_enabled = false; in sh_tmu_channel_setup()
Dsh_cmt.c104 bool cs_enabled; member
628 WARN_ON(ch->cs_enabled); in sh_cmt_clocksource_enable()
634 ch->cs_enabled = true; in sh_cmt_clocksource_enable()
643 WARN_ON(!ch->cs_enabled); in sh_cmt_clocksource_disable()
646 ch->cs_enabled = false; in sh_cmt_clocksource_disable()
653 if (!ch->cs_enabled) in sh_cmt_clocksource_suspend()
664 if (!ch->cs_enabled) in sh_cmt_clocksource_resume()
889 ch->cs_enabled = false; in sh_cmt_setup_channel()