/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A 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 in drm_legacy_i_have_hw_lock() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A 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 in drm_legacy_i_have_hw_lock() [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A 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()
|
/kernel/linux/linux-6.6/sound/soc/sof/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A 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, flag in vc5_hdmi_phy_init() [all...] |
H A D | vc4_hdmi.c | 209 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_reset() 223 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_reset() 244 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_reset() 251 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc5_hdmi_reset() 278 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_cec_update_clk_div() 291 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_cec_update_clk_div() 784 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_stop_packet() 787 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_stop_packet() 834 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_write_infoframe() 861 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flag in vc4_hdmi_write_infoframe() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A 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, flag in mdp5_ctl_blend() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/ |
H A 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, flag in mdp5_ctl_blend() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_request_mgr.c | 28 spinlock_t hw_lock; member 128 spin_lock_init(&req_mgr_h->hw_lock); in cc_req_mgr_init() 375 spin_lock(&mgr->hw_lock); in cc_proc_backlog() 384 spin_unlock(&mgr->hw_lock); in cc_proc_backlog() 390 spin_unlock(&mgr->hw_lock); in cc_proc_backlog() 419 spin_lock_bh(&mgr->hw_lock); in cc_send_request() 428 spin_unlock_bh(&mgr->hw_lock); in cc_send_request() 449 spin_unlock_bh(&mgr->hw_lock); in cc_send_request() 472 spin_lock_bh(&mgr->hw_lock); in cc_send_sync_request() 478 spin_unlock_bh(&mgr->hw_lock); in cc_send_sync_request() [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A 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...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A 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() 443 mutex_lock(&priv->hw_lock); in ark3116_break_ctl() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ccree/ |
H A 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...] |
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A 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() 607 /* TX one sample - must be called with dev->hw_lock*/ 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, flag in ene_open() [all...] |
/kernel/linux/linux-6.6/drivers/media/rc/ |
H A 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() 607 /* TX one sample - must be called with dev->hw_lock*/ 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, flag in ene_open() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | mock_engine.c | 106 spin_lock_irqsave(&engine->hw_lock, flags); in hw_delay_complete() 127 spin_unlock_irqrestore(&engine->hw_lock, flags); in hw_delay_complete() 227 spin_lock_irqsave(&engine->hw_lock, flags); in mock_submit_request() 236 spin_unlock_irqrestore(&engine->hw_lock, flags); in mock_submit_request() 324 spin_lock_init(&engine->hw_lock); in mock_engine() 369 spin_lock_irq(&mock->hw_lock); in mock_engine_flush() 372 spin_unlock_irq(&mock->hw_lock); in mock_engine_flush()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | vmw_pvscsi.c | 75 spinlock_t hw_lock; member 790 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_queue_lck() 796 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_queue_lck() 806 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_queue_lck() 827 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_abort() 852 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_abort() 855 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_abort() 877 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_abort() 915 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_host_reset() 921 spin_unlock_irqrestore(&adapter->hw_lock, flag in pvscsi_host_reset() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A 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 pvscsi_abort() 843 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_abort() 846 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_abort() 868 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_abort() 906 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_host_reset() 912 spin_unlock_irqrestore(&adapter->hw_lock, flag in pvscsi_host_reset() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_core.h | 149 * @hw_lock: spinlock protecting the hw device resource 162 spinlock_t hw_lock; member 176 * @hw_lock: spinlock protecting hw 189 spinlock_t hw_lock; member 195 * @hw_lock: spinlock protecting the hw device resource 215 spinlock_t hw_lock; member
|
H A D | mtk_jpeg_core.c | 958 spin_lock_irqsave(&jpeg->hw_lock, flags); in mtk_jpeg_enc_device_run() 970 spin_unlock_irqrestore(&jpeg->hw_lock, flags); in mtk_jpeg_enc_device_run() 1031 spin_lock_irqsave(&jpeg->hw_lock, flags); in mtk_jpeg_dec_device_run() 1039 spin_unlock_irqrestore(&jpeg->hw_lock, flags); in mtk_jpeg_dec_device_run() 1309 spin_lock_init(&jpeg->hw_lock); in mtk_jpeg_probe() 1464 spin_lock_irqsave(&jpeg->hw_lock, flags); in mtk_jpegenc_get_hw() 1473 spin_unlock_irqrestore(&jpeg->hw_lock, flags); in mtk_jpegenc_get_hw() 1496 spin_lock_irqsave(&jpeg->hw_lock, flags); in mtk_jpegenc_put_hw() 1498 spin_unlock_irqrestore(&jpeg->hw_lock, flags); in mtk_jpegenc_put_hw() 1511 spin_lock_irqsave(&jpeg->hw_lock, flag in mtk_jpegdec_get_hw() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 101 * Caller must take hw_lock. 142 * Caller holds hw_lock. 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() 250 * Caller holds hw_lock. Only called during init. 262 * Caller holds hw_lock [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 101 * Caller must take hw_lock. 142 * Caller holds hw_lock. 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() 250 * Caller holds hw_lock. Only called during init. 262 * Caller holds hw_lock [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_legacy.h | 181 if (!_DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock) || \ 184 __func__, _DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock),\
|