/Linux-v5.4/drivers/gpu/drm/ |
D | drm_lock.c | 63 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take() 112 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer() 127 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_legacy_lock_free() 185 master->lock.hw_lock ? master->lock.hw_lock->lock : -1, in drm_legacy_lock() 195 if (!master->lock.hw_lock) { in drm_legacy_lock() 231 dev->sigdata.lock = master->lock.hw_lock; in drm_legacy_lock() 313 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_legacy_idlelock_release() 334 return (file_priv->lock_count && master->lock.hw_lock && in drm_legacy_i_have_hw_lock() 335 _DRM_LOCK_IS_HELD(master->lock.hw_lock->lock) && in drm_legacy_i_have_hw_lock() 349 filp, _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); in drm_legacy_lock_release() [all …]
|
/Linux-v5.4/sound/soc/sof/ |
D | ops.c | 44 spin_lock_irqsave(&sdev->hw_lock, flags); in snd_sof_pci_update_bits() 46 spin_unlock_irqrestore(&sdev->hw_lock, flags); in snd_sof_pci_update_bits() 96 spin_lock_irqsave(&sdev->hw_lock, flags); in snd_sof_dsp_update_bits() 99 spin_unlock_irqrestore(&sdev->hw_lock, flags); in snd_sof_dsp_update_bits() 110 spin_lock_irqsave(&sdev->hw_lock, flags); in snd_sof_dsp_update_bits64() 113 spin_unlock_irqrestore(&sdev->hw_lock, flags); in snd_sof_dsp_update_bits64() 139 spin_lock_irqsave(&sdev->hw_lock, flags); in snd_sof_dsp_update_bits_forced() 141 spin_unlock_irqrestore(&sdev->hw_lock, flags); in snd_sof_dsp_update_bits_forced()
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_ctl.c | 41 spinlock_t hw_lock; member 163 spin_lock_irqsave(&ctl->hw_lock, flags); in set_ctl_op() 165 spin_unlock_irqrestore(&ctl->hw_lock, flags); in set_ctl_op() 211 spin_lock_irqsave(&ctl->hw_lock, flags); in send_start_signal() 213 spin_unlock_irqrestore(&ctl->hw_lock, flags); in send_start_signal() 267 spin_lock_irqsave(&ctl->hw_lock, flags); in mdp5_ctl_set_cursor() 279 spin_unlock_irqrestore(&ctl->hw_lock, flags); in mdp5_ctl_set_cursor() 335 spin_lock_irqsave(&ctl->hw_lock, flags); in mdp5_ctl_reset_blend_regs() 342 spin_unlock_irqrestore(&ctl->hw_lock, flags); in mdp5_ctl_reset_blend_regs() 387 spin_lock_irqsave(&ctl->hw_lock, flags); in mdp5_ctl_blend() [all …]
|
/Linux-v5.4/drivers/crypto/ccree/ |
D | cc_request_mgr.c | 28 spinlock_t hw_lock; member 129 spin_lock_init(&req_mgr_h->hw_lock); in cc_req_mgr_init() 380 spin_lock(&mgr->hw_lock); in cc_proc_backlog() 389 spin_unlock(&mgr->hw_lock); in cc_proc_backlog() 396 spin_unlock(&mgr->hw_lock); in cc_proc_backlog() 429 spin_lock_bh(&mgr->hw_lock); in cc_send_request() 438 spin_unlock_bh(&mgr->hw_lock); in cc_send_request() 457 spin_unlock_bh(&mgr->hw_lock); in cc_send_request() 480 spin_lock_bh(&mgr->hw_lock); in cc_send_sync_request() 486 spin_unlock_bh(&mgr->hw_lock); in cc_send_sync_request() [all …]
|
/Linux-v5.4/drivers/media/rc/ |
D | ene_ir.c | 535 spin_lock_irqsave(&dev->hw_lock, flags); in ene_tx_set_carrier() 556 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_tx_set_carrier() 564 spin_lock_irqsave(&dev->hw_lock, flags); in ene_tx_set_transmitters() 569 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_tx_set_transmitters() 668 spin_lock_irqsave(&dev->hw_lock, flags); in ene_tx_irqsim() 670 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_tx_irqsim() 728 spin_lock_irqsave(&dev->hw_lock, flags); in ene_isr() 808 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_isr() 841 spin_lock_irqsave(&dev->hw_lock, flags); in ene_open() 843 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_open() [all …]
|
D | ene_ir.h | 188 spinlock_t hw_lock; member
|
/Linux-v5.4/drivers/gpu/drm/i915/gt/ |
D | mock_engine.c | 88 spin_lock_irqsave(&engine->hw_lock, flags); in hw_delay_complete() 109 spin_unlock_irqrestore(&engine->hw_lock, flags); in hw_delay_complete() 193 spin_lock_irqsave(&engine->hw_lock, flags); in mock_submit_request() 202 spin_unlock_irqrestore(&engine->hw_lock, flags); in mock_submit_request() 269 spin_lock_init(&engine->hw_lock); in mock_engine() 308 spin_lock_irq(&mock->hw_lock); in mock_engine_flush() 311 spin_unlock_irq(&mock->hw_lock); in mock_engine_flush()
|
D | mock_engine.h | 37 spinlock_t hw_lock; member
|
/Linux-v5.4/drivers/usb/serial/ |
D | ark3116.c | 63 struct mutex hw_lock; member 133 mutex_init(&priv->hw_lock); in ark3116_port_probe() 186 mutex_destroy(&priv->hw_lock); in ark3116_port_remove() 256 mutex_lock(&priv->hw_lock); in ark3116_set_termios() 299 mutex_unlock(&priv->hw_lock); in ark3116_set_termios() 410 mutex_lock(&priv->hw_lock); in ark3116_tiocmget() 412 mutex_unlock(&priv->hw_lock); in ark3116_tiocmget() 438 mutex_lock(&priv->hw_lock); in ark3116_tiocmset() 459 mutex_unlock(&priv->hw_lock); in ark3116_tiocmset() 470 mutex_lock(&priv->hw_lock); in ark3116_break_ctl() [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/selftests/ |
D | mock_request.c | 50 spin_lock_irq(&engine->hw_lock); in mock_cancel_request() 53 spin_unlock_irq(&engine->hw_lock); in mock_cancel_request()
|
/Linux-v5.4/drivers/scsi/ |
D | vmw_pvscsi.c | 75 spinlock_t hw_lock; member 768 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_queue_lck() 774 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_queue_lck() 784 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_queue_lck() 805 spin_lock_irqsave(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 830 spin_unlock_irqrestore(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 833 spin_lock_irqsave(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 855 spin_unlock_irqrestore(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 892 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_host_reset() 898 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_host_reset() [all …]
|
/Linux-v5.4/drivers/net/ethernet/qlogic/ |
D | qla3xxx.c | 181 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_read_common_reg_l() 183 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_read_common_reg_l() 198 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_read_page0_reg_l() 204 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_read_page0_reg_l() 220 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_write_common_reg_l() 223 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_write_common_reg_l() 526 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_get_nvram_params() 534 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_get_nvram_params() 548 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_get_nvram_params() 552 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_get_nvram_params() [all …]
|
/Linux-v5.4/drivers/staging/isdn/hysdn/ |
D | boardergo.c | 60 if (!card->hw_lock) in ergo_interrupt() 87 if (card->hw_lock) { in ergo_irq_bh() 91 card->hw_lock = 1; /* we now lock the hardware */ in ergo_irq_bh() 117 card->hw_lock = 0; /* free hardware again */ in ergo_irq_bh()
|
D | hysdn_defs.h | 169 unsigned char volatile hw_lock;/* hardware is currently locked -> no access */ member
|
/Linux-v5.4/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 148 if (test_bit(0, &dev->hw_lock)) in s5p_mfc_watchdog() 194 clear_bit(0, &dev->hw_lock); in s5p_mfc_watchdog_worker() 383 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_frame() 455 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_frame() 496 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_error() 552 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_seq_done() 587 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_init_buffers() 594 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_init_buffers() 622 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_stream_complete() 675 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_irq() [all …]
|
/Linux-v5.4/include/drm/ |
D | drm_legacy.h | 179 if (!_DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock) || \ 182 __func__, _DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock),\
|
D | drm_auth.h | 45 struct drm_hw_lock *hw_lock; member
|
/Linux-v5.4/drivers/scsi/qla2xxx/ |
D | qla_nx.c | 487 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_wr_32() 498 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_wr_32() 518 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_rd_32() 528 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_rd_32() 704 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 713 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 721 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 737 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 756 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 776 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_write_direct() [all …]
|
/Linux-v5.4/drivers/media/usb/go7007/ |
D | go7007-i2c.c | 57 mutex_lock(&go->hw_lock); in go7007_i2c_xfer() 124 mutex_unlock(&go->hw_lock); in go7007_i2c_xfer()
|
D | go7007-driver.c | 130 mutex_lock(&go->hw_lock); in go7007_boot_encoder() 132 mutex_unlock(&go->hw_lock); in go7007_boot_encoder() 261 mutex_lock(&go->hw_lock); in go7007_register_encoder() 263 mutex_unlock(&go->hw_lock); in go7007_register_encoder() 705 mutex_init(&go->hw_lock); in go7007_alloc()
|
/Linux-v5.4/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 390 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_wr_32() 399 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_wr_32() 414 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_rd_32() 422 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_rd_32() 723 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 732 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 740 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 757 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 777 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 796 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_pci_mem_write_direct() [all …]
|
/Linux-v5.4/drivers/crypto/ |
D | picoxcell_crypto.c | 105 spinlock_t hw_lock; member 653 spin_lock_irqsave(&engine->hw_lock, flags); in spacc_aead_setup() 658 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_aead_setup() 666 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_aead_setup() 978 spin_lock_irqsave(&engine->hw_lock, flags); in spacc_ablk_setup() 988 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_ablk_setup() 996 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_ablk_setup() 1074 spin_lock_irqsave(&engine->hw_lock, flags); in spacc_process_done() 1114 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_process_done() 1152 spin_lock_irqsave(&engine->hw_lock, flags); in spacc_spacc_complete() [all …]
|
/Linux-v5.4/sound/soc/sof/intel/ |
D | hda-ipc.c | 245 spin_lock(&sdev->hw_lock); in hda_dsp_ipc_irq_handler() 265 spin_unlock(&sdev->hw_lock); in hda_dsp_ipc_irq_handler()
|
/Linux-v5.4/drivers/media/platform/mtk-jpeg/ |
D | mtk_jpeg_core.h | 54 spinlock_t hw_lock; member
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.h | 466 spinlock_t hw_lock; member 635 spin_lock(&dev_priv->hw_lock); in vmw_write() 638 spin_unlock(&dev_priv->hw_lock); in vmw_write() 646 spin_lock(&dev_priv->hw_lock); in vmw_read() 649 spin_unlock(&dev_priv->hw_lock); in vmw_read()
|