/Linux-v4.19/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 | 454 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_frame_tasklet() 476 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_frame_tasklet() 481 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_frame_tasklet() 483 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_frame_tasklet() 811 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_configure() 816 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_configure() 841 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_init() 856 spin_unlock_irqrestore(&cam->dev_lock, flags); in mcam_ctlr_init() 873 spin_lock_irqsave(&cam->dev_lock, flags); in mcam_ctlr_stop_dma() 877 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
|
/Linux-v4.19/Documentation/translations/zh_CN/ |
D | io_ordering.txt | 35 CPU A: spin_lock_irqsave(&dev_lock, flags) 39 CPU A: spin_unlock_irqrestore(&dev_lock, flags) 41 CPU B: spin_lock_irqsave(&dev_lock, flags) 45 CPU B: spin_unlock_irqrestore(&dev_lock, flags) 52 CPU A: spin_lock_irqsave(&dev_lock, flags) 57 CPU A: spin_unlock_irqrestore(&dev_lock, flags) 59 CPU B: spin_lock_irqsave(&dev_lock, flags) 64 CPU B: spin_unlock_irqrestore(&dev_lock, flags)
|
/Linux-v4.19/Documentation/ |
D | io_ordering.txt | 18 CPU A: spin_lock_irqsave(&dev_lock, flags) 22 CPU A: spin_unlock_irqrestore(&dev_lock, flags) 24 CPU B: spin_lock_irqsave(&dev_lock, flags) 28 CPU B: spin_unlock_irqrestore(&dev_lock, flags) 35 CPU A: spin_lock_irqsave(&dev_lock, flags) 40 CPU A: spin_unlock_irqrestore(&dev_lock, flags) 42 CPU B: spin_lock_irqsave(&dev_lock, flags) 47 CPU B: spin_unlock_irqrestore(&dev_lock, flags)
|
/Linux-v4.19/block/ |
D | sed-opal.c | 89 struct mutex dev_lock; member 2005 mutex_lock(&dev->dev_lock); in check_opal_support() 2009 mutex_unlock(&dev->dev_lock); in check_opal_support() 2018 mutex_lock(&dev->dev_lock); in clean_opal_dev() 2023 mutex_unlock(&dev->dev_lock); in clean_opal_dev() 2044 mutex_init(&dev->dev_lock); in init_opal_dev() 2069 mutex_lock(&dev->dev_lock); in opal_secure_erase_locking_range() 2072 mutex_unlock(&dev->dev_lock); in opal_secure_erase_locking_range() 2088 mutex_lock(&dev->dev_lock); in opal_erase_locking_range() 2091 mutex_unlock(&dev->dev_lock); in opal_erase_locking_range() [all …]
|
/Linux-v4.19/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
|
/Linux-v4.19/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
|
/Linux-v4.19/Documentation/driver-api/ |
D | device-io.rst | 124 CPU A: spin_lock_irqsave(&dev_lock, flags) 127 CPU A: spin_unlock_irqrestore(&dev_lock, flags) 129 CPU B: spin_lock_irqsave(&dev_lock, flags) 132 CPU B: spin_unlock_irqrestore(&dev_lock, flags) 137 CPU A: spin_lock_irqsave(&dev_lock, flags) 141 CPU A: spin_unlock_irqrestore(&dev_lock, flags) 143 CPU B: spin_lock_irqsave(&dev_lock, flags) 147 CPU B: spin_unlock_irqrestore(&dev_lock, flags)
|
/Linux-v4.19/drivers/usb/class/ |
D | usbtmc.c | 110 spinlock_t dev_lock; /* lock for file_list */ member 170 spin_lock_irq(&data->dev_lock); in usbtmc_open() 172 spin_unlock_irq(&data->dev_lock); in usbtmc_open() 187 spin_lock_irq(&file_data->data->dev_lock); in usbtmc_release() 191 spin_unlock_irq(&file_data->data->dev_lock); in usbtmc_release() 435 spin_lock_irq(&data->dev_lock); in usbtmc488_ioctl_read_stb() 440 spin_unlock_irq(&data->dev_lock); in usbtmc488_ioctl_read_stb() 446 spin_unlock_irq(&data->dev_lock); in usbtmc488_ioctl_read_stb() 1506 spin_lock_irqsave(&data->dev_lock, flags); in usbtmc_interrupt() 1516 spin_unlock_irqrestore(&data->dev_lock, flags); in usbtmc_interrupt() [all …]
|
/Linux-v4.19/net/core/ |
D | netpoll.c | 181 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev() 185 up(&ni->dev_lock); in netpoll_poll_dev() 195 up(&ni->dev_lock); in netpoll_poll_dev() 209 down(&ni->dev_lock); in netpoll_poll_disable() 220 up(&ni->dev_lock); in netpoll_poll_enable() 608 sema_init(&npinfo->dev_lock, 1); in __netpoll_setup()
|
/Linux-v4.19/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 …]
|
/Linux-v4.19/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() 1222 mutex_init(&info->dev_lock); in sec_probe()
|
D | sec_drv.h | 410 struct mutex dev_lock; member
|
/Linux-v4.19/include/linux/ |
D | netpoll.h | 41 struct semaphore dev_lock; member
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 344 mutex_lock(&dev->dev_lock); in ocrdma_put_pd_num() 346 mutex_unlock(&dev->dev_lock); in ocrdma_put_pd_num() 355 mutex_lock(&dev->dev_lock); in ocrdma_get_pd_num() 378 mutex_unlock(&dev->dev_lock); in ocrdma_get_pd_num() 1396 mutex_lock(&dev->dev_lock); in ocrdma_create_qp() 1423 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp() 1431 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp() 1473 mutex_lock(&dev->dev_lock); in ocrdma_modify_qp() 1496 mutex_unlock(&dev->dev_lock); in ocrdma_modify_qp() 1540 mutex_lock(&dev->dev_lock); in ocrdma_query_qp() [all …]
|
D | ocrdma_main.c | 222 mutex_init(&dev->dev_lock); in ocrdma_alloc_resources()
|
D | ocrdma.h | 244 struct mutex dev_lock; /* provides syncronise access to device data */ member
|
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()
|
/Linux-v4.19/drivers/net/ethernet/8390/ |
D | axnet_cs.c | 875 #define dev_lock(dev) (((struct ei_device *)netdev_priv(dev))->page_lock) macro 891 spin_lock_irqsave(&dev_lock(dev), flags); in ax_close() 893 spin_unlock_irqrestore(&dev_lock(dev), flags); in ax_close() 1604 spin_lock_irqsave(&dev_lock(dev), flags); in set_multicast_list() 1606 spin_unlock_irqrestore(&dev_lock(dev), flags); in set_multicast_list()
|
/Linux-v4.19/drivers/block/mtip32xx/ |
D | mtip32xx.c | 109 static spinlock_t dev_lock; variable 2299 spin_lock_irqsave(&dev_lock, flags); in show_device_status() 2359 spin_unlock_irqrestore(&dev_lock, flags); in show_device_status() 4335 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_probe() 4337 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_probe() 4377 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_remove() 4380 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_remove() 4416 spin_lock_irqsave(&dev_lock, flags); in mtip_pci_remove() 4418 spin_unlock_irqrestore(&dev_lock, flags); in mtip_pci_remove() 4569 spin_lock_init(&dev_lock); in mtip_init()
|
/Linux-v4.19/fs/f2fs/ |
D | segment.c | 740 spin_lock(&sbi->dev_lock); in f2fs_flush_device_cache() 742 spin_unlock(&sbi->dev_lock); in f2fs_flush_device_cache() 2967 spin_lock(&sbi->dev_lock); in update_device_state() 2969 spin_unlock(&sbi->dev_lock); in update_device_state()
|