Home
last modified time | relevance | path

Searched refs:usecount (Results 1 – 6 of 6) sorted by relevance

/arch/arm/mach-omap1/
Dclock.c413 if (clk->usecount++ == 0) { in omap1_clk_enable()
433 clk->usecount--; in omap1_clk_enable()
439 if (clk->usecount > 0 && !(--clk->usecount)) { in omap1_clk_disable()
634 if (clk->usecount == 0) { in clk_disable()
945 if (ck->usecount > 0 || !ck->enable_reg) in clk_disable_unused()
981 c->usecount); in debug_clock_show()
998 debugfs_create_u8("usecount", S_IRUGO, c->dent, &c->usecount); in clk_debugfs_register_one()
Dclock.h152 s8 usecount; member
/arch/arm/mach-omap2/
Dclockdomain.c955 if (!clkdm->usecount && (clkdm->flags & CLKDM_CAN_FORCE_SLEEP)) in clkdm_allow_idle_nolock()
1176 clkdm->usecount++; in clkdm_clk_enable()
1177 if (clkdm->usecount > 1 && autodeps) { in clkdm_clk_enable()
1212 if (clk && (__clk_get_enable_count(clk) == 0) && clkdm->usecount == 0) in clkdm_clk_disable()
1215 if (clkdm->usecount == 0) { in clkdm_clk_disable()
1221 clkdm->usecount--; in clkdm_clk_disable()
1222 if (clkdm->usecount > 0) { in clkdm_clk_disable()
Dclockdomain.h138 int usecount; member
Dpm-debug.c77 clkdm->usecount); in clkdm_dbg_show_counter()
Dcm3xxx.c205 if (clkdm->usecount > 0) in omap3xxx_clkdm_allow_idle()
217 if (clkdm->usecount > 0) in omap3xxx_clkdm_deny_idle()