/linux-2.6.39/drivers/isdn/hisax/ |
D | hisax_fcpcipnp.c | 160 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_isac() 163 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_isac() 179 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_isac() 182 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_isac() 191 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_isac_fifo() 194 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_isac_fifo() 203 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_isac_fifo() 206 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_isac_fifo() 215 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_hdlc_status() 218 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_hdlc_status() [all …]
|
D | hisax_fcpcipnp.h | 48 spinlock_t hw_lock; member
|
/linux-2.6.39/drivers/gpu/drm/ |
D | drm_lock.c | 70 master->lock.hw_lock->lock, lock->flags); in drm_lock() 83 if (!master->lock.hw_lock) { in drm_lock() 125 dev->sigdata.lock = master->lock.hw_lock; in drm_lock() 187 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take() 236 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer() 261 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_free() 352 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_idlelock_release() 371 return (file_priv->lock_count && master->lock.hw_lock && in drm_i_have_hw_lock() 372 _DRM_LOCK_IS_HELD(master->lock.hw_lock->lock) && in drm_i_have_hw_lock()
|
D | drm_fops.c | 407 file_priv->master->lock.hw_lock) in drm_master_release() 411 file_priv->master->lock.hw_lock) { in drm_master_release() 420 filp, _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); in drm_master_release() 422 _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); in drm_master_release() 538 if (master->lock.hw_lock) { in drm_release() 539 if (dev->sigdata.lock == master->lock.hw_lock) in drm_release() 541 master->lock.hw_lock = NULL; in drm_release()
|
D | drm_ioctl.c | 257 (file_priv->master->lock.hw_lock ? file_priv->master->lock.hw_lock->lock : 0); in drm_getstats()
|
D | drm_context.c | 265 if (!_DRM_LOCK_IS_HELD(file_priv->master->lock.hw_lock->lock)) { in drm_context_switch_complete()
|
D | drm_bufs.c | 248 if (dev->primary->master->lock.hw_lock != NULL) { in drm_addmap_core() 253 dev->sigdata.lock = dev->primary->master->lock.hw_lock = map->handle; /* Pointer to lock */ in drm_addmap_core() 461 if (dev->sigdata.lock == master->lock.hw_lock) in drm_rmmap_locked() 463 master->lock.hw_lock = NULL; /* SHM removed */ in drm_rmmap_locked()
|
/linux-2.6.39/drivers/media/rc/ |
D | ene_ir.c | 538 spin_lock_irqsave(&dev->hw_lock, flags); in ene_tx_set_carrier() 559 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_tx_set_carrier() 567 spin_lock_irqsave(&dev->hw_lock, flags); in ene_tx_set_transmitters() 572 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_tx_set_transmitters() 671 spin_lock_irqsave(&dev->hw_lock, flags); in ene_tx_irqsim() 673 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_tx_irqsim() 731 spin_lock_irqsave(&dev->hw_lock, flags); in ene_isr() 811 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_isr() 844 spin_lock_irqsave(&dev->hw_lock, flags); in ene_open() 846 spin_unlock_irqrestore(&dev->hw_lock, flags); in ene_open() [all …]
|
D | ene_ir.h | 211 spinlock_t hw_lock; member
|
/linux-2.6.39/drivers/net/ |
D | ewrk3.c | 287 spinlock_t hw_lock; member 552 spin_lock_init(&lp->hw_lock); in ewrk3_hw_init() 776 spin_lock_irq (&lp->hw_lock); in ewrk3_queue_pkt() 862 spin_unlock_irq (&lp->hw_lock); in ewrk3_queue_pkt() 875 spin_unlock_irq (&lp->hw_lock); in ewrk3_queue_pkt() 898 spin_lock(&lp->hw_lock); in ewrk3_interrupt() 930 spin_unlock(&lp->hw_lock); in ewrk3_interrupt() 1179 spin_lock_irq(&lp->hw_lock); in SetMulticastFilter() 1239 spin_unlock_irq(&lp->hw_lock); in SetMulticastFilter() 1576 spin_lock_irqsave(&lp->hw_lock, flags); in ewrk3_set_settings() [all …]
|
D | qla3xxx.c | 183 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_read_common_reg_l() 185 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_read_common_reg_l() 200 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_read_page0_reg_l() 206 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_read_page0_reg_l() 222 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_write_common_reg_l() 225 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_write_common_reg_l() 531 spin_lock_irqsave(&qdev->hw_lock, hw_flags); in ql_get_nvram_params() 539 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_get_nvram_params() 553 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_get_nvram_params() 557 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); in ql_get_nvram_params() [all …]
|
D | fec.c | 192 spinlock_t hw_lock; member 250 spin_lock_irqsave(&fep->hw_lock, flags); in fec_enet_start_xmit() 261 spin_unlock_irqrestore(&fep->hw_lock, flags); in fec_enet_start_xmit() 327 spin_unlock_irqrestore(&fep->hw_lock, flags); in fec_enet_start_xmit() 496 spin_lock(&fep->hw_lock); in fec_enet_tx() 556 spin_unlock(&fep->hw_lock); in fec_enet_tx() 581 spin_lock(&fep->hw_lock); in fec_enet_rx() 679 spin_unlock(&fep->hw_lock); in fec_enet_rx() 778 spin_lock_irqsave(&fep->hw_lock, flags); in fec_enet_adjust_link() 805 spin_unlock_irqrestore(&fep->hw_lock, flags); in fec_enet_adjust_link() [all …]
|
D | skge.c | 2627 spin_lock_irq(&hw->hw_lock); in skge_up() 2630 spin_unlock_irq(&hw->hw_lock); in skge_up() 2673 spin_lock_irq(&hw->hw_lock); in skge_down() 2676 spin_unlock_irq(&hw->hw_lock); in skge_down() 3196 spin_lock_irqsave(&hw->hw_lock, flags); in skge_poll() 3201 spin_unlock_irqrestore(&hw->hw_lock, flags); in skge_poll() 3331 spin_lock_irq(&hw->hw_lock); in skge_extirq() 3335 spin_unlock_irq(&hw->hw_lock); in skge_extirq() 3344 spin_lock(&hw->hw_lock); in skge_intr() 3401 spin_unlock(&hw->hw_lock); in skge_intr() [all …]
|
/linux-2.6.39/drivers/usb/serial/ |
D | ark3116.c | 76 struct mutex hw_lock; member 152 mutex_init(&priv->hw_lock); in ark3116_attach() 211 mutex_destroy(&priv->hw_lock); in ark3116_release() 290 mutex_lock(&priv->hw_lock); in ark3116_set_termios() 333 mutex_unlock(&priv->hw_lock); in ark3116_set_termios() 496 mutex_lock(&priv->hw_lock); in ark3116_tiocmget() 498 mutex_unlock(&priv->hw_lock); in ark3116_tiocmget() 524 mutex_lock(&priv->hw_lock); in ark3116_tiocmset() 545 mutex_unlock(&priv->hw_lock); in ark3116_tiocmset() 556 mutex_lock(&priv->hw_lock); in ark3116_break_ctl() [all …]
|
/linux-2.6.39/drivers/scsi/ |
D | vmw_pvscsi.c | 75 spinlock_t hw_lock; member 700 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_queue_lck() 706 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_queue_lck() 715 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_queue_lck() 733 spin_lock_irqsave(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 756 spin_unlock_irqrestore(&adapter->hw_lock, flags); in DEF_SCSI_QCMD() 793 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_host_reset() 799 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_host_reset() 806 spin_lock_irqsave(&adapter->hw_lock, flags); in pvscsi_host_reset() 833 spin_unlock_irqrestore(&adapter->hw_lock, flags); in pvscsi_host_reset() [all …]
|
/linux-2.6.39/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 383 write_lock_irqsave(&ha->hw_lock, flags); in qla4_8xxx_wr_32() 392 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_8xxx_wr_32() 408 write_lock_irqsave(&ha->hw_lock, flags); in qla4_8xxx_rd_32() 416 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_8xxx_rd_32() 669 write_lock_irqsave(&ha->hw_lock, flags); in qla4_8xxx_pci_mem_read_direct() 678 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_8xxx_pci_mem_read_direct() 686 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_8xxx_pci_mem_read_direct() 703 write_lock_irqsave(&ha->hw_lock, flags); in qla4_8xxx_pci_mem_read_direct() 723 write_unlock_irqrestore(&ha->hw_lock, flags); in qla4_8xxx_pci_mem_read_direct() 742 write_lock_irqsave(&ha->hw_lock, flags); in qla4_8xxx_pci_mem_write_direct() [all …]
|
/linux-2.6.39/drivers/isdn/hysdn/ |
D | boardergo.c | 60 if (!card->hw_lock) in ergo_interrupt() 87 if (card->hw_lock) { in ergo_irq_bh() 91 card->hw_lock = 1; /* we now lock the hardware */ in ergo_irq_bh() 117 card->hw_lock = 0; /* free hardware again */ in ergo_irq_bh()
|
D | hysdn_defs.h | 169 unsigned char volatile hw_lock;/* hardware is currently locked -> no access */ member
|
/linux-2.6.39/drivers/scsi/qla2xxx/ |
D | qla_nx.c | 466 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_wr_32() 475 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_wr_32() 492 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_rd_32() 500 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_rd_32() 675 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 684 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 691 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 707 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 726 write_unlock_irqrestore(&ha->hw_lock, flags); in qla82xx_pci_mem_read_direct() 745 write_lock_irqsave(&ha->hw_lock, flags); in qla82xx_pci_mem_write_direct() [all …]
|
/linux-2.6.39/drivers/staging/go7007/ |
D | go7007-driver.c | 145 mutex_lock(&go->hw_lock); in go7007_boot_encoder() 147 mutex_unlock(&go->hw_lock); in go7007_boot_encoder() 223 mutex_lock(&go->hw_lock); in go7007_register_encoder() 225 mutex_unlock(&go->hw_lock); in go7007_register_encoder() 584 mutex_init(&go->hw_lock); in go7007_alloc()
|
D | go7007-i2c.c | 72 mutex_lock(&go->hw_lock); in go7007_i2c_xfer() 139 mutex_unlock(&go->hw_lock); in go7007_i2c_xfer()
|
D | go7007-v4l2.c | 83 mutex_lock(&go->hw_lock); in go7007_streamoff() 93 mutex_unlock(&go->hw_lock); in go7007_streamoff() 705 mutex_lock(&go->hw_lock); in vidioc_reqbufs() 707 mutex_unlock(&go->hw_lock); in vidioc_reqbufs() 726 mutex_unlock(&go->hw_lock); in vidioc_reqbufs() 743 mutex_unlock(&go->hw_lock); in vidioc_reqbufs() 946 mutex_lock(&go->hw_lock); in vidioc_streamon() 957 mutex_unlock(&go->hw_lock); in vidioc_streamon() 1827 mutex_lock(&go->hw_lock); in go7007_v4l2_remove() 1835 mutex_unlock(&go->hw_lock); in go7007_v4l2_remove()
|
D | go7007-priv.h | 176 struct mutex hw_lock; member
|
/linux-2.6.39/drivers/crypto/ |
D | picoxcell_crypto.c | 111 spinlock_t hw_lock; member 700 spin_lock_irqsave(&engine->hw_lock, flags); in spacc_aead_setup() 704 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_aead_setup() 713 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_aead_setup() 1038 spin_lock_irqsave(&engine->hw_lock, flags); in spacc_ablk_setup() 1047 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_ablk_setup() 1056 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_ablk_setup() 1136 spin_lock_irqsave(&engine->hw_lock, flags); in spacc_process_done() 1175 spin_unlock_irqrestore(&engine->hw_lock, flags); in spacc_process_done() 1214 spin_lock_irqsave(&engine->hw_lock, flags); in spacc_spacc_complete() [all …]
|
/linux-2.6.39/include/drm/ |
D | drmP.h | 275 if (!_DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock) || \ 278 __func__, _DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock),\ 468 struct drm_hw_lock *hw_lock; /**< Hardware lock */ member
|