/linux-4.4.14/drivers/clk/ti/ |
H A D | clockdomain.c | 31 * omap2_clkops_enable_clkdm - increment usecount on clkdm of @hw 34 * Increment the usecount of the clockdomain of the clock pointed to 35 * by @hw; if the usecount is 1, the clockdomain will be "enabled." 73 * omap2_clkops_disable_clkdm - decrement usecount on clkdm of @hw 76 * Decrement the usecount of the clockdomain of the clock pointed to 77 * by @hw; if the usecount is 0, the clockdomain will be "disabled."
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | engine.h | 13 int usecount; member in struct:nvkm_engine
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | engine.c | 36 if (--engine->usecount == 0) nvkm_engine_unref() 48 if (++engine->usecount == 1) { nvkm_engine_ref() 51 engine->usecount--; nvkm_engine_ref() 94 if (!engine->usecount) { nvkm_engine_init()
|
/linux-4.4.14/arch/arm/mach-lpc32xx/ |
H A D | clock.h | 26 u32 usecount; member in struct:clk
|
H A D | clock.c | 1070 if (clk->usecount > 0) { local_clk_disable() 1071 clk->usecount--; local_clk_disable() 1074 if ((clk->usecount == 0) && (clk->enable)) local_clk_disable() 1093 if ((clk->usecount == 0) && (clk->enable)) local_clk_enable() 1097 clk->usecount++; local_clk_enable()
|
/linux-4.4.14/fs/jffs2/ |
H A D | compr.c | 103 this->usecount++; jffs2_selected_compress() 111 this->usecount--; jffs2_selected_compress() 202 this->usecount++; jffs2_compress() 208 this->usecount--; jffs2_compress() 278 this->usecount++; jffs2_decompress() 289 this->usecount--; jffs2_decompress() 311 comp->usecount=0; jffs2_register_compressor() 345 if (comp->usecount) { jffs2_unregister_compressor()
|
H A D | compr.h | 57 int usecount; member in struct:jffs2_compressor
|
/linux-4.4.14/drivers/sh/clk/ |
H A D | core.c | 239 if (WARN(!clk->usecount, "Trying to disable clock %p with 0 usecount\n", __clk_disable() 243 if (!(--clk->usecount)) { __clk_disable() 268 if (clk->usecount++ == 0) { __clk_enable() 287 clk->usecount--; __clk_enable() 426 clk->usecount = 0; clk_register() 515 if (clk->usecount == 0) { clk_set_parent() 652 if (likely(clkp->usecount && clkp->ops)) { clks_core_resume() 689 if (!clk->usecount && clk->ops && clk->ops->disable) clk_late_init()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
H A D | fifo.h | 11 int usecount; member in struct:nvkm_fifo_engn
|
/linux-4.4.14/include/linux/mtd/ |
H A D | inftl.h | 32 int usecount; member in struct:INFTLrecord
|
H A D | nftl.h | 39 int usecount; member in struct:NFTLrecord
|
H A D | mtd.h | 254 int usecount; member in struct:mtd_info
|
/linux-4.4.14/arch/arm/mach-omap1/ |
H A D | clock.c | 416 if (clk->usecount++ == 0) { omap1_clk_enable() 436 clk->usecount--; omap1_clk_enable() 442 if (clk->usecount > 0 && !(--clk->usecount)) { omap1_clk_disable() 637 if (clk->usecount == 0) { clk_disable() 638 pr_err("Trying disable clock %s with 0 usecount\n", clk_disable() 968 if (ck->usecount > 0 || !ck->enable_reg) clk_disable_unused() 1004 c->usecount); clk_dbg_show_summary() 1034 d = debugfs_create_u8("usecount", S_IRUGO, c->dent, (u8 *)&c->usecount); clk_debugfs_register_one()
|
H A D | clock.h | 115 * @usecount: number of users that have requested this clock to be enabled 124 * XXX @usecount is poorly named. It should be "enable_count" or 127 * yet called clk_disable(); the usecount of parent clocks is also 132 * XXX @clkdm, @usecount, @children, @sibling should be marked for 155 s8 usecount; member in struct:clk
|
/linux-4.4.14/arch/c6x/platforms/ |
H A D | pll.c | 35 clk->usecount++; __clk_enable() 40 if (WARN_ON(clk->usecount == 0)) __clk_disable() 42 --clk->usecount; __clk_disable() 140 if (WARN_ON(clk->usecount)) clk_set_parent() 399 buf, parent->usecount, state, clk_get_rate(parent)); dump_clock()
|
/linux-4.4.14/arch/arm/mach-davinci/ |
H A D | clock.c | 38 if (clk->usecount++ == 0) { __clk_enable() 49 if (WARN_ON(clk->usecount == 0)) __clk_disable() 51 if (--clk->usecount == 0) { __clk_disable() 194 if (WARN_ON(clk->usecount)) clk_set_parent() 269 if (ck->usecount > 0) davinci_clk_disable_unused() 674 buf, parent->usecount, state, clk_get_rate(parent)); dump_clock()
|
H A D | dm644x.c | 141 .usecount = 1, /* REVISIT how to disable? */ 156 .usecount = 1, /* REVISIT how to disable? */ 284 .usecount = 1, /* REVISIT: why can't this be disabled? */
|
H A D | dm646x.c | 169 .usecount = 1, /* REVISIT how to disable? */ 273 .usecount = 1, /* REVIST: disabling hangs system */ 280 .usecount = 1, /* REVIST: disabling hangs system */
|
H A D | clock.h | 93 u8 usecount; member in struct:clk
|
H A D | dm355.c | 318 .usecount = 1, /* REVISIT: why can't this be disabled? */
|
H A D | dm365.c | 382 .usecount = 1,
|
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | clockdomain.c | 1126 clkdm->usecount++; _clkdm_clk_hwmod_enable() 1127 if (clkdm->usecount > 1 && autodeps) { _clkdm_clk_hwmod_enable() 1146 * Increment the usecount of the clockdomain @clkdm and ensure that it 1173 * Decrement the usecount of this clockdomain @clkdm when @clk is 1175 * clockdomain usecount goes to 0, put the clockdomain to sleep 1178 * pointers; -ERANGE if the @clkdm usecount underflows; or returns 0 1189 if ((__clk_get_enable_count(clk) == 0) && clkdm->usecount == 0) clkdm_clk_disable() 1192 if (clkdm->usecount == 0) { clkdm_clk_disable() 1198 clkdm->usecount--; clkdm_clk_disable() 1199 if (clkdm->usecount > 0) { clkdm_clk_disable() 1220 * Increment the usecount of the clockdomain @clkdm and ensure that it 1252 * Decrement the usecount of this clockdomain @clkdm when @oh is 1254 * If the clockdomain usecount goes to 0, put the clockdomain to sleep 1257 * Returns -EINVAL if passed null pointers; -ERANGE if the @clkdm usecount 1277 if (clkdm->usecount == 0) { clkdm_hwmod_disable() 1283 clkdm->usecount--; clkdm_hwmod_disable() 1284 if (clkdm->usecount > 0) { clkdm_hwmod_disable()
|
H A D | pm.c | 113 /* XXX The usecount test is racy */ omap_pm_clkdms_setup() 118 clkdm->usecount == 0) omap_pm_clkdms_setup()
|
H A D | pm-debug.c | 87 clkdm->usecount); clkdm_dbg_show_counter()
|
H A D | clockdomain.h | 116 * @usecount: Usecount tracking 140 int usecount; member in struct:clockdomain
|
H A D | cm3xxx.c | 212 if (clkdm->usecount > 0) omap3xxx_clkdm_allow_idle() 224 if (clkdm->usecount > 0) omap3xxx_clkdm_deny_idle()
|
/linux-4.4.14/arch/c6x/include/asm/ |
H A D | clock.h | 87 int usecount; member in struct:clk
|
/linux-4.4.14/include/linux/ |
H A D | sh_clk.h | 49 int usecount; member in struct:clk
|
H A D | dma-buf.h | 47 * @map_dma_buf: returns list of scatter pages allocated, increases usecount 52 * @unmap_dma_buf: decreases usecount of buffer, might deallocate scatter
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chan.c | 49 if (--engn->usecount) nvkm_fifo_chan_child_fini() 82 if (engn->usecount++) nvkm_fifo_chan_child_init()
|
/linux-4.4.14/drivers/mtd/ |
H A D | mtdcore.c | 410 mtd->usecount = 0; add_mtd_device() 503 if (mtd->usecount) { del_mtd_device() 505 mtd->index, mtd->name, mtd->usecount); del_mtd_device() 776 mtd->usecount++; __get_mtd_device() 830 --mtd->usecount; __put_mtd_device() 831 BUG_ON(mtd->usecount < 0); __put_mtd_device()
|
H A D | ssfdc.c | 24 int usecount; member in struct:ssfdcr_record
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
H A D | ipu-prv.h | 155 int usecount; member in struct:ipu_soc
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | core.h | 141 * or pin, and each of these will increment the @usecount.
|
/linux-4.4.14/drivers/video/fbdev/matrox/ |
H A D | matroxfb_base.h | 345 unsigned int usecount; member in struct:matrox_fb_info
|
H A D | matroxfb_base.c | 357 /* Currently we are holding big kernel lock on all dead & usecount updates. matroxfb_remove() 366 if (minfo->usecount) { matroxfb_remove() 394 minfo->usecount++; 412 if (!(--minfo->usecount) && minfo->dead) { 2065 minfo->usecount = 0; matroxfb_probe()
|
/linux-4.4.14/drivers/mtd/maps/ |
H A D | vmu-flash.c | 724 if (mtd->usecount > 0) vmu_can_unload()
|
/linux-4.4.14/drivers/clk/imx/ |
H A D | clk-imx6sl.c | 431 * usecount and enabling/disabling of parent PLLs. imx6sl_clocks_init()
|
/linux-4.4.14/drivers/char/ipmi/ |
H A D | ipmi_msghandler.c | 201 struct kref usecount; member in struct:bmc_device 930 * There is no module usecount here, because it's not ipmi_create_user() 2421 struct bmc_device *bmc = container_of(ref, struct bmc_device, usecount); cleanup_bmc_device() 2438 kref_put(&bmc->usecount, cleanup_bmc_device); ipmi_bmc_unregister() 2471 kref_get(&bmc->usecount); ipmi_bmc_register() 2514 kref_init(&bmc->usecount); ipmi_bmc_register()
|
/linux-4.4.14/drivers/dma-buf/ |
H A D | dma-buf.c | 513 * dma_buf_unmap_attachment - unmaps and decreases usecount of the buffer;might
|
/linux-4.4.14/drivers/mmc/host/ |
H A D | omap_hsmmc.c | 442 * disable regulators enabled during boot and get the usecount omap_hsmmc_disable_boot_regulators()
|
/linux-4.4.14/drivers/usb/core/ |
H A D | hcd.c | 1592 /* may be called in any context with a valid urb->dev usecount
|