Home
last modified time | relevance | path

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

/drivers/clocksource/
Dsh_tmu.c48 unsigned int enable_count; member
143 if (p->enable_count++ > 0) in sh_tmu_enable()
166 if (WARN_ON(p->enable_count == 0)) in sh_tmu_disable()
169 if (--p->enable_count > 0) in sh_tmu_disable()
264 if (--p->enable_count == 0) { in sh_tmu_clocksource_suspend()
277 if (p->enable_count++ == 0) { in sh_tmu_clocksource_resume()
476 p->enable_count = 0; in sh_tmu_setup()
/drivers/clk/
Dclk.c110 c->enable_count, c->prepare_count, c->rate); in clk_summary_show_one()
167 seq_printf(s, "\"enable_count\": %d,", c->enable_count); in clk_dump_one()
262 (u32 *)&clk->enable_count); in clk_debug_create_one()
477 if (clk->enable_count) in clk_disable_unused_subtree()
564 return !clk ? 0 : clk->enable_count; in __clk_get_enable_count()
631 ret = clk->enable_count ? 1 : 0; in __clk_is_enabled()
695 WARN_ON(clk->enable_count > 0); in __clk_unprepare()
780 if (WARN_ON(clk->enable_count == 0)) in __clk_disable()
783 if (--clk->enable_count > 0) in __clk_disable()
824 if (clk->enable_count == 0) { in __clk_enable()
[all …]
/drivers/regulator/
Dcore.c80 u32 enable_count; /* a number of enabled shared GPIO */ member
1560 if (pin->enable_count == 0) in regulator_ena_gpio_ctrl()
1564 pin->enable_count++; in regulator_ena_gpio_ctrl()
1566 if (pin->enable_count > 1) { in regulator_ena_gpio_ctrl()
1567 pin->enable_count--; in regulator_ena_gpio_ctrl()
1572 if (pin->enable_count <= 1) { in regulator_ena_gpio_ctrl()
1575 pin->enable_count = 0; in regulator_ena_gpio_ctrl()