Home
last modified time | relevance | path

Searched refs:dev_lock (Results 1 – 16 of 16) sorted by relevance

/drivers/media/platform/marvell-ccic/
Dcafe-driver.c162 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 …]
Dmcam-core.c453 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 …]
Dmmp-driver.c310 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()
Dmcam-core.h108 spinlock_t dev_lock; member
/drivers/xen/xen-pciback/
Dxenbus.c48 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()
Dpciback.h33 struct mutex dev_lock; member
/drivers/block/rsxx/
Ddev.c221 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()
Drsxx_priv.h166 struct mutex dev_lock; member
/drivers/net/ethernet/smsc/
Dsmsc911x.c116 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/
Docrdma_verbs.c380 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 …]
Docrdma.h244 struct mutex dev_lock; /* provides syncronise access to device data */ member
Docrdma_main.c225 mutex_init(&dev->dev_lock); in ocrdma_alloc_resources()
Docrdma_hw.c1756 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/
Daxnet_cs.c876 #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/
Dmtip32xx.c109 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/
Dbond_main.c997 if (down_trylock(&ni->dev_lock)) in bond_poll_controller()
1000 up(&ni->dev_lock); in bond_poll_controller()