Home
last modified time | relevance | path

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

12

/linux-3.4.99/arch/arm/mach-mxs/
Dclock.c54 WARN_ON(!clk->usecount); in __clk_disable()
56 if (!(--clk->usecount)) { in __clk_disable()
68 if (clk->usecount++ == 0) { in __clk_enable()
181 if (clk->usecount) in clk_set_parent()
194 if (clk->usecount) in clk_set_parent()
/linux-3.4.99/fs/jffs2/
Dcompr.c103 this->usecount++; in jffs2_selected_compress()
111 this->usecount--; in jffs2_selected_compress()
202 this->usecount++; in jffs2_compress()
208 this->usecount--; in jffs2_compress()
278 this->usecount++; in jffs2_decompress()
289 this->usecount--; in jffs2_decompress()
311 comp->usecount=0; in jffs2_register_compressor()
345 if (comp->usecount) { in jffs2_unregister_compressor()
Dcompr.h57 int usecount; member
/linux-3.4.99/arch/arm/plat-mxc/
Dclock.c55 WARN_ON(!clk->usecount); in __clk_disable()
57 if (!(--clk->usecount)) { in __clk_disable()
70 if (clk->usecount++ == 0) { in __clk_enable()
171 if (clk->usecount) in clk_set_parent()
184 if (clk->usecount) in clk_set_parent()
/linux-3.4.99/arch/arm/mach-omap2/
Dclock.c272 if (clk->usecount == 0) { in omap2_clk_disable()
280 clk->usecount--; in omap2_clk_disable()
282 if (clk->usecount > 0) in omap2_clk_disable()
316 clk->usecount++; in omap2_clk_enable()
318 if (clk->usecount > 1) in omap2_clk_enable()
360 clk->usecount--; in omap2_clk_enable()
Dclockdomain2xxx_3xxx.c129 if (atomic_read(&clkdm->usecount) > 0) in omap2_clkdm_allow_idle()
141 if (atomic_read(&clkdm->usecount) > 0) in omap2_clkdm_deny_idle()
228 if (atomic_read(&clkdm->usecount) > 0) in omap3_clkdm_allow_idle()
240 if (atomic_read(&clkdm->usecount) > 0) in omap3_clkdm_deny_idle()
/linux-3.4.99/drivers/sh/clk/
Dcore.c245 if (WARN(!clk->usecount, "Trying to disable clock %p with 0 usecount\n", in __clk_disable()
249 if (!(--clk->usecount)) { in __clk_disable()
274 if (clk->usecount++ == 0) { in __clk_enable()
293 clk->usecount--; in __clk_enable()
432 clk->usecount = 0; in clk_register()
521 if (clk->usecount == 0) { in clk_set_parent()
662 if (likely(clkp->usecount && clkp->ops)) { in clks_core_resume()
699 if (!clk->usecount && clk->ops && clk->ops->disable) in clk_late_init()
/linux-3.4.99/arch/c6x/platforms/
Dpll.c35 clk->usecount++; in __clk_enable()
40 if (WARN_ON(clk->usecount == 0)) in __clk_disable()
42 --clk->usecount; in __clk_disable()
140 if (WARN_ON(clk->usecount)) in clk_set_parent()
399 buf, parent->usecount, state, clk_get_rate(parent)); in dump_clock()
/linux-3.4.99/arch/arm/plat-omap/
Dclock.c67 if (clk->usecount == 0) { in clk_disable()
153 if (clk->usecount == 0) { in clk_set_parent()
424 if (ck->usecount > 0 || !ck->enable_reg) in clk_disable_unused()
470 c->name, pa ? pa->name : "none", c->rate, c->usecount); in clk_dbg_show_summary()
499 d = debugfs_create_u8("usecount", S_IRUGO, c->dent, (u8 *)&c->usecount); in clk_debugfs_register_one()
/linux-3.4.99/arch/arm/mach-davinci/
Dclock.c38 if (clk->usecount++ == 0 && (clk->flags & CLK_PSC)) in __clk_enable()
45 if (WARN_ON(clk->usecount == 0)) in __clk_disable()
47 if (--clk->usecount == 0 && !(clk->flags & CLK_PLL) && in __clk_disable()
147 if (WARN_ON(clk->usecount)) in clk_set_parent()
222 if (ck->usecount > 0) in clk_disable_unused()
625 buf, parent->usecount, state, clk_get_rate(parent)); in dump_clock()
Dclock.h93 u8 usecount; member
/linux-3.4.99/arch/arm/mach-pnx4008/
Dclock.c816 if (WARN_ON(clk->usecount == 0)) in local_clk_disable()
819 if (!(--clk->usecount)) { in local_clk_disable()
833 if (clk->usecount == 0) { in local_clk_enable()
851 clk->usecount++; in local_clk_enable()
978 if (clk->enable && clk->usecount) in clk_init()
980 if (clk->disable && !clk->usecount) in clk_init()
990 if (ck_13MHz.usecount == 0) in clk_init()
Dclock.h22 s8 usecount; member
/linux-3.4.99/arch/arm/mach-lpc32xx/
Dclock.h26 u32 usecount; member
Dclock.c973 if (clk->usecount > 0) { in local_clk_disable()
974 clk->usecount--; in local_clk_disable()
977 if ((clk->usecount == 0) && (clk->enable)) in local_clk_disable()
996 if ((clk->usecount == 0) && (clk->enable)) in local_clk_enable()
1000 clk->usecount++; in local_clk_enable()
/linux-3.4.99/arch/arm/mach-omap1/
Dclock.c416 if (clk->usecount++ == 0) { in omap1_clk_enable()
436 clk->usecount--; in omap1_clk_enable()
442 if (clk->usecount > 0 && !(--clk->usecount)) { in omap1_clk_disable()
/linux-3.4.99/arch/arm/mach-mxs/include/mach/
Dclock.h33 __s8 usecount; member
/linux-3.4.99/arch/arm/mach-u300/
Dclock.c379 if (clk->usecount > 0 && !(--clk->usecount)) { in clk_disable()
402 if (clk->usecount++ == 0) { in clk_enable()
407 clk->usecount--; in clk_enable()
1416 clk->usecount ? "ON" : "OFF", in u300_clocks_show()
1417 clk->usecount, in u300_clocks_show()
1427 clk->usecount ? "ON" : "OFF", in u300_clocks_show()
1428 clk->usecount, in u300_clocks_show()
Dclock.h33 __s8 usecount; member
/linux-3.4.99/arch/arm/plat-mxc/include/mach/
Dclock.h35 __s8 usecount; member
/linux-3.4.99/include/linux/mtd/
Dnftl.h39 int usecount; member
Dinftl.h32 int usecount; member
/linux-3.4.99/drivers/mtd/
Dmtdcore.c323 mtd->usecount = 0; in add_mtd_device()
411 if (mtd->usecount) { in del_mtd_device()
413 mtd->index, mtd->name, mtd->usecount); in del_mtd_device()
621 mtd->usecount++; in __get_mtd_device()
675 --mtd->usecount; in __put_mtd_device()
676 BUG_ON(mtd->usecount < 0); in __put_mtd_device()
/linux-3.4.99/drivers/s390/char/
Dsclp_cmd.c304 int usecount; member
415 if (incr->usecount++) in sclp_mem_change_state()
425 if (--incr->usecount) in sclp_mem_change_state()
526 new_incr->usecount = rzm > MEM_SCT_SIZE ? rzm/MEM_SCT_SIZE : 1; in insert_increment()
/linux-3.4.99/arch/c6x/include/asm/
Dclock.h87 int usecount; member

12