Searched refs:hw_lock (Results 1 - 25 of 53) sorted by relevance

123

/linux-master/drivers/gpu/drm/i915/selftests/
H A Dmock_request.c50 spin_lock_irq(&engine->hw_lock);
53 spin_unlock_irq(&engine->hw_lock);
/linux-master/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpuapi.c21 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 Dwave5-vpu.c150 mutex_init(&dev->hw_lock);
258 mutex_destroy(&dev->hw_lock);
/linux-master/sound/soc/sof/
H A Dops.c44 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 Dmock_engine.h18 spinlock_t hw_lock; member in struct:mock_engine
H A Dmock_engine.c115 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 Dvc4_hdmi_phy.c139 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 Dvc4_hdmi.c210 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 Dvc4_hdmi.h192 * @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 Dmdp5_ctl.c41 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 Dene_ir.c535 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 Dene_ir.h188 spinlock_t hw_lock; member in struct:ene_device
/linux-master/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_core.h148 * @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 Dmtk_jpeg_core.c957 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 Dcc_request_mgr.c28 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 Dark3116.c63 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 Dcs42l43.h100 bool hw_lock; member in struct:cs42l43
/linux-master/drivers/scsi/
H A Dvmw_pvscsi.c73 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 Dqla3xxx.c101 * 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 Dmxc-jpeg.h123 spinlock_t hw_lock; /* hardware access lock */ member in struct:mxc_jpeg_dev
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c148 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 Dgo7007-i2c.c57 mutex_lock(&go->hw_lock);
124 mutex_unlock(&go->hw_lock);
H A Dgo7007-driver.c31 * 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 Dqla_nx.c445 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 Dql4_nx.c418 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...]

Completed in 628 milliseconds

123