/Linux-v5.10/arch/arm/plat-pxa/ |
D | ssp.c | 45 if (ssp->port_id == port && ssp->use_count == 0) { in pxa_ssp_request() 46 ssp->use_count++; in pxa_ssp_request() 69 if (ssp->of_node == of_node && ssp->use_count == 0) { in pxa_ssp_request_of() 70 ssp->use_count++; in pxa_ssp_request_of() 88 if (ssp->use_count) { in pxa_ssp_free() 89 ssp->use_count--; in pxa_ssp_free() 169 ssp->use_count = 0; in pxa_ssp_probe()
|
/Linux-v5.10/drivers/gpu/ipu-v3/ |
D | ipu-smfc.c | 28 int use_count; member 103 if (!priv->use_count) in ipu_smfc_enable() 106 priv->use_count++; in ipu_smfc_enable() 121 priv->use_count--; in ipu_smfc_disable() 123 if (!priv->use_count) in ipu_smfc_disable() 126 if (priv->use_count < 0) in ipu_smfc_disable() 127 priv->use_count = 0; in ipu_smfc_disable()
|
D | ipu-dmfc.c | 98 int use_count; member 106 if (!priv->use_count) in ipu_dmfc_enable_channel() 109 priv->use_count++; in ipu_dmfc_enable_channel() 123 priv->use_count--; in ipu_dmfc_disable_channel() 125 if (!priv->use_count) in ipu_dmfc_disable_channel() 128 if (priv->use_count < 0) in ipu_dmfc_disable_channel() 129 priv->use_count = 0; in ipu_dmfc_disable_channel()
|
D | ipu-vdi.c | 13 int use_count; member 170 if (!vdi->use_count) in ipu_vdi_enable() 173 vdi->use_count++; in ipu_vdi_enable() 187 if (vdi->use_count) { in ipu_vdi_disable() 188 if (!--vdi->use_count) in ipu_vdi_disable()
|
D | ipu-dp.c | 65 int use_count; member 216 if (!priv->use_count) in ipu_dp_enable() 219 priv->use_count++; in ipu_dp_enable() 285 priv->use_count--; in ipu_dp_disable() 287 if (!priv->use_count) in ipu_dp_disable() 290 if (priv->use_count < 0) in ipu_dp_disable() 291 priv->use_count = 0; in ipu_dp_disable()
|
D | ipu-dc.c | 106 int use_count; member 232 if (!priv->use_count) in ipu_dc_enable() 235 priv->use_count++; in ipu_dc_enable() 267 priv->use_count--; in ipu_dc_disable() 268 if (!priv->use_count) in ipu_dc_disable() 271 if (priv->use_count < 0) in ipu_dc_disable() 272 priv->use_count = 0; in ipu_dc_disable()
|
D | ipu-ic.c | 159 int use_count; member 619 if (!priv->use_count) in ipu_ic_enable() 622 priv->use_count++; in ipu_ic_enable() 640 priv->use_count--; in ipu_ic_disable() 642 if (!priv->use_count) in ipu_ic_disable() 645 if (priv->use_count < 0) in ipu_ic_disable() 646 priv->use_count = 0; in ipu_ic_disable()
|
/Linux-v5.10/sound/soc/sh/ |
D | migor.c | 26 static unsigned int use_count; variable 74 use_count++; in migor_hw_params() 84 if (use_count) { in migor_hw_free() 85 use_count--; in migor_hw_free() 87 if (!use_count) in migor_hw_free()
|
/Linux-v5.10/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 443 use += entity->use_count; in pipeline_pm_use_count() 468 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in pipeline_pm_power_one() 474 entity->use_count += change; in pipeline_pm_power_one() 475 WARN_ON(entity->use_count < 0); in pipeline_pm_power_one() 477 if (entity->use_count == 0 && change < 0 && subdev != NULL) in pipeline_pm_power_one() 530 entity->use_count += change; in v4l2_pipeline_pm_use() 531 WARN_ON(entity->use_count < 0); in v4l2_pipeline_pm_use() 536 entity->use_count -= change; in v4l2_pipeline_pm_use()
|
D | v4l2-clk.c | 66 atomic_inc(&clk->use_count); in v4l2_clk_get() 90 atomic_dec(&clk->use_count); in v4l2_clk_put() 246 atomic_set(&clk->use_count, 0); in v4l2_clk_register() 270 if (WARN(atomic_read(&clk->use_count), in v4l2_clk_unregister()
|
/Linux-v5.10/drivers/misc/sgi-xp/ |
D | xpnet.c | 97 atomic_t use_count; member 353 if (atomic_dec_return(&queued_msg->use_count) == 0) { in xpnet_send_completed() 394 atomic_inc(&queued_msg->use_count); in xpnet_send() 399 atomic_dec(&queued_msg->use_count); in xpnet_send() 461 atomic_set(&queued_msg->use_count, 1); in xpnet_dev_hard_start_xmit() 488 if (atomic_dec_return(&queued_msg->use_count) == 0) { in xpnet_dev_hard_start_xmit()
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-spear-spics.c | 52 unsigned long use_count; member 99 if (!spics->use_count++) { in spics_request() 114 if (!--spics->use_count) { in spics_free()
|
/Linux-v5.10/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_debugfs.c | 121 int use_count; in debugfs_usecount_show() local 123 use_count = vchiq_instance_get_use_count(instance); in debugfs_usecount_show() 124 seq_printf(f, "%d\n", use_count); in debugfs_usecount_show()
|
/Linux-v5.10/drivers/input/ |
D | input-mt.c | 195 void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count) in input_mt_report_pointer_emulation() argument 223 if (use_count) { in input_mt_report_pointer_emulation() 298 bool use_count = false; in input_mt_sync_frame() local 307 use_count = true; in input_mt_sync_frame() 309 input_mt_report_pointer_emulation(dev, use_count); in input_mt_sync_frame()
|
/Linux-v5.10/fs/btrfs/ |
D | transaction.c | 120 WARN_ON(refcount_read(&transaction->use_count) == 0); in btrfs_put_transaction() 121 if (refcount_dec_and_test(&transaction->use_count)) { in btrfs_put_transaction() 255 refcount_inc(&cur_trans->use_count); in join_transaction() 306 refcount_set(&cur_trans->use_count, 2); in join_transaction() 481 refcount_inc(&cur_trans->use_count); in wait_current_trans() 541 refcount_inc(&h->use_count); in start_transaction() 542 WARN_ON(refcount_read(&h->use_count) > 2); in start_transaction() 649 refcount_set(&h->use_count, 1); in start_transaction() 810 refcount_inc(&cur_trans->use_count); in btrfs_wait_for_commit() 839 refcount_inc(&cur_trans->use_count); in btrfs_wait_for_commit() [all …]
|
D | transaction.h | 40 refcount_t use_count; member 125 refcount_t use_count; member
|
/Linux-v5.10/drivers/gpu/drm/rcar-du/ |
D | rcar_du_group.c | 193 if (rgrp->use_count) in rcar_du_group_get() 199 rgrp->use_count++; in rcar_du_group_get() 210 --rgrp->use_count; in rcar_du_group_put()
|
D | rcar_du_group.h | 43 unsigned int use_count; member
|
/Linux-v5.10/drivers/iio/ |
D | industrialio-trigger.c | 166 if (!atomic_read(&trig->use_count)) { in iio_trigger_poll() 167 atomic_set(&trig->use_count, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in iio_trigger_poll() 190 if (!atomic_read(&trig->use_count)) { in iio_trigger_poll_chained() 191 atomic_set(&trig->use_count, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in iio_trigger_poll_chained() 205 if (atomic_dec_and_test(&trig->use_count) && trig->ops && in iio_trigger_notify_done()
|
/Linux-v5.10/drivers/ps3/ |
D | ps3-vuart.c | 865 int use_count; member 908 vuart_bus_priv.use_count++; in ps3_vuart_bus_interrupt_get() 910 BUG_ON(vuart_bus_priv.use_count > 2); in ps3_vuart_bus_interrupt_get() 912 if (vuart_bus_priv.use_count != 1) in ps3_vuart_bus_interrupt_get() 953 vuart_bus_priv.use_count--; in ps3_vuart_bus_interrupt_get() 962 vuart_bus_priv.use_count--; in ps3_vuart_bus_interrupt_put() 964 BUG_ON(vuart_bus_priv.use_count < 0); in ps3_vuart_bus_interrupt_put() 966 if (vuart_bus_priv.use_count != 0) in ps3_vuart_bus_interrupt_put()
|
/Linux-v5.10/drivers/acpi/acpica/ |
D | utmutex.c | 144 acpi_gbl_mutex_info[mutex_id].use_count = 0; in acpi_ut_create_mutex() 249 acpi_gbl_mutex_info[mutex_id].use_count++; in acpi_ut_acquire_mutex()
|
/Linux-v5.10/drivers/mfd/ |
D | mcp-core.c | 139 if (mcp->use_count++ == 0) in mcp_enable() 158 if (--mcp->use_count == 0) in mcp_disable()
|
/Linux-v5.10/drivers/media/platform/xilinx/ |
D | xilinx-dma.h | 41 unsigned int use_count; member
|
/Linux-v5.10/sound/usb/ |
D | endpoint.c | 1061 if (ep->use_count != 0) { in snd_usb_endpoint_set_params() 1148 if (++ep->use_count != 1) in snd_usb_endpoint_start() 1205 ep->use_count--; in snd_usb_endpoint_start() 1229 if (snd_BUG_ON(ep->use_count == 0)) in snd_usb_endpoint_stop() 1232 if (--ep->use_count == 0) { in snd_usb_endpoint_stop() 1253 if (ep->use_count != 0) in snd_usb_endpoint_deactivate() 1312 ep->use_count != 0) { in snd_usb_handle_sync_urb()
|
/Linux-v5.10/include/linux/mfd/ |
D | mcp.h | 18 int use_count; member
|