Searched refs:cs_enabled (Results 1 – 4 of 4) sorted by relevance
30 unsigned int cs_enabled; member86 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()
31 unsigned short cs_enabled; member91 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()
44 bool cs_enabled; member261 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()
104 bool cs_enabled; member628 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()