/drivers/media/platform/marvell-ccic/ |
D | cafe-driver.c | 160 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_done() 162 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_done() 173 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_data() 184 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_data() 207 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_data() 209 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_data() 237 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_read_done() 239 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_read_done() 252 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_read_data() 263 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_read_data() [all …]
|
D | mcam-core.c | 449 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_frame_tasklet() 471 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_frame_tasklet() 476 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_frame_tasklet() 478 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_frame_tasklet() 802 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_configure() 807 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_configure() 839 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_stop_dma() 843 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_stop_dma() 855 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_stop_dma() 857 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_stop_dma() [all …]
|
D | mmp-driver.c | 152 spin_lock(&mcam->dev_lock); in mmpcam_irq() 155 spin_unlock(&mcam->dev_lock); in mmpcam_irq() 222 spin_lock_init(&mcam->dev_lock); in mmpcam_probe()
|
D | mcam-core.h | 108 spinlock_t dev_lock; member
|
/drivers/dma/lgm/ |
D | lgm-dma.c | 254 spinlock_t dev_lock; /* Controller register exclusive */ member 320 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_reset() 322 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_reset() 331 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_pkt_arb_cfg() 333 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_pkt_arb_cfg() 342 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_sram_desc_cfg() 344 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_sram_desc_cfg() 358 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_chan_flow_ctl_cfg() 360 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_chan_flow_ctl_cfg() 371 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_global_polling_enable() [all …]
|
/drivers/block/rsxx/ |
D | dev.c | 197 mutex_lock(&card->dev_lock); in rsxx_attach_dev() 209 mutex_unlock(&card->dev_lock); in rsxx_attach_dev() 216 mutex_lock(&card->dev_lock); in rsxx_detach_dev() 223 mutex_unlock(&card->dev_lock); in rsxx_detach_dev() 230 mutex_init(&card->dev_lock); in rsxx_setup_dev()
|
D | rsxx_priv.h | 151 struct mutex 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() 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() 514 mutex_unlock(&pdev->dev_lock); in xen_pcibk_reconfigure() 571 mutex_lock(&pdev->dev_lock); in xen_pcibk_setup_backend() 652 mutex_unlock(&pdev->dev_lock); in xen_pcibk_setup_backend()
|
D | pciback.h | 36 struct mutex dev_lock; member
|
/drivers/dma/idxd/ |
D | device.c | 350 spin_lock(&idxd->dev_lock); in idxd_wq_set_pasid() 355 spin_unlock(&idxd->dev_lock); in idxd_wq_set_pasid() 376 spin_lock(&idxd->dev_lock); in idxd_wq_disable_pasid() 381 spin_unlock(&idxd->dev_lock); in idxd_wq_disable_pasid() 580 spin_lock(&idxd->dev_lock); in idxd_device_disable() 583 spin_unlock(&idxd->dev_lock); in idxd_device_disable() 590 spin_lock(&idxd->dev_lock); in idxd_device_reset() 595 spin_unlock(&idxd->dev_lock); in idxd_device_reset() 685 lockdep_assert_held(&idxd->dev_lock); in idxd_engines_clear_state() 697 lockdep_assert_held(&idxd->dev_lock); in idxd_groups_clear_state() [all …]
|
D | irq.c | 70 spin_lock(&idxd->dev_lock); in process_misc_interrupts() 95 spin_unlock(&idxd->dev_lock); in process_misc_interrupts() 143 spin_lock(&idxd->dev_lock); in process_misc_interrupts() 149 spin_unlock(&idxd->dev_lock); in process_misc_interrupts()
|
D | cdev.c | 224 spin_lock(&idxd->dev_lock); in idxd_cdev_poll() 227 spin_unlock(&idxd->dev_lock); in idxd_cdev_poll()
|
D | sysfs.c | 1110 spin_lock(&idxd->dev_lock); in clients_show() 1116 spin_unlock(&idxd->dev_lock); in clients_show() 1155 spin_lock(&idxd->dev_lock); in errors_show() 1158 spin_unlock(&idxd->dev_lock); in errors_show()
|
/drivers/block/rnbd/ |
D | rnbd-srv.c | 64 static DEFINE_SPINLOCK(dev_lock); 188 spin_lock(&dev_lock); in destroy_device() 190 spin_unlock(&dev_lock); in destroy_device() 454 spin_lock(&dev_lock); in rnbd_srv_find_or_add_srv_dev() 463 spin_unlock(&dev_lock); in rnbd_srv_find_or_add_srv_dev() 468 spin_unlock(&dev_lock); in rnbd_srv_find_or_add_srv_dev()
|
/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 103 spinlock_t dev_lock; member 182 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_reg_read() 184 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_reg_read() 230 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_reg_write() 232 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_reg_write() 242 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_tx_writefifo() 264 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_tx_writefifo() 274 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_tx_writefifo_shift() 298 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_tx_writefifo_shift() 308 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_rx_readfifo() [all …]
|
/drivers/usb/class/ |
D | usbtmc.c | 112 spinlock_t dev_lock; /* lock for file_list */ member 201 spin_lock_irq(&data->dev_lock); in usbtmc_open() 203 spin_unlock_irq(&data->dev_lock); in usbtmc_open() 252 spin_lock_irq(&file_data->data->dev_lock); in usbtmc_release() 256 spin_unlock_irq(&file_data->data->dev_lock); in usbtmc_release() 583 spin_lock_irq(&data->dev_lock); in usbtmc_ioctl_get_srq_stb() 588 spin_unlock_irq(&data->dev_lock); in usbtmc_ioctl_get_srq_stb() 591 spin_unlock_irq(&data->dev_lock); in usbtmc_ioctl_get_srq_stb() 2311 spin_lock_irqsave(&data->dev_lock, flags); in usbtmc_interrupt() 2321 spin_unlock_irqrestore(&data->dev_lock, flags); in usbtmc_interrupt() [all …]
|
/drivers/crypto/hisilicon/sec/ |
D | sec_drv.c | 635 mutex_lock(&info->dev_lock); in sec_alloc_queue() 642 mutex_unlock(&info->dev_lock); in sec_alloc_queue() 646 mutex_unlock(&info->dev_lock); in sec_alloc_queue() 665 mutex_lock(&info->dev_lock); in sec_queue_free() 668 mutex_unlock(&info->dev_lock); in sec_queue_free() 1220 mutex_init(&info->dev_lock); in sec_probe()
|
D | sec_drv.h | 410 struct mutex dev_lock; member
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 307 mutex_lock(&dev->dev_lock); in ocrdma_put_pd_num() 309 mutex_unlock(&dev->dev_lock); in ocrdma_put_pd_num() 318 mutex_lock(&dev->dev_lock); in ocrdma_get_pd_num() 341 mutex_unlock(&dev->dev_lock); in ocrdma_get_pd_num() 1319 mutex_lock(&dev->dev_lock); in ocrdma_create_qp() 1346 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp() 1354 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp() 1398 mutex_lock(&dev->dev_lock); in ocrdma_modify_qp() 1420 mutex_unlock(&dev->dev_lock); in ocrdma_modify_qp() 1464 mutex_lock(&dev->dev_lock); in ocrdma_query_qp() [all …]
|
D | ocrdma_main.c | 234 mutex_init(&dev->dev_lock); in ocrdma_alloc_resources()
|
D | ocrdma.h | 242 struct mutex dev_lock; /* provides syncronise access to device data */ member
|
/drivers/media/usb/dvb-usb/ |
D | cxusb.h | 129 struct mutex dev_lock; member
|
D | cxusb-analog.c | 1604 mutex_destroy(&cxdev->dev_lock); in cxusb_medion_v4l2_release() 1636 cxdev->videoqueue.lock = &cxdev->dev_lock; in cxusb_medion_register_analog_video() 1660 cxdev->videodev->lock = &cxdev->dev_lock; in cxusb_medion_register_analog_video() 1695 cxdev->radiodev->lock = &cxdev->dev_lock; in cxusb_medion_register_analog_radio() 1781 mutex_init(&cxdev->dev_lock); in cxusb_medion_register_analog() 1791 mutex_destroy(&cxdev->dev_lock); in cxusb_medion_register_analog()
|
/drivers/net/ethernet/8390/ |
D | axnet_cs.c | 877 #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() 1610 spin_lock_irqsave(&dev_lock(dev), flags); in set_multicast_list() 1612 spin_unlock_irqrestore(&dev_lock(dev), flags); in set_multicast_list()
|
/drivers/block/mtip32xx/ |
D | mtip32xx.c | 100 static DEFINE_SPINLOCK(dev_lock); 2187 spin_lock_irqsave(&dev_lock, flags); in show_device_status() 2247 spin_unlock_irqrestore(&dev_lock, flags); in show_device_status() 4053 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_probe() 4055 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_probe() 4095 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_remove() 4098 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_remove() 4131 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_remove() 4133 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_remove()
|