Home
last modified time | relevance | path

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

/arch/c6x/platforms/
Dpll.c31 clk->usecount++; in __clk_enable()
36 if (WARN_ON(clk->usecount == 0)) in __clk_disable()
38 --clk->usecount; in __clk_disable()
136 if (WARN_ON(clk->usecount)) in clk_set_parent()
395 buf, parent->usecount, state, clk_get_rate(parent)); in dump_clock()
/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()
/arch/c6x/include/asm/
Dclock.h84 int usecount; member