/drivers/media/platform/marvell-ccic/ |
D | cafe-driver.c | 162 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_done() 164 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_done() 175 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_data() 186 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_data() 209 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_data() 211 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_data() 239 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_read_done() 241 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_read_done() 254 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_read_data() 265 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_read_data() [all …]
|
D | mcam-core.c | 453 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_frame_tasklet() 475 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_frame_tasklet() 480 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_frame_tasklet() 482 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_frame_tasklet() 812 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_configure() 817 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_configure() 842 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_init() 857 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_init() 874 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_stop_dma() 878 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_stop_dma() [all …]
|
D | mmp-driver.c | 310 spin_lock(&mcam->dev_lock); in mmpcam_irq() 313 spin_unlock(&mcam->dev_lock); in mmpcam_irq() 375 spin_lock_init(&mcam->dev_lock); in mmpcam_probe()
|
D | mcam-core.h | 108 spinlock_t dev_lock; member
|
/drivers/xen/xen-pciback/ |
D | xenbus.c | 48 mutex_init(&pdev->dev_lock); in alloc_pdev() 69 mutex_lock(&pdev->dev_lock); in xen_pcibk_disconnect() 85 mutex_unlock(&pdev->dev_lock); in xen_pcibk_disconnect() 149 mutex_lock(&pdev->dev_lock); in xen_pcibk_attach() 195 mutex_unlock(&pdev->dev_lock); in xen_pcibk_attach() 374 mutex_lock(&pdev->dev_lock); in xen_pcibk_reconfigure() 510 mutex_unlock(&pdev->dev_lock); in xen_pcibk_reconfigure() 567 mutex_lock(&pdev->dev_lock); in xen_pcibk_setup_backend() 648 mutex_unlock(&pdev->dev_lock); in xen_pcibk_setup_backend()
|
D | pciback.h | 33 struct mutex dev_lock; member
|
/drivers/block/rsxx/ |
D | dev.c | 221 mutex_lock(&card->dev_lock); in rsxx_attach_dev() 233 mutex_unlock(&card->dev_lock); in rsxx_attach_dev() 240 mutex_lock(&card->dev_lock); in rsxx_detach_dev() 247 mutex_unlock(&card->dev_lock); in rsxx_detach_dev() 254 mutex_init(&card->dev_lock); in rsxx_setup_dev()
|
D | rsxx_priv.h | 166 struct mutex dev_lock; member
|
/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 116 spinlock_t dev_lock; member 195 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_reg_read() 197 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_reg_read() 243 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_reg_write() 245 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_reg_write() 255 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_tx_writefifo() 277 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_tx_writefifo() 287 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_tx_writefifo_shift() 311 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_tx_writefifo_shift() 321 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_rx_readfifo() [all …]
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 380 mutex_lock(&dev->dev_lock); in ocrdma_put_pd_num() 382 mutex_unlock(&dev->dev_lock); in ocrdma_put_pd_num() 391 mutex_lock(&dev->dev_lock); in ocrdma_get_pd_num() 414 mutex_unlock(&dev->dev_lock); in ocrdma_get_pd_num() 1434 mutex_lock(&dev->dev_lock); in ocrdma_create_qp() 1461 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp() 1469 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp() 1511 mutex_lock(&dev->dev_lock); in ocrdma_modify_qp() 1534 mutex_unlock(&dev->dev_lock); in ocrdma_modify_qp() 1578 mutex_lock(&dev->dev_lock); in ocrdma_query_qp() [all …]
|
D | ocrdma.h | 244 struct mutex dev_lock; /* provides syncronise access to device data */ member
|
D | ocrdma_main.c | 225 mutex_init(&dev->dev_lock); in ocrdma_alloc_resources()
|
D | ocrdma_hw.c | 1756 mutex_lock(&dev->dev_lock); in ocrdma_bind_eq() 1770 mutex_unlock(&dev->dev_lock); in ocrdma_bind_eq() 1778 mutex_lock(&dev->dev_lock); in ocrdma_unbind_eq() 1783 mutex_unlock(&dev->dev_lock); in ocrdma_unbind_eq()
|
/drivers/net/ethernet/8390/ |
D | axnet_cs.c | 876 #define dev_lock(dev) (((struct ei_device *)netdev_priv(dev))->page_lock) macro 892 spin_lock_irqsave(&dev_lock(dev), flags); in ax_close() 894 spin_unlock_irqrestore(&dev_lock(dev), flags); in ax_close() 1605 spin_lock_irqsave(&dev_lock(dev), flags); in set_multicast_list() 1607 spin_unlock_irqrestore(&dev_lock(dev), flags); in set_multicast_list()
|
/drivers/block/mtip32xx/ |
D | mtip32xx.c | 109 static spinlock_t dev_lock; variable 2305 spin_lock_irqsave(&dev_lock, flags); in show_device_status() 2365 spin_unlock_irqrestore(&dev_lock, flags); in show_device_status() 4369 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_probe() 4371 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_probe() 4411 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_remove() 4414 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_remove() 4450 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_remove() 4452 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_remove() 4603 spin_lock_init(&dev_lock); in mtip_init()
|
/drivers/net/bonding/ |
D | bond_main.c | 997 if (down_trylock(&ni->dev_lock)) in bond_poll_controller() 1000 up(&ni->dev_lock); in bond_poll_controller()
|