/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/ |
D | cafe-driver.c | 164 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_done() 166 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_done() 177 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_data() 188 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_data() 211 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_data() 213 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_data() 241 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_read_done() 243 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_read_done() 256 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_read_data() 267 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() 221 spin_lock_init(&mcam->dev_lock); in mmpcam_probe()
|
D | mcam-core.h | 108 spinlock_t dev_lock; member
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/Documentation/driver-api/ |
D | io_ordering.rst | 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)
|
/kernel/linux/linux-5.10/drivers/dma/idxd/ |
D | device.c | 309 lockdep_assert_held(&idxd->dev_lock); in idxd_wq_disable_cleanup() 360 spin_lock_irqsave(&idxd->dev_lock, flags); in idxd_device_init_reset() 366 spin_unlock_irqrestore(&idxd->dev_lock, flags); in idxd_device_init_reset() 389 spin_lock_irqsave(&idxd->dev_lock, flags); in idxd_cmd_exec() 392 idxd->dev_lock); in idxd_cmd_exec() 406 spin_unlock_irqrestore(&idxd->dev_lock, flags); in idxd_cmd_exec() 408 spin_lock_irqsave(&idxd->dev_lock, flags); in idxd_cmd_exec() 417 spin_unlock_irqrestore(&idxd->dev_lock, flags); in idxd_cmd_exec() 447 lockdep_assert_held(&idxd->dev_lock); in idxd_device_wqs_clear_state() 479 spin_lock_irqsave(&idxd->dev_lock, flags); in idxd_device_disable() [all …]
|
D | irq.c | 65 spin_lock_bh(&idxd->dev_lock); in process_misc_interrupts() 90 spin_unlock_bh(&idxd->dev_lock); in process_misc_interrupts() 137 spin_lock_bh(&idxd->dev_lock); in process_misc_interrupts() 143 spin_unlock_bh(&idxd->dev_lock); in process_misc_interrupts()
|
D | sysfs.c | 122 spin_lock_irqsave(&idxd->dev_lock, flags); in idxd_config_bus_probe() 124 spin_unlock_irqrestore(&idxd->dev_lock, flags); in idxd_config_bus_probe() 185 spin_lock_irqsave(&idxd->dev_lock, flags); in idxd_config_bus_probe() 187 spin_unlock_irqrestore(&idxd->dev_lock, flags); in idxd_config_bus_probe() 1311 spin_lock_irqsave(&idxd->dev_lock, flags); in clients_show() 1317 spin_unlock_irqrestore(&idxd->dev_lock, flags); in clients_show() 1351 spin_lock_irqsave(&idxd->dev_lock, flags); in errors_show() 1354 spin_unlock_irqrestore(&idxd->dev_lock, flags); in errors_show()
|
D | cdev.c | 176 spin_lock_irqsave(&idxd->dev_lock, flags); in idxd_cdev_poll() 179 spin_unlock_irqrestore(&idxd->dev_lock, flags); in idxd_cdev_poll()
|
/kernel/linux/linux-5.10/block/ |
D | sed-opal.c | 83 struct mutex dev_lock; member 2109 mutex_lock(&dev->dev_lock); in check_opal_support() 2113 mutex_unlock(&dev->dev_lock); in check_opal_support() 2123 mutex_lock(&dev->dev_lock); in clean_opal_dev() 2128 mutex_unlock(&dev->dev_lock); in clean_opal_dev() 2164 mutex_init(&dev->dev_lock); in init_opal_dev() 2198 mutex_lock(&dev->dev_lock); in opal_secure_erase_locking_range() 2201 mutex_unlock(&dev->dev_lock); in opal_secure_erase_locking_range() 2216 mutex_lock(&dev->dev_lock); in opal_erase_locking_range() 2219 mutex_unlock(&dev->dev_lock); in opal_erase_locking_range() [all …]
|
/kernel/linux/linux-5.10/drivers/block/rsxx/ |
D | dev.c | 195 mutex_lock(&card->dev_lock); in rsxx_attach_dev() 207 mutex_unlock(&card->dev_lock); in rsxx_attach_dev() 214 mutex_lock(&card->dev_lock); in rsxx_detach_dev() 221 mutex_unlock(&card->dev_lock); in rsxx_detach_dev() 228 mutex_init(&card->dev_lock); in rsxx_setup_dev()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-srv.c | 64 static DEFINE_SPINLOCK(dev_lock); 187 spin_lock(&dev_lock); in destroy_device() 189 spin_unlock(&dev_lock); in destroy_device() 444 spin_lock(&dev_lock); in rnbd_srv_find_or_add_srv_dev() 453 spin_unlock(&dev_lock); in rnbd_srv_find_or_add_srv_dev() 458 spin_unlock(&dev_lock); in rnbd_srv_find_or_add_srv_dev()
|
/kernel/linux/linux-5.10/net/core/ |
D | netpoll.c | 183 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev() 187 up(&ni->dev_lock); in netpoll_poll_dev() 197 up(&ni->dev_lock); in netpoll_poll_dev() 211 down(&ni->dev_lock); in netpoll_poll_disable() 222 up(&ni->dev_lock); in netpoll_poll_enable() 628 sema_init(&npinfo->dev_lock, 1); in __netpoll_setup()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | netpoll.h | 39 struct semaphore dev_lock; member
|
/kernel/linux/linux-5.10/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() 492 spin_lock_irq(&data->dev_lock); in usbtmc488_ioctl_read_stb() 497 spin_unlock_irq(&data->dev_lock); in usbtmc488_ioctl_read_stb() 503 spin_unlock_irq(&data->dev_lock); in usbtmc488_ioctl_read_stb() 2268 spin_lock_irqsave(&data->dev_lock, flags); in usbtmc_interrupt() 2278 spin_unlock_irqrestore(&data->dev_lock, flags); in usbtmc_interrupt() [all …]
|
/kernel/linux/linux-5.10/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() 1219 mutex_init(&info->dev_lock); in sec_probe()
|
D | sec_drv.h | 410 struct mutex dev_lock; member
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 1321 mutex_lock(&dev->dev_lock); in ocrdma_create_qp() 1348 mutex_unlock(&dev->dev_lock); in ocrdma_create_qp() 1356 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 …]
|
/kernel/linux/linux-5.10/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()
|