/linux-6.6.21/Documentation/translations/zh_CN/driver-api/ |
D | io_ordering.rst | 28 CPU A: spin_lock_irqsave(&dev_lock, flags) 32 CPU A: spin_unlock_irqrestore(&dev_lock, flags) 34 CPU B: spin_lock_irqsave(&dev_lock, flags) 38 CPU B: spin_unlock_irqrestore(&dev_lock, flags) 45 CPU A: spin_lock_irqsave(&dev_lock, flags) 50 CPU A: spin_unlock_irqrestore(&dev_lock, flags) 52 CPU B: spin_lock_irqsave(&dev_lock, flags) 57 CPU B: spin_unlock_irqrestore(&dev_lock, flags)
|
/linux-6.6.21/drivers/media/platform/marvell/ |
D | cafe-driver.c | 153 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_done() 155 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_done() 166 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_data() 177 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_data() 200 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_write_data() 202 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_write_data() 230 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_read_done() 232 spin_unlock_irqrestore(&mcam->dev_lock, flags); in cafe_smbus_read_done() 245 spin_lock_irqsave(&mcam->dev_lock, flags); in cafe_smbus_read_data() 256 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
|
/linux-6.6.21/Documentation/translations/zh_TW/ |
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-6.6.21/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)
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/block/ |
D | sed-opal.c | 87 struct mutex dev_lock; member 2471 mutex_lock(&dev->dev_lock); in check_opal_support() 2476 mutex_unlock(&dev->dev_lock); in check_opal_support() 2486 mutex_lock(&dev->dev_lock); in clean_opal_dev() 2491 mutex_unlock(&dev->dev_lock); in clean_opal_dev() 2527 mutex_init(&dev->dev_lock); in init_opal_dev() 2565 mutex_lock(&dev->dev_lock); in opal_secure_erase_locking_range() 2568 mutex_unlock(&dev->dev_lock); in opal_secure_erase_locking_range() 2580 mutex_lock(&dev->dev_lock); in opal_get_discv() 2583 mutex_unlock(&dev->dev_lock); in opal_get_discv() [all …]
|
/linux-6.6.21/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
|
/linux-6.6.21/drivers/accel/qaic/ |
D | qaic_drv.c | 64 rcu_id = srcu_read_lock(&qdev->dev_lock); in qaic_open() 95 srcu_read_unlock(&qdev->dev_lock, rcu_id); in qaic_open() 104 srcu_read_unlock(&qdev->dev_lock, rcu_id); in qaic_open() 121 qdev_rcu_id = srcu_read_lock(&qdev->dev_lock); in qaic_postclose() 128 srcu_read_unlock(&qdev->dev_lock, qdev_rcu_id); in qaic_postclose() 327 synchronize_srcu(&qdev->dev_lock); in qaic_notify_reset() 372 init_srcu_struct(&qdev->dev_lock); in create_qdev() 393 cleanup_srcu_struct(&qdev->dev_lock); in cleanup_qdev()
|
D | qaic_data.c | 678 qdev_rcu_id = srcu_read_lock(&qdev->dev_lock); in qaic_create_bo_ioctl() 706 srcu_read_unlock(&qdev->dev_lock, qdev_rcu_id); in qaic_create_bo_ioctl() 716 srcu_read_unlock(&qdev->dev_lock, qdev_rcu_id); in qaic_create_bo_ioctl() 739 qdev_rcu_id = srcu_read_lock(&qdev->dev_lock); in qaic_mmap_bo_ioctl() 758 srcu_read_unlock(&qdev->dev_lock, qdev_rcu_id); in qaic_mmap_bo_ioctl() 959 qdev_rcu_id = srcu_read_lock(&qdev->dev_lock); in qaic_attach_slice_bo_ioctl() 1023 srcu_read_unlock(&qdev->dev_lock, qdev_rcu_id); in qaic_attach_slice_bo_ioctl() 1037 srcu_read_unlock(&qdev->dev_lock, qdev_rcu_id); in qaic_attach_slice_bo_ioctl() 1337 qdev_rcu_id = srcu_read_lock(&qdev->dev_lock); in __qaic_execute_bo_ioctl() 1385 srcu_read_unlock(&qdev->dev_lock, qdev_rcu_id); in __qaic_execute_bo_ioctl() [all …]
|
D | qaic.h | 120 struct srcu_struct dev_lock; member
|
/linux-6.6.21/drivers/dma/idxd/ |
D | device.c | 309 spin_lock(&idxd->dev_lock); in __idxd_wq_set_pasid_locked() 315 spin_unlock(&idxd->dev_lock); in __idxd_wq_set_pasid_locked() 347 spin_lock(&idxd->dev_lock); in idxd_wq_disable_pasid() 352 spin_unlock(&idxd->dev_lock); in idxd_wq_disable_pasid() 575 spin_lock(&idxd->dev_lock); in idxd_device_reset() 577 spin_unlock(&idxd->dev_lock); in idxd_device_reset() 667 lockdep_assert_held(&idxd->dev_lock); in idxd_engines_clear_state() 679 lockdep_assert_held(&idxd->dev_lock); in idxd_groups_clear_state() 728 spin_lock(&idxd->dev_lock); in idxd_device_clear_state() 732 spin_lock(&idxd->dev_lock); in idxd_device_clear_state() [all …]
|
/linux-6.6.21/drivers/block/rnbd/ |
D | rnbd-srv.c | 64 static DEFINE_SPINLOCK(dev_lock); 185 spin_lock(&dev_lock); in destroy_device() 187 spin_unlock(&dev_lock); in destroy_device() 446 spin_lock(&dev_lock); in rnbd_srv_find_or_add_srv_dev() 455 spin_unlock(&dev_lock); in rnbd_srv_find_or_add_srv_dev() 460 spin_unlock(&dev_lock); in rnbd_srv_find_or_add_srv_dev()
|
/linux-6.6.21/net/core/ |
D | netpoll.c | 197 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev() 204 up(&ni->dev_lock); in netpoll_poll_dev() 214 up(&ni->dev_lock); in netpoll_poll_dev() 228 down(&ni->dev_lock); in netpoll_poll_disable() 239 up(&ni->dev_lock); in netpoll_poll_enable() 646 sema_init(&npinfo->dev_lock, 1); in __netpoll_setup()
|
/linux-6.6.21/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 102 spinlock_t dev_lock; member 181 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_reg_read() 183 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_reg_read() 229 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_reg_write() 231 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_reg_write() 241 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_tx_writefifo() 263 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_tx_writefifo() 273 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_tx_writefifo_shift() 297 spin_unlock_irqrestore(&pdata->dev_lock, flags); in smsc911x_tx_writefifo_shift() 307 spin_lock_irqsave(&pdata->dev_lock, flags); in smsc911x_rx_readfifo() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/include/linux/ |
D | netpoll.h | 40 struct semaphore dev_lock; member
|
/linux-6.6.21/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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 309 mutex_lock(&dev->dev_lock); in ocrdma_put_pd_num() 311 mutex_unlock(&dev->dev_lock); in ocrdma_put_pd_num() 320 mutex_lock(&dev->dev_lock); in ocrdma_get_pd_num() 343 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() 1400 mutex_lock(&dev->dev_lock); in ocrdma_modify_qp() 1422 mutex_unlock(&dev->dev_lock); in ocrdma_modify_qp() 1466 mutex_lock(&dev->dev_lock); in ocrdma_query_qp() [all …]
|
/linux-6.6.21/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()
|