/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | mock_request.c | 50 spin_lock_irq(&engine->hw_lock); 53 spin_unlock_irq(&engine->hw_lock);
|
/linux-master/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-vpuapi.c | 21 ret = mutex_lock_interruptible(&vpu_dev->hw_lock); 38 mutex_unlock(&vpu_dev->hw_lock); 55 ret = mutex_lock_interruptible(&inst->dev->hw_lock); 68 mutex_unlock(&inst->dev->hw_lock); 74 mutex_unlock(&inst->dev->hw_lock); 78 mutex_unlock(&inst->dev->hw_lock); 88 ret = mutex_lock_interruptible(&vpu_dev->hw_lock); 102 mutex_unlock(&vpu_dev->hw_lock); 143 ret = mutex_lock_interruptible(&vpu_dev->hw_lock); 148 mutex_unlock(&vpu_dev->hw_lock); [all...] |
H A D | wave5-vpu.c | 150 mutex_init(&dev->hw_lock); 258 mutex_destroy(&dev->hw_lock);
|
/linux-master/sound/soc/sof/ |
H A D | ops.c | 44 spin_lock_irqsave(&sdev->hw_lock, flags); 46 spin_unlock_irqrestore(&sdev->hw_lock, flags); 96 spin_lock_irqsave(&sdev->hw_lock, flags); 99 spin_unlock_irqrestore(&sdev->hw_lock, flags); 110 spin_lock_irqsave(&sdev->hw_lock, flags); 113 spin_unlock_irqrestore(&sdev->hw_lock, flags); 139 spin_lock_irqsave(&sdev->hw_lock, flags); 141 spin_unlock_irqrestore(&sdev->hw_lock, flags);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | mock_engine.h | 18 spinlock_t hw_lock; member in struct:mock_engine
|
H A D | mock_engine.c | 115 spin_lock_irqsave(&engine->hw_lock, flags); 136 spin_unlock_irqrestore(&engine->hw_lock, flags); 244 spin_lock_irqsave(&engine->hw_lock, flags); 253 spin_unlock_irqrestore(&engine->hw_lock, flags); 384 spin_lock_init(&engine->hw_lock); 437 spin_lock_irq(&mock->hw_lock); 440 spin_unlock_irq(&mock->hw_lock);
|
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi_phy.c | 139 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 144 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); 151 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 153 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); 160 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 164 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); 171 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 175 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); 357 lockdep_assert_held(&vc4_hdmi->hw_lock); 376 spin_lock_irqsave(&vc4_hdmi->hw_lock, flag [all...] |
H A D | vc4_hdmi.c | 210 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 224 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); 245 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 252 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); 279 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 292 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); 795 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 798 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); 845 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); 872 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flag [all...] |
H A D | vc4_hdmi.h | 192 * @hw_lock: Spinlock protecting device register access. 194 spinlock_t hw_lock; member in struct:vc4_hdmi
|
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_ctl.c | 41 spinlock_t hw_lock; member in struct:mdp5_ctl 163 spin_lock_irqsave(&ctl->hw_lock, flags); 165 spin_unlock_irqrestore(&ctl->hw_lock, flags); 211 spin_lock_irqsave(&ctl->hw_lock, flags); 213 spin_unlock_irqrestore(&ctl->hw_lock, flags); 269 spin_lock_irqsave(&ctl->hw_lock, flags); 281 spin_unlock_irqrestore(&ctl->hw_lock, flags); 337 spin_lock_irqsave(&ctl->hw_lock, flags); 344 spin_unlock_irqrestore(&ctl->hw_lock, flags); 389 spin_lock_irqsave(&ctl->hw_lock, flag [all...] |
/linux-master/drivers/media/rc/ |
H A D | ene_ir.c | 535 spin_lock_irqsave(&dev->hw_lock, flags); 556 spin_unlock_irqrestore(&dev->hw_lock, flags); 564 spin_lock_irqsave(&dev->hw_lock, flags); 569 spin_unlock_irqrestore(&dev->hw_lock, flags); 607 /* TX one sample - must be called with dev->hw_lock*/ 668 spin_lock_irqsave(&dev->hw_lock, flags); 670 spin_unlock_irqrestore(&dev->hw_lock, flags); 728 spin_lock_irqsave(&dev->hw_lock, flags); 808 spin_unlock_irqrestore(&dev->hw_lock, flags); 841 spin_lock_irqsave(&dev->hw_lock, flag [all...] |
H A D | ene_ir.h | 188 spinlock_t hw_lock; member in struct:ene_device
|
/linux-master/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_core.h | 148 * @hw_lock: spinlock protecting the hw device resource 161 spinlock_t hw_lock; member in struct:mtk_jpegenc_comp_dev 175 * @hw_lock: spinlock protecting hw 188 spinlock_t hw_lock; member in struct:mtk_jpegdec_comp_dev 194 * @hw_lock: spinlock protecting the hw device resource 214 spinlock_t hw_lock; member in struct:mtk_jpeg_dev
|
H A D | mtk_jpeg_core.c | 957 spin_lock_irqsave(&jpeg->hw_lock, flags); 969 spin_unlock_irqrestore(&jpeg->hw_lock, flags); 1030 spin_lock_irqsave(&jpeg->hw_lock, flags); 1038 spin_unlock_irqrestore(&jpeg->hw_lock, flags); 1308 spin_lock_init(&jpeg->hw_lock); 1463 spin_lock_irqsave(&jpeg->hw_lock, flags); 1472 spin_unlock_irqrestore(&jpeg->hw_lock, flags); 1495 spin_lock_irqsave(&jpeg->hw_lock, flags); 1497 spin_unlock_irqrestore(&jpeg->hw_lock, flags); 1510 spin_lock_irqsave(&jpeg->hw_lock, flag [all...] |
/linux-master/drivers/crypto/ccree/ |
H A D | cc_request_mgr.c | 28 spinlock_t hw_lock; member in struct:cc_req_mgr_handle 127 spin_lock_init(&req_mgr_h->hw_lock); 374 spin_lock(&mgr->hw_lock); 383 spin_unlock(&mgr->hw_lock); 389 spin_unlock(&mgr->hw_lock); 418 spin_lock_bh(&mgr->hw_lock); 427 spin_unlock_bh(&mgr->hw_lock); 448 spin_unlock_bh(&mgr->hw_lock); 471 spin_lock_bh(&mgr->hw_lock); 477 spin_unlock_bh(&mgr->hw_lock); [all...] |
/linux-master/drivers/usb/serial/ |
H A D | ark3116.c | 63 struct mutex hw_lock; member in struct:ark3116_private 133 mutex_init(&priv->hw_lock); 186 mutex_destroy(&priv->hw_lock); 240 mutex_lock(&priv->hw_lock); 283 mutex_unlock(&priv->hw_lock); 382 mutex_lock(&priv->hw_lock); 384 mutex_unlock(&priv->hw_lock); 410 mutex_lock(&priv->hw_lock); 431 mutex_unlock(&priv->hw_lock); 443 mutex_lock(&priv->hw_lock); [all...] |
/linux-master/include/linux/mfd/ |
H A D | cs42l43.h | 100 bool hw_lock; member in struct:cs42l43
|
/linux-master/drivers/scsi/ |
H A D | vmw_pvscsi.c | 73 spinlock_t hw_lock; member in struct:pvscsi_adapter 782 spin_lock_irqsave(&adapter->hw_lock, flags); 788 spin_unlock_irqrestore(&adapter->hw_lock, flags); 797 spin_unlock_irqrestore(&adapter->hw_lock, flags); 818 spin_lock_irqsave(&adapter->hw_lock, flags); 843 spin_unlock_irqrestore(&adapter->hw_lock, flags); 846 spin_lock_irqsave(&adapter->hw_lock, flags); 868 spin_unlock_irqrestore(&adapter->hw_lock, flags); 906 spin_lock_irqsave(&adapter->hw_lock, flags); 912 spin_unlock_irqrestore(&adapter->hw_lock, flag [all...] |
/linux-master/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); 182 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); 197 spin_lock_irqsave(&qdev->hw_lock, hw_flags); 203 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); 219 spin_lock_irqsave(&qdev->hw_lock, hw_flags); 222 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); 250 * Caller holds hw_lock. Only called during init. 262 * Caller holds hw_lock [all...] |
/linux-master/drivers/media/platform/nxp/imx-jpeg/ |
H A D | mxc-jpeg.h | 123 spinlock_t hw_lock; /* hardware access lock */ member in struct:mxc_jpeg_dev
|
/linux-master/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc.c | 148 if (test_bit(0, &dev->hw_lock)) 198 clear_bit(0, &dev->hw_lock); 395 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); 467 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); 510 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); 567 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); 602 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); 611 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); 639 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); 692 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) [all...] |
/linux-master/drivers/media/usb/go7007/ |
H A D | go7007-i2c.c | 57 mutex_lock(&go->hw_lock); 124 mutex_unlock(&go->hw_lock);
|
H A D | go7007-driver.c | 31 * Must be called with the hw_lock held. 54 * Must be called with the hw_lock held. 76 * Must be called with the hw_lock held. 126 * Must NOT be called with the hw_lock held. 132 mutex_lock(&go->hw_lock); 134 mutex_unlock(&go->hw_lock); 151 * Must be called with the hw_lock held. 185 * Must be called with the hw_lock held. 250 * Must NOT be called with the hw_lock held. 263 mutex_lock(&go->hw_lock); [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_nx.c | 445 write_lock_irqsave(&ha->hw_lock, flags); 456 write_unlock_irqrestore(&ha->hw_lock, flags); 476 write_lock_irqsave(&ha->hw_lock, flags); 486 write_unlock_irqrestore(&ha->hw_lock, flags); 659 write_lock_irqsave(&ha->hw_lock, flags); 668 write_unlock_irqrestore(&ha->hw_lock, flags); 676 write_unlock_irqrestore(&ha->hw_lock, flags); 692 write_lock_irqsave(&ha->hw_lock, flags); 711 write_unlock_irqrestore(&ha->hw_lock, flags); 731 write_lock_irqsave(&ha->hw_lock, flag [all...] |
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.c | 418 write_lock_irqsave(&ha->hw_lock, flags); 427 write_unlock_irqrestore(&ha->hw_lock, flags); 442 write_lock_irqsave(&ha->hw_lock, flags); 450 write_unlock_irqrestore(&ha->hw_lock, flags); 510 * qla4_82xx_idc_lock - hw_lock 713 write_lock_irqsave(&ha->hw_lock, flags); 722 write_unlock_irqrestore(&ha->hw_lock, flags); 730 write_unlock_irqrestore(&ha->hw_lock, flags); 747 write_lock_irqsave(&ha->hw_lock, flags); 767 write_unlock_irqrestore(&ha->hw_lock, flag [all...] |