/drivers/gpu/drm/ |
H A D | drm_lock.c | 71 master->lock.hw_lock->lock, lock->flags); 84 if (!master->lock.hw_lock) { 126 dev->sigdata.lock = master->lock.hw_lock; 188 volatile unsigned int *lock = &lock_data->hw_lock->lock; 237 volatile unsigned int *lock = &lock_data->hw_lock->lock; 262 volatile unsigned int *lock = &lock_data->hw_lock->lock; 354 volatile unsigned int *lock = &lock_data->hw_lock->lock; 374 return (file_priv->lock_count && master->lock.hw_lock && 375 _DRM_LOCK_IS_HELD(master->lock.hw_lock->lock) &&
|
H A D | drm_fops.c | 417 file_priv->master->lock.hw_lock) 421 file_priv->master->lock.hw_lock) { 430 filp, _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); 432 _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); 553 if (master->lock.hw_lock) { 554 if (dev->sigdata.lock == master->lock.hw_lock) 556 master->lock.hw_lock = NULL;
|
H A D | drm_ioctl.c | 253 (file_priv->master->lock.hw_lock ? file_priv->master->lock.hw_lock->lock : 0);
|
H A D | drm_context.c | 266 if (!_DRM_LOCK_IS_HELD(file_priv->master->lock.hw_lock->lock)) {
|
/drivers/isdn/hisax/ |
H A D | hisax_fcpcipnp.c | 161 spin_lock_irqsave(&adapter->hw_lock, flags); 164 spin_unlock_irqrestore(&adapter->hw_lock, flags); 180 spin_lock_irqsave(&adapter->hw_lock, flags); 183 spin_unlock_irqrestore(&adapter->hw_lock, flags); 192 spin_lock_irqsave(&adapter->hw_lock, flags); 195 spin_unlock_irqrestore(&adapter->hw_lock, flags); 204 spin_lock_irqsave(&adapter->hw_lock, flags); 207 spin_unlock_irqrestore(&adapter->hw_lock, flags); 216 spin_lock_irqsave(&adapter->hw_lock, flags); 219 spin_unlock_irqrestore(&adapter->hw_lock, flag [all...] |
H A D | hisax_fcpcipnp.h | 48 spinlock_t hw_lock; member in struct:fritz_adapter
|
/drivers/media/rc/ |
H A D | ene_ir.c | 539 spin_lock_irqsave(&dev->hw_lock, flags); 560 spin_unlock_irqrestore(&dev->hw_lock, flags); 568 spin_lock_irqsave(&dev->hw_lock, flags); 573 spin_unlock_irqrestore(&dev->hw_lock, flags); 611 /* TX one sample - must be called with dev->hw_lock*/ 672 spin_lock_irqsave(&dev->hw_lock, flags); 674 spin_unlock_irqrestore(&dev->hw_lock, flags); 732 spin_lock_irqsave(&dev->hw_lock, flags); 812 spin_unlock_irqrestore(&dev->hw_lock, flags); 845 spin_lock_irqsave(&dev->hw_lock, flag [all...] |
H A D | ene_ir.h | 202 spinlock_t hw_lock; member in struct:ene_device
|
/drivers/usb/serial/ |
H A D | ark3116.c | 76 struct mutex hw_lock; member in struct:ark3116_private 152 mutex_init(&priv->hw_lock); 211 mutex_destroy(&priv->hw_lock); 290 mutex_lock(&priv->hw_lock); 333 mutex_unlock(&priv->hw_lock); 496 mutex_lock(&priv->hw_lock); 498 mutex_unlock(&priv->hw_lock); 524 mutex_lock(&priv->hw_lock); 545 mutex_unlock(&priv->hw_lock); 556 mutex_lock(&priv->hw_lock); [all...] |
/drivers/net/ethernet/dec/ |
H A D | ewrk3.c | 287 spinlock_t hw_lock; member in struct:ewrk3_private 552 spin_lock_init(&lp->hw_lock); 776 spin_lock_irq (&lp->hw_lock); 862 spin_unlock_irq (&lp->hw_lock); 875 spin_unlock_irq (&lp->hw_lock); 898 spin_lock(&lp->hw_lock); 930 spin_unlock(&lp->hw_lock); 934 /* Called with lp->hw_lock held */ 1059 ** Called with lp->hw_lock held 1179 spin_lock_irq(&lp->hw_lock); [all...] |
/drivers/scsi/ |
H A D | vmw_pvscsi.c | 75 spinlock_t hw_lock; member in struct:pvscsi_adapter 700 spin_lock_irqsave(&adapter->hw_lock, flags); 706 spin_unlock_irqrestore(&adapter->hw_lock, flags); 715 spin_unlock_irqrestore(&adapter->hw_lock, flags); 733 spin_lock_irqsave(&adapter->hw_lock, flags); 756 spin_unlock_irqrestore(&adapter->hw_lock, flags); 793 spin_lock_irqsave(&adapter->hw_lock, flags); 799 spin_unlock_irqrestore(&adapter->hw_lock, flags); 806 spin_lock_irqsave(&adapter->hw_lock, flags); 833 spin_unlock_irqrestore(&adapter->hw_lock, flag [all...] |
/drivers/isdn/hysdn/ |
H A D | boardergo.c | 60 if (!card->hw_lock) 87 if (card->hw_lock) { 91 card->hw_lock = 1; /* we now lock the hardware */ 117 card->hw_lock = 0; /* free hardware again */
|
H A D | hysdn_defs.h | 169 unsigned char volatile hw_lock;/* hardware is currently locked -> no access */ member in struct:HYSDN_CARD
|
/drivers/media/video/s5p-mfc/ |
H A D | s5p_mfc.c | 77 if (test_bit(0, &dev->hw_lock)) 123 clear_bit(0, &dev->hw_lock); 297 if (test_and_clear_bit(0, &dev->hw_lock) == 0) 361 if (test_and_clear_bit(0, &dev->hw_lock) == 0) 396 if (test_and_clear_bit(0, &dev->hw_lock) == 0) 414 if (test_and_clear_bit(0, &dev->hw_lock) == 0) 484 if (test_and_clear_bit(0, &dev->hw_lock) == 0) 525 if (test_and_clear_bit(0, &dev->hw_lock) == 0) 533 if (test_and_clear_bit(0, &dev->hw_lock) == 0) 576 if (test_and_clear_bit(0, &dev->hw_lock) [all...] |
H A D | s5p_mfc_common.h | 204 * @hw_lock: used for hardware locking 240 unsigned long hw_lock; member in struct:s5p_mfc_dev
|
/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 103 * Caller must take hw_lock. 144 * Caller holds hw_lock. 184 spin_lock_irqsave(&qdev->hw_lock, hw_flags); 186 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); 201 spin_lock_irqsave(&qdev->hw_lock, hw_flags); 207 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); 223 spin_lock_irqsave(&qdev->hw_lock, hw_flags); 226 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); 254 * Caller holds hw_lock. Only called during init. 266 * Caller holds hw_lock [all...] |
/drivers/net/ethernet/freescale/ |
H A D | fec.c | 230 spinlock_t hw_lock; member in struct:fec_enet_private 292 spin_lock_irqsave(&fep->hw_lock, flags); 303 spin_unlock_irqrestore(&fep->hw_lock, flags); 371 spin_unlock_irqrestore(&fep->hw_lock, flags); 568 spin_lock(&fep->hw_lock); 628 spin_unlock(&fep->hw_lock); 653 spin_lock(&fep->hw_lock); 752 spin_unlock(&fep->hw_lock); 865 spin_lock_irqsave(&fep->hw_lock, flags); 894 spin_unlock_irqrestore(&fep->hw_lock, flag [all...] |
/drivers/staging/media/go7007/ |
H A D | go7007-i2c.c | 71 mutex_lock(&go->hw_lock); 138 mutex_unlock(&go->hw_lock);
|
H A D | go7007-driver.c | 44 * Must be called with the hw_lock held. 67 * Must be called with the hw_lock held. 89 * Must be called with the hw_lock held. 138 * Must NOT be called with the hw_lock held. 144 mutex_lock(&go->hw_lock); 146 mutex_unlock(&go->hw_lock); 163 * Must be called with the hw_lock held. 183 * Must be called with the hw_lock held. 214 * Must NOT be called with the hw_lock held. 222 mutex_lock(&go->hw_lock); [all...] |
H A D | go7007-v4l2.c | 82 mutex_lock(&go->hw_lock); 92 mutex_unlock(&go->hw_lock); 704 mutex_lock(&go->hw_lock); 706 mutex_unlock(&go->hw_lock); 725 mutex_unlock(&go->hw_lock); 742 mutex_unlock(&go->hw_lock); 945 mutex_lock(&go->hw_lock); 956 mutex_unlock(&go->hw_lock); 1826 mutex_lock(&go->hw_lock); 1834 mutex_unlock(&go->hw_lock); [all...] |
H A D | go7007-priv.h | 176 struct mutex hw_lock; member in struct:go7007
|
/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.c | 385 write_lock_irqsave(&ha->hw_lock, flags); 394 write_unlock_irqrestore(&ha->hw_lock, flags); 410 write_lock_irqsave(&ha->hw_lock, flags); 418 write_unlock_irqrestore(&ha->hw_lock, flags); 460 * qla4_8xxx_idc_lock - hw_lock 671 write_lock_irqsave(&ha->hw_lock, flags); 680 write_unlock_irqrestore(&ha->hw_lock, flags); 688 write_unlock_irqrestore(&ha->hw_lock, flags); 705 write_lock_irqsave(&ha->hw_lock, flags); 725 write_unlock_irqrestore(&ha->hw_lock, flag [all...] |
/drivers/scsi/qla2xxx/ |
H A D | qla_nx.c | 477 write_lock_irqsave(&ha->hw_lock, flags); 486 write_unlock_irqrestore(&ha->hw_lock, flags); 503 write_lock_irqsave(&ha->hw_lock, flags); 511 write_unlock_irqrestore(&ha->hw_lock, flags); 688 write_lock_irqsave(&ha->hw_lock, flags); 697 write_unlock_irqrestore(&ha->hw_lock, flags); 705 write_unlock_irqrestore(&ha->hw_lock, flags); 721 write_lock_irqsave(&ha->hw_lock, flags); 740 write_unlock_irqrestore(&ha->hw_lock, flags); 760 write_lock_irqsave(&ha->hw_lock, flag [all...] |
/drivers/crypto/ |
H A D | picoxcell_crypto.c | 112 spinlock_t hw_lock; member in struct:spacc_engine 721 spin_lock_irqsave(&engine->hw_lock, flags); 726 spin_unlock_irqrestore(&engine->hw_lock, flags); 734 spin_unlock_irqrestore(&engine->hw_lock, flags); 1059 spin_lock_irqsave(&engine->hw_lock, flags); 1069 spin_unlock_irqrestore(&engine->hw_lock, flags); 1077 spin_unlock_irqrestore(&engine->hw_lock, flags); 1157 spin_lock_irqsave(&engine->hw_lock, flags); 1197 spin_unlock_irqrestore(&engine->hw_lock, flags); 1235 spin_lock_irqsave(&engine->hw_lock, flag [all...] |
/drivers/net/ethernet/marvell/ |
H A D | skge.c | 2603 spin_lock_irq(&hw->hw_lock); 2607 spin_unlock_irq(&hw->hw_lock); 2655 spin_lock_irq(&hw->hw_lock); 2659 spin_unlock_irq(&hw->hw_lock); 3193 spin_lock_irqsave(&hw->hw_lock, flags); 3198 spin_unlock_irqrestore(&hw->hw_lock, flags); 3328 spin_lock_irq(&hw->hw_lock); 3332 spin_unlock_irq(&hw->hw_lock); 3341 spin_lock(&hw->hw_lock); 3398 spin_unlock(&hw->hw_lock); [all...] |