/linux-6.12.1/drivers/soc/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() 167 ssp->use_count = 0; in pxa_ssp_probe()
|
/linux-6.12.1/drivers/gpu/ipu-v3/ |
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-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-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 | 66 int use_count; member 235 if (!priv->use_count) in ipu_dp_enable() 238 priv->use_count++; in ipu_dp_enable() 304 priv->use_count--; in ipu_dp_disable() 306 if (!priv->use_count) in ipu_dp_disable() 309 if (priv->use_count < 0) in ipu_dp_disable() 310 priv->use_count = 0; in ipu_dp_disable()
|
D | ipu-dc.c | 106 int use_count; member 237 if (!priv->use_count) in ipu_dc_enable() 240 priv->use_count++; in ipu_dc_enable() 272 priv->use_count--; in ipu_dc_disable() 273 if (!priv->use_count) in ipu_dc_disable() 276 if (priv->use_count < 0) in ipu_dc_disable() 277 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-6.12.1/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-6.12.1/include/trace/events/ |
D | sof.h | 23 __field(int, use_count) 27 __entry->use_count = swidget->use_count; 29 TP_printk("name=%s use_count=%d", __get_str(name), __entry->use_count)
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 466 use += entity->use_count; in pipeline_pm_use_count() 491 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in pipeline_pm_power_one() 497 entity->use_count += change; in pipeline_pm_power_one() 498 WARN_ON(entity->use_count < 0); in pipeline_pm_power_one() 500 if (entity->use_count == 0 && change < 0 && subdev != NULL) in pipeline_pm_power_one() 553 entity->use_count += change; in v4l2_pipeline_pm_use() 554 WARN_ON(entity->use_count < 0); in v4l2_pipeline_pm_use() 559 entity->use_count -= change; in v4l2_pipeline_pm_use()
|
/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_debugfs.c | 23 int use_count; in debugfs_usecount_show() local 25 use_count = vchiq_instance_get_use_count(instance); in debugfs_usecount_show() 26 seq_printf(f, "%d\n", use_count); in debugfs_usecount_show()
|
/linux-6.12.1/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-6.12.1/drivers/gpio/ |
D | gpio-spear-spics.c | 49 unsigned long use_count; member 96 if (!spics->use_count++) { in spics_request() 111 if (!--spics->use_count) { in spics_free()
|
/linux-6.12.1/fs/btrfs/ |
D | transaction.c | 141 WARN_ON(refcount_read(&transaction->use_count) == 0); in btrfs_put_transaction() 142 if (refcount_dec_and_test(&transaction->use_count)) { in btrfs_put_transaction() 285 refcount_inc(&cur_trans->use_count); in join_transaction() 346 refcount_set(&cur_trans->use_count, 2); in join_transaction() 522 refcount_inc(&cur_trans->use_count); in wait_current_trans() 611 refcount_inc(&h->use_count); in start_transaction() 612 WARN_ON(refcount_read(&h->use_count) > 2); in start_transaction() 715 refcount_set(&h->use_count, 1); in start_transaction() 931 refcount_inc(&commit->use_count); in wait_for_commit() 951 refcount_inc(&cur_trans->use_count); in btrfs_wait_for_commit() [all …]
|
/linux-6.12.1/drivers/iio/ |
D | industrialio-trigger.c | 184 if (atomic_dec_and_test(&trig->use_count) && trig->ops && in iio_trigger_notify_done_atomic() 199 if (!atomic_read(&trig->use_count)) { in iio_trigger_poll() 200 atomic_set(&trig->use_count, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in iio_trigger_poll() 230 if (!atomic_read(&trig->use_count)) { in iio_trigger_poll_nested() 231 atomic_set(&trig->use_count, CONFIG_IIO_CONSUMERS_PER_TRIGGER); in iio_trigger_poll_nested() 245 if (atomic_dec_and_test(&trig->use_count) && trig->ops && in iio_trigger_notify_done()
|
/linux-6.12.1/drivers/gpu/drm/panfrost/ |
D | panfrost_gpu.c | 98 if (drm_WARN_ON(pfdev->ddev, atomic_read(&pfdev->cycle_counter.use_count) != 0)) in panfrost_gpu_soft_reset() 99 atomic_set(&pfdev->cycle_counter.use_count, 0); in panfrost_gpu_soft_reset() 351 if (atomic_inc_not_zero(&pfdev->cycle_counter.use_count)) in panfrost_cycle_counter_get() 355 if (atomic_inc_return(&pfdev->cycle_counter.use_count) == 1) in panfrost_cycle_counter_get() 362 if (atomic_add_unless(&pfdev->cycle_counter.use_count, -1, 1)) in panfrost_cycle_counter_put() 366 if (atomic_dec_return(&pfdev->cycle_counter.use_count) == 0) in panfrost_cycle_counter_put()
|
/linux-6.12.1/drivers/input/ |
D | input-mt.c | 199 void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count) in input_mt_report_pointer_emulation() argument 227 if (use_count) { in input_mt_report_pointer_emulation() 336 bool use_count = false; in input_mt_sync_frame() local 350 use_count = true; in input_mt_sync_frame() 352 input_mt_report_pointer_emulation(dev, use_count); in input_mt_sync_frame()
|
/linux-6.12.1/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_du_group.c | 207 if (rgrp->use_count) in rcar_du_group_get() 213 rgrp->use_count++; in rcar_du_group_get() 224 --rgrp->use_count; in rcar_du_group_put()
|
D | rcar_du_group.h | 43 unsigned int use_count; member
|
/linux-6.12.1/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-6.12.1/drivers/scsi/elx/efct/ |
D | efct_hw.h | 478 u32 use_count; member 490 u32 use_count; member 508 u32 use_count; member 534 u32 use_count; member 544 u32 use_count; member
|
/linux-6.12.1/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-6.12.1/drivers/mfd/ |
D | mcp-core.c | 138 if (mcp->use_count++ == 0) in mcp_enable() 157 if (--mcp->use_count == 0) in mcp_disable()
|
/linux-6.12.1/sound/soc/sof/ |
D | sof-audio.c | 58 if (--swidget->use_count) in sof_widget_free_unlocked() 150 if (++swidget->use_count > 1) in sof_widget_setup_unlocked() 236 swidget->use_count--; in sof_widget_setup_unlocked() 381 if (!swidget->use_count) { in sof_setup_pipeline_connections() 418 if (!swidget || !swidget->prepared || swidget->use_count > 0) in sof_unprepare_widgets_in_path() 488 swidget && swidget->prepared && swidget->use_count == 0) { in sof_prepare_widgets_in_path()
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | hotplug-cpu.c | 630 unsigned int use_count = 0; in pseries_cpuhp_cache_use_count() local 639 use_count++; in pseries_cpuhp_cache_use_count() 646 use_count++; in pseries_cpuhp_cache_use_count() 649 return use_count; in pseries_cpuhp_cache_use_count()
|