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.c461 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_frame_tasklet()
483 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_frame_tasklet()
488 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_frame_tasklet()
490 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_frame_tasklet()
820 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_configure()
825 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_configure()
850 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_init()
865 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_init()
882 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_stop_dma()
886 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.h107 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()
86 mutex_unlock(&pdev->dev_lock); in xen_pcibk_disconnect()
150 mutex_lock(&pdev->dev_lock); in xen_pcibk_attach()
196 mutex_unlock(&pdev->dev_lock); in xen_pcibk_attach()
376 mutex_lock(&pdev->dev_lock); in xen_pcibk_reconfigure()
516 mutex_unlock(&pdev->dev_lock); in xen_pcibk_reconfigure()
573 mutex_lock(&pdev->dev_lock); in xen_pcibk_setup_backend()
654 mutex_unlock(&pdev->dev_lock); in xen_pcibk_setup_backend()
Dpciback.h35 struct mutex dev_lock; member
/drivers/block/rsxx/
Ddev.c225 mutex_lock(&card->dev_lock); in rsxx_attach_dev()
238 mutex_unlock(&card->dev_lock); in rsxx_attach_dev()
245 mutex_lock(&card->dev_lock); in rsxx_detach_dev()
252 mutex_unlock(&card->dev_lock); in rsxx_detach_dev()
259 mutex_init(&card->dev_lock); in rsxx_setup_dev()
Drsxx_priv.h166 struct mutex dev_lock; member
/drivers/net/ethernet/smsc/
Dsmsc911x.c115 spinlock_t dev_lock; member
193 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_reg_read()
195 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_reg_read()
241 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_reg_write()
243 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_reg_write()
253 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_tx_writefifo()
275 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_tx_writefifo()
285 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_tx_writefifo_shift()
309 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_tx_writefifo_shift()
319 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_rx_readfifo()
[all …]
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c379 mutex_lock(&dev->dev_lock); in ocrdma_put_pd_num()
381 mutex_unlock(&dev->dev_lock); in ocrdma_put_pd_num()
390 mutex_lock(&dev->dev_lock); in ocrdma_get_pd_num()
413 mutex_unlock(&dev->dev_lock); in ocrdma_get_pd_num()
1437 mutex_lock(&dev->dev_lock); in ocrdma_create_qp()
1464 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp()
1472 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp()
1516 mutex_lock(&dev->dev_lock); in ocrdma_modify_qp()
1539 mutex_unlock(&dev->dev_lock); in ocrdma_modify_qp()
1583 mutex_lock(&dev->dev_lock); in ocrdma_query_qp()
[all …]
Docrdma.h243 struct mutex dev_lock; /* provides syncronise access to device data */ member
Docrdma_main.c213 mutex_init(&dev->dev_lock); in ocrdma_alloc_resources()
Docrdma_hw.c1750 mutex_lock(&dev->dev_lock); in ocrdma_bind_eq()
1764 mutex_unlock(&dev->dev_lock); in ocrdma_bind_eq()
1772 mutex_lock(&dev->dev_lock); in ocrdma_unbind_eq()
1777 mutex_unlock(&dev->dev_lock); in ocrdma_unbind_eq()
/drivers/net/ethernet/8390/
Daxnet_cs.c877 #define dev_lock(dev) (((struct ei_device *)netdev_priv(dev))->page_lock) macro
893 spin_lock_irqsave(&dev_lock(dev), flags); in ax_close()
895 spin_unlock_irqrestore(&dev_lock(dev), flags); in ax_close()
1606 spin_lock_irqsave(&dev_lock(dev), flags); in set_multicast_list()
1608 spin_unlock_irqrestore(&dev_lock(dev), flags); in set_multicast_list()
/drivers/block/mtip32xx/
Dmtip32xx.c109 spinlock_t dev_lock; variable
2498 spin_lock_irqsave(&dev_lock, flags); in show_device_status()
2558 spin_unlock_irqrestore(&dev_lock, flags); in show_device_status()
4544 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_probe()
4546 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_probe()
4586 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_remove()
4589 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_remove()
4625 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_remove()
4627 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_remove()
4778 spin_lock_init(&dev_lock); in mtip_init()
/drivers/net/bonding/
Dbond_main.c1000 if (down_trylock(&ni->dev_lock)) in bond_poll_controller()
1003 up(&ni->dev_lock); in bond_poll_controller()