Home
last modified time | relevance | path

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

/drivers/clocksource/
Dsh_tmu.c47 bool cs_enabled; member
234 if (WARN_ON(p->cs_enabled)) in sh_tmu_clocksource_enable()
240 p->cs_enabled = true; in sh_tmu_clocksource_enable()
250 if (WARN_ON(!p->cs_enabled)) in sh_tmu_clocksource_disable()
254 p->cs_enabled = false; in sh_tmu_clocksource_disable()
261 if (!p->cs_enabled) in sh_tmu_clocksource_suspend()
274 if (!p->cs_enabled) in sh_tmu_clocksource_resume()
475 p->cs_enabled = false; in sh_tmu_setup()
Dsh_cmt.c56 bool cs_enabled; member
501 WARN_ON(p->cs_enabled); in sh_cmt_clocksource_enable()
508 p->cs_enabled = true; in sh_cmt_clocksource_enable()
517 WARN_ON(!p->cs_enabled); in sh_cmt_clocksource_disable()
520 p->cs_enabled = false; in sh_cmt_clocksource_disable()
757 p->cs_enabled = false; in sh_cmt_setup()