/linux-5.19.10/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() 312 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-5.19.10/drivers/gpu/drm/vc4/ |
D | vc4_hdmi_phy.c | 139 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_init() 144 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_init() 151 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_disable() 153 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_disable() 160 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_enable() 164 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_enable() 171 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_disable() 175 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_disable() 357 lockdep_assert_held(&vc4_hdmi->hw_lock); in vc5_hdmi_reset_phy() 376 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_phy_init() [all …]
|
D | vc4_hdmi.c | 167 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_reset() 181 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_reset() 190 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_reset() 197 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_reset() 208 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_cec_update_clk_div() 221 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_cec_update_clk_div() 449 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_stop_packet() 452 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_stop_packet() 492 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_write_infoframe() 519 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_write_infoframe() [all …]
|
D | vc4_hdmi.h | 193 spinlock_t hw_lock; member
|
/linux-5.19.10/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-5.19.10/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() 269 spin_lock_irqsave(&ctl->hw_lock, flags); in mdp5_ctl_set_cursor() 281 spin_unlock_irqrestore(&ctl->hw_lock, flags); in mdp5_ctl_set_cursor() 337 spin_lock_irqsave(&ctl->hw_lock, flags); in mdp5_ctl_reset_blend_regs() 344 spin_unlock_irqrestore(&ctl->hw_lock, flags); in mdp5_ctl_reset_blend_regs() 389 spin_lock_irqsave(&ctl->hw_lock, flags); in mdp5_ctl_blend() [all …]
|
/linux-5.19.10/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-5.19.10/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() 240 mutex_lock(&priv->hw_lock); in ark3116_set_termios() 283 mutex_unlock(&priv->hw_lock); in ark3116_set_termios() 382 mutex_lock(&priv->hw_lock); in ark3116_tiocmget() 384 mutex_unlock(&priv->hw_lock); in ark3116_tiocmget() 410 mutex_lock(&priv->hw_lock); in ark3116_tiocmset() 431 mutex_unlock(&priv->hw_lock); in ark3116_tiocmset() 442 mutex_lock(&priv->hw_lock); in ark3116_break_ctl() [all …]
|
/linux-5.19.10/drivers/crypto/ccree/ |
D | cc_request_mgr.c | 28 spinlock_t hw_lock; member 127 spin_lock_init(&req_mgr_h->hw_lock); in cc_req_mgr_init() 374 spin_lock(&mgr->hw_lock); in cc_proc_backlog() 383 spin_unlock(&mgr->hw_lock); in cc_proc_backlog() 389 spin_unlock(&mgr->hw_lock); in cc_proc_backlog() 418 spin_lock_bh(&mgr->hw_lock); in cc_send_request() 427 spin_unlock_bh(&mgr->hw_lock); in cc_send_request() 448 spin_unlock_bh(&mgr->hw_lock); in cc_send_request() 471 spin_lock_bh(&mgr->hw_lock); in cc_send_sync_request() 477 spin_unlock_bh(&mgr->hw_lock); in cc_send_sync_request() [all …]
|
/linux-5.19.10/drivers/scsi/ |
D | vmw_pvscsi.c | 73 spinlock_t hw_lock; member 782 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_queue_lck() 788 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_queue_lck() 797 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_queue_lck() 818 spin_lock_irqsave(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 843 spin_unlock_irqrestore(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 846 spin_lock_irqsave(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 868 spin_unlock_irqrestore(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 906 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_host_reset() 912 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_host_reset() [all …]
|
/linux-5.19.10/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-5.19.10/drivers/gpu/drm/i915/gt/ |
D | mock_engine.c | 115 spin_lock_irqsave(&engine->hw_lock, flags); in hw_delay_complete() 136 spin_unlock_irqrestore(&engine->hw_lock, flags); in hw_delay_complete() 244 spin_lock_irqsave(&engine->hw_lock, flags); in mock_submit_request() 253 spin_unlock_irqrestore(&engine->hw_lock, flags); in mock_submit_request() 384 spin_lock_init(&engine->hw_lock); in mock_engine() 437 spin_lock_irq(&mock->hw_lock); in mock_engine_flush() 440 spin_unlock_irq(&mock->hw_lock); in mock_engine_flush()
|
D | mock_engine.h | 18 spinlock_t hw_lock; member
|
/linux-5.19.10/drivers/net/ethernet/mediatek/ |
D | mtk_wed.c | 30 static DEFINE_MUTEX(hw_lock); 272 mutex_lock(&hw_lock); in mtk_wed_detach() 296 mutex_unlock(&hw_lock); in mtk_wed_detach() 602 mutex_lock(&hw_lock); in mtk_wed_attach() 632 mutex_unlock(&hw_lock); in mtk_wed_attach() 746 mutex_lock(&hw_lock); in mtk_wed_flow_add() 758 mutex_unlock(&hw_lock); in mtk_wed_flow_add() 773 mutex_lock(&hw_lock); in mtk_wed_flow_remove() 781 mutex_unlock(&hw_lock); in mtk_wed_flow_remove() 824 mutex_lock(&hw_lock); in mtk_wed_add_hw() [all …]
|
/linux-5.19.10/drivers/net/ethernet/qlogic/ |
D | qla3xxx.c | 180 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_read_common_reg_l() 182 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_read_common_reg_l() 197 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_read_page0_reg_l() 203 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_read_page0_reg_l() 219 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_write_common_reg_l() 222 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-5.19.10/drivers/media/platform/samsung/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-5.19.10/drivers/scsi/qla2xxx/ |
D | qla_nx.c | 445 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_wr_32() 456 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_wr_32() 476 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_rd_32() 486 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_rd_32() 659 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 668 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 676 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 692 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 711 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 731 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_write_direct() [all …]
|
/linux-5.19.10/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() 701 mutex_init(&go->hw_lock); in go7007_alloc()
|
/linux-5.19.10/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 418 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_wr_32() 427 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_wr_32() 442 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_rd_32() 450 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_rd_32() 713 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 722 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 730 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 747 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 767 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_82xx_pci_mem_read_direct() 786 write_lock_irqsave(&ha->hw_lock, flags); in qla4_82xx_pci_mem_write_direct() [all …]
|
/linux-5.19.10/include/drm/ |
D | drm_auth.h | 45 struct drm_hw_lock *hw_lock; member
|
D | drm_legacy.h | 196 if (!_DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock) || \ 199 __func__, _DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock),\
|
/linux-5.19.10/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_core.h | 93 spinlock_t hw_lock; member
|
/linux-5.19.10/drivers/media/platform/nxp/imx-jpeg/ |
D | mxc-jpeg.h | 112 spinlock_t hw_lock; /* hardware access lock */ member
|