/linux/drivers/gpu/drm/ |
A D | drm_dp_aux_dev.c | 50 atomic_t usecount; member 82 atomic_set(&aux_dev->usecount, 1); in alloc_drm_dp_aux_dev() 152 if (!atomic_inc_not_zero(&aux_dev->usecount)) in auxdev_read_iter() 183 if (atomic_dec_and_test(&aux_dev->usecount)) in auxdev_read_iter() 184 wake_up_var(&aux_dev->usecount); in auxdev_read_iter() 195 if (!atomic_inc_not_zero(&aux_dev->usecount)) in auxdev_write_iter() 226 if (atomic_dec_and_test(&aux_dev->usecount)) in auxdev_write_iter() 227 wake_up_var(&aux_dev->usecount); in auxdev_write_iter() 291 atomic_dec(&aux_dev->usecount); in drm_dp_aux_unregister_devnode() 292 wait_var_event(&aux_dev->usecount, !atomic_read(&aux_dev->usecount)); in drm_dp_aux_unregister_devnode()
|
/linux/fs/jffs2/ |
A D | compr.c | 103 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()
|
A D | compr.h | 57 int usecount; member
|
/linux/drivers/sh/clk/ |
A D | core.c | 240 if (WARN(!clk->usecount, "Trying to disable clock %p with 0 usecount\n", in __clk_disable() 244 if (!(--clk->usecount)) { in __clk_disable() 269 if (clk->usecount++ == 0) { in __clk_enable() 288 clk->usecount--; in __clk_enable() 427 clk->usecount = 0; in clk_register() 522 if (clk->usecount == 0) { in clk_set_parent() 577 if (likely(clkp->usecount && clkp->ops)) { in clks_core_resume() 614 if (!clk->usecount && clk->ops && clk->ops->disable) in clk_late_init()
|
/linux/drivers/gpu/host1x/ |
A D | bus.c | 747 client->usecount = 0; in __host1x_client_init() 843 if (client->usecount == 1) { in host1x_client_suspend() 851 client->usecount--; in host1x_client_suspend() 852 dev_dbg(client->dev, "use count: %u\n", client->usecount); in host1x_client_suspend() 863 if (client->usecount == 0) in host1x_client_suspend() 867 client->usecount++; in host1x_client_suspend() 886 if (client->usecount == 0) { in host1x_client_resume() 894 client->usecount++; in host1x_client_resume() 895 dev_dbg(client->dev, "use count: %u\n", client->usecount); in host1x_client_resume()
|
/linux/arch/arm/mach-omap1/ |
A D | clock.c | 413 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()
|
A D | clock.h | 152 s8 usecount; member
|
/linux/arch/arm/mach-omap2/ |
A D | clockdomain.c | 955 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()
|
A D | clockdomain.h | 138 int usecount; member
|
A D | pm-debug.c | 77 clkdm->usecount); in clkdm_dbg_show_counter()
|
A D | cm3xxx.c | 205 if (clkdm->usecount > 0) in omap3xxx_clkdm_allow_idle() 217 if (clkdm->usecount > 0) in omap3xxx_clkdm_deny_idle()
|
/linux/include/linux/mtd/ |
A D | nftl.h | 25 int usecount; member
|
A D | inftl.h | 33 int usecount; member
|
/linux/drivers/gpu/drm/tegra/ |
A D | hub.h | 16 unsigned int usecount; member
|
A D | hub.c | 116 if (wgrp->usecount == 0) { in tegra_windowgroup_enable() 126 wgrp->usecount++; in tegra_windowgroup_enable() 139 if (wgrp->usecount == 1) { in tegra_windowgroup_disable() 149 wgrp->usecount--; in tegra_windowgroup_disable() 1099 wgrp->usecount = 0; in tegra_display_hub_probe()
|
/linux/drivers/mtd/ |
A D | mtdcore.c | 625 mtd->usecount = 0; in add_mtd_device() 737 if (mtd->usecount) { in del_mtd_device() 739 mtd->index, mtd->name, mtd->usecount); in del_mtd_device() 1155 master->usecount++; in __get_mtd_device() 1158 mtd->usecount++; in __get_mtd_device() 1218 --mtd->usecount; in __put_mtd_device() 1219 BUG_ON(mtd->usecount < 0); in __put_mtd_device() 1223 master->usecount--; in __put_mtd_device()
|
A D | ssfdc.c | 21 int usecount; member
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
A D | fifo.h | 15 int usecount; member
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | odp.c | 216 if (!refcount_inc_not_zero(&imr->mmkey.usecount)) in destroy_unused_implicit_child_mr() 441 refcount_set(&mr->mmkey.usecount, 2); in implicit_get_child_mr() 465 refcount_inc(&ret->mmkey.usecount); in implicit_get_child_mr() 637 refcount_inc(&mtt->mmkey.usecount); in pagefault_implicit_mr() 847 refcount_inc(&mmkey->usecount); in pagefault_single_data_segment() 1717 refcount_inc(&mmkey->usecount); in get_prefetchable_mr()
|
A D | mlx5_ib.h | 642 refcount_t usecount; member 1617 refcount_set(&mmkey->usecount, 1); in mlx5r_store_odp_mkey() 1626 if (refcount_dec_and_test(&mmkey->usecount)) in mlx5r_deref_odp_mkey() 1634 wait_event(mmkey->wait, refcount_read(&mmkey->usecount) == 0); in mlx5r_deref_wait_odp_mkey()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A D | chan.c | 58 if (--engn->usecount) in nvkm_fifo_chan_child_fini() 91 if (engn->usecount++) in nvkm_fifo_chan_child_init()
|
/linux/include/linux/ |
A D | sh_clk.h | 50 int usecount; member
|
A D | host1x.h | 74 unsigned int usecount; member
|
/linux/drivers/gpu/ipu-v3/ |
A D | ipu-prv.h | 181 int usecount; member
|
/linux/drivers/video/fbdev/matrox/ |
A D | matroxfb_base.h | 345 unsigned int usecount; member
|