/linux-master/drivers/gpu/drm/display/ |
H A D | drm_dp_aux_dev.c | 50 atomic_t usecount; member in struct:drm_dp_aux_dev 82 atomic_set(&aux_dev->usecount, 1); 152 if (!atomic_inc_not_zero(&aux_dev->usecount)) 183 if (atomic_dec_and_test(&aux_dev->usecount)) 184 wake_up_var(&aux_dev->usecount); 195 if (!atomic_inc_not_zero(&aux_dev->usecount)) 226 if (atomic_dec_and_test(&aux_dev->usecount)) 227 wake_up_var(&aux_dev->usecount); 291 atomic_dec(&aux_dev->usecount); 292 wait_var_event(&aux_dev->usecount, !atomic_rea [all...] |
/linux-master/fs/jffs2/ |
H A D | compr.c | 103 this->usecount++; 111 this->usecount--; 202 this->usecount++; 208 this->usecount--; 278 this->usecount++; 289 this->usecount--; 311 comp->usecount=0; 345 if (comp->usecount) {
|
H A D | compr.h | 57 int usecount; member in struct:jffs2_compressor
|
/linux-master/include/linux/mtd/ |
H A D | inftl.h | 33 int usecount; member in struct:INFTLrecord
|
H A D | nftl.h | 25 int usecount; member in struct:NFTLrecord
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | hub.h | 16 unsigned int usecount; member in struct:tegra_windowgroup
|
H A D | hub.c | 119 if (wgrp->usecount == 0) { 129 wgrp->usecount++; 142 if (wgrp->usecount == 1) { 152 wgrp->usecount--; 1108 wgrp->usecount = 0;
|
/linux-master/drivers/sh/clk/ |
H A D | core.c | 240 if (WARN(!clk->usecount, "Trying to disable clock %p with 0 usecount\n", 244 if (!(--clk->usecount)) { 269 if (clk->usecount++ == 0) { 288 clk->usecount--; 427 clk->usecount = 0; 522 if (clk->usecount == 0) { 577 if (likely(clkp->usecount && clkp->ops)) { 614 if (!clk->usecount && clk->ops && clk->ops->disable)
|
/linux-master/arch/arm/mach-omap2/ |
H A D | clockdomain.c | 955 if (!clkdm->usecount && (clkdm->flags & CLKDM_CAN_FORCE_SLEEP)) 1115 * Increment the usecount of the clockdomain @clkdm and ensure that it 1136 clkdm->usecount++; 1137 if (clkdm->usecount > 1 && autodeps) { 1156 * Decrement the usecount of this clockdomain @clkdm when @clk is 1158 * clockdomain usecount goes to 0, put the clockdomain to sleep 1161 * pointers; -ERANGE if the @clkdm usecount underflows; or returns 0 1172 if (clk && (__clk_get_enable_count(clk) == 0) && clkdm->usecount == 0) 1175 if (clkdm->usecount == 0) { 1181 clkdm->usecount [all...] |
H A D | pm-debug.c | 77 clkdm->usecount);
|
H A D | clockdomain.h | 113 * @usecount: Usecount tracking 138 int usecount; member in struct:clockdomain
|
H A D | cm3xxx.c | 205 if (clkdm->usecount > 0) 217 if (clkdm->usecount > 0)
|
/linux-master/drivers/gpu/host1x/ |
H A D | bus.c | 724 client->usecount = 0; 819 if (client->usecount == 1) { 827 client->usecount--; 828 dev_dbg(client->dev, "use count: %u\n", client->usecount); 839 if (client->usecount == 0) 843 client->usecount++; 862 if (client->usecount == 0) { 870 client->usecount++; 871 dev_dbg(client->dev, "use count: %u\n", client->usecount);
|
/linux-master/drivers/devfreq/event/ |
H A D | rockchip-dfi.c | 104 int usecount; member in struct:rockchip_dfi 128 dfi->usecount++; 129 if (dfi->usecount > 1) 186 dfi->usecount--; 188 WARN_ON_ONCE(dfi->usecount < 0); 190 if (dfi->usecount > 0)
|
/linux-master/include/linux/ |
H A D | sh_clk.h | 50 int usecount; member in struct:clk
|
H A D | host1x.h | 88 * @usecount: reference count for this structure 107 unsigned int usecount; member in struct:host1x_client
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | odp.c | 216 if (!refcount_inc_not_zero(&imr->mmkey.usecount)) 442 refcount_set(&mr->mmkey.usecount, 2); 466 refcount_inc(&ret->mmkey.usecount); 638 refcount_inc(&mtt->mmkey.usecount); 849 refcount_inc(&mmkey->usecount); 1696 refcount_inc(&mmkey->usecount);
|
H A D | mlx5_ib.h | 645 refcount_t usecount; member in struct:mlx5_ib_mkey 1594 refcount_set(&mmkey->usecount, 1); 1603 if (refcount_dec_and_test(&mmkey->usecount)) 1611 wait_event(mmkey->wait, refcount_read(&mmkey->usecount) == 0);
|
H A D | mr.c | 1850 refcount_read(&mr->mmkey.usecount) != 0 &&
|
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-prv.h | 182 int usecount; member in struct:ipu_soc
|
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_msghandler.c | 324 struct kref usecount; member in struct:bmc_device 1215 * There is no module usecount here, because it's not 2976 rv = kref_get_unless_zero(&bmc->usecount); 2981 * Returns with the bmc's usecount incremented, if it is non-NULL. 3015 rv = kref_get_unless_zero(&bmc->usecount); 3020 * Returns with the bmc's usecount incremented, if it is non-NULL. 3062 struct bmc_device *bmc = container_of(ref, struct bmc_device, usecount); 3091 kref_put(&bmc->usecount, cleanup_bmc_device); 3141 * Note: old_bmc already has usecount incremented by 3182 kref_init(&bmc->usecount); [all...] |
/linux-master/drivers/video/fbdev/matrox/ |
H A D | matroxfb_base.h | 344 unsigned int usecount; member in struct:matrox_fb_info
|
H A D | matroxfb_base.c | 359 /* Currently we are holding big kernel lock on all dead & usecount updates. 368 if (minfo->usecount) { 396 minfo->usecount++; 414 if (!(--minfo->usecount) && minfo->dead) { 2081 minfo->usecount = 0;
|