| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | table.c | 40 __must_hold(&tbl->ctx->ctrl_lock) in hws_table_up_default_fdb_miss_tbl() 82 __must_hold(&tbl->ctx->ctrl_lock) in hws_table_down_default_fdb_miss_tbl() 191 mutex_lock(&ctx->ctrl_lock); in hws_table_init() 206 mutex_unlock(&ctx->ctrl_lock); in hws_table_init() 212 mutex_unlock(&ctx->ctrl_lock); in hws_table_init() 249 mutex_lock(&ctx->ctrl_lock); in mlx5hws_table_create() 251 mutex_unlock(&ctx->ctrl_lock); in mlx5hws_table_create() 265 mutex_lock(&ctx->ctrl_lock); in mlx5hws_table_destroy() 279 mutex_unlock(&ctx->ctrl_lock); in mlx5hws_table_destroy() 287 mutex_unlock(&ctx->ctrl_lock); in mlx5hws_table_destroy() [all …]
|
| A D | context.c | 201 mutex_init(&ctx->ctrl_lock); in mlx5hws_context_open() 230 mutex_destroy(&ctx->ctrl_lock); in mlx5hws_context_open() 242 mutex_destroy(&ctx->ctrl_lock); in mlx5hws_context_close() 251 mutex_lock(&ctx->ctrl_lock); in mlx5hws_context_set_peer() 256 mutex_unlock(&ctx->ctrl_lock); in mlx5hws_context_set_peer()
|
| A D | action.c | 88 mutex_lock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic() 91 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic() 133 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic() 140 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic() 183 mutex_lock(&ctx->ctrl_lock); in hws_action_put_shared_stc() 194 mutex_unlock(&ctx->ctrl_lock); in hws_action_put_shared_stc() 323 __must_hold(&ctx->ctrl_lock) in mlx5hws_action_alloc_single_stc() 390 __must_hold(&ctx->ctrl_lock) in mlx5hws_action_free_single_stc() 561 mutex_lock(&ctx->ctrl_lock); in hws_action_create_stcs() 587 mutex_lock(&ctx->ctrl_lock); in hws_action_destroy_stcs() [all …]
|
| A D | matcher.c | 977 mutex_lock(&ctx->ctrl_lock); in hws_matcher_init() 988 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_init() 995 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_init() 1003 mutex_lock(&ctx->ctrl_lock); in hws_matcher_uninit() 1006 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_uninit() 1260 mutex_lock(&src_matcher->tbl->ctx->ctrl_lock); in mlx5hws_matcher_resize_set_target() 1269 mutex_unlock(&src_matcher->tbl->ctx->ctrl_lock); in mlx5hws_matcher_resize_set_target()
|
| A D | context.h | 47 struct mutex ctrl_lock; /* control lock to protect the whole context */ member
|
| A D | debug.c | 456 mutex_lock(&ctx->ctrl_lock); in hws_debug_dump() 458 mutex_unlock(&ctx->ctrl_lock); in hws_debug_dump()
|
| A D | pat_arg.c | 373 mutex_lock(&ctx->ctrl_lock); in mlx5hws_arg_write_inline_arg_data() 389 mutex_unlock(&ctx->ctrl_lock); in mlx5hws_arg_write_inline_arg_data()
|
| /drivers/rpmsg/ |
| A D | rpmsg_ctrl.c | 52 struct mutex ctrl_lock; member 92 mutex_lock(&ctrldev->ctrl_lock); in rpmsg_ctrldev_ioctl() 116 mutex_unlock(&ctrldev->ctrl_lock); in rpmsg_ctrldev_ioctl() 155 mutex_init(&ctrldev->ctrl_lock); in rpmsg_ctrldev_probe() 197 mutex_lock(&ctrldev->ctrl_lock); in rpmsg_ctrldev_remove() 202 mutex_unlock(&ctrldev->ctrl_lock); in rpmsg_ctrldev_remove()
|
| /drivers/vdpa/solidrun/ |
| A D | snet_ctrl.c | 150 mutex_lock(&snet->ctrl_lock); in snet_ctrl_read_from_dpu() 211 mutex_unlock(&snet->ctrl_lock); in snet_ctrl_read_from_dpu() 224 mutex_lock(&snet->ctrl_lock); in snet_send_ctrl_msg_old() 245 mutex_unlock(&snet->ctrl_lock); in snet_send_ctrl_msg_old() 263 mutex_lock(&snet->ctrl_lock); in snet_send_ctrl_msg() 306 mutex_unlock(&snet->ctrl_lock); in snet_send_ctrl_msg()
|
| A D | snet_vdpa.h | 60 struct mutex ctrl_lock; member
|
| /drivers/crypto/virtio/ |
| A D | virtio_crypto_core.c | 37 spin_lock_irqsave(&vcrypto->ctrl_lock, flags); in virtcrypto_ctrlq_callback() 41 spin_unlock_irqrestore(&vcrypto->ctrl_lock, flags); in virtcrypto_ctrlq_callback() 43 spin_lock_irqsave(&vcrypto->ctrl_lock, flags); in virtcrypto_ctrlq_callback() 46 spin_unlock_irqrestore(&vcrypto->ctrl_lock, flags); in virtcrypto_ctrlq_callback() 58 spin_lock_irqsave(&vcrypto->ctrl_lock, flags); in virtio_crypto_ctrl_vq_request() 61 spin_unlock_irqrestore(&vcrypto->ctrl_lock, flags); in virtio_crypto_ctrl_vq_request() 66 spin_unlock_irqrestore(&vcrypto->ctrl_lock, flags); in virtio_crypto_ctrl_vq_request() 419 spin_lock_init(&vcrypto->ctrl_lock); in virtcrypto_probe()
|
| A D | virtio_crypto_common.h | 44 spinlock_t ctrl_lock; member
|
| /drivers/dma/qcom/ |
| A D | gpi.c | 508 struct mutex ctrl_lock; member 1465 mutex_lock(&gpii->ctrl_lock); in gpi_terminate_all() 1517 mutex_unlock(&gpii->ctrl_lock); in gpi_terminate_all() 1528 mutex_lock(&gpii->ctrl_lock); in gpi_pause() 1557 mutex_unlock(&gpii->ctrl_lock); in gpi_pause() 1569 mutex_lock(&gpii->ctrl_lock); in gpi_resume() 1591 mutex_unlock(&gpii->ctrl_lock); in gpi_resume() 1981 mutex_lock(&gpii->ctrl_lock); in gpi_free_chan_resources() 2040 mutex_unlock(&gpii->ctrl_lock); in gpi_free_chan_resources() 2050 mutex_lock(&gpii->ctrl_lock); in gpi_alloc_chan_resources() [all …]
|
| /drivers/media/platform/st/stm32/dma2d/ |
| A D | dma2d.c | 231 spin_lock_irqsave(&ctx->dev->ctrl_lock, flags); in dma2d_s_ctrl() 246 spin_unlock_irqrestore(&ctx->dev->ctrl_lock, flags); in dma2d_s_ctrl() 249 spin_unlock_irqrestore(&ctx->dev->ctrl_lock, flags); in dma2d_s_ctrl() 476 spin_lock_irqsave(&dev->ctrl_lock, flags); in device_run() 514 spin_unlock_irqrestore(&dev->ctrl_lock, flags); in device_run() 611 spin_lock_init(&dev->ctrl_lock); in dma2d_probe()
|
| A D | dma2d.h | 113 spinlock_t ctrl_lock; member
|
| /drivers/media/pci/intel/ivsc/ |
| A D | mei_csi.c | 128 struct mutex ctrl_lock; member 549 mutex_init(&csi->ctrl_lock); in mei_csi_init_controls() 555 csi->ctrl_handler.lock = &csi->ctrl_lock; in mei_csi_init_controls() 736 mutex_destroy(&csi->ctrl_lock); in mei_csi_probe() 756 mutex_destroy(&csi->ctrl_lock); in mei_csi_remove()
|
| /drivers/net/usb/ |
| A D | catc.c | 157 spinlock_t tx_lock, ctrl_lock; member 509 spin_lock_irqsave(&catc->ctrl_lock, flags); in catc_ctrl_done() 530 spin_unlock_irqrestore(&catc->ctrl_lock, flags); in catc_ctrl_done() 540 spin_lock_irqsave(&catc->ctrl_lock, flags); in catc_ctrl_async() 563 spin_unlock_irqrestore(&catc->ctrl_lock, flags); in catc_ctrl_async() 801 spin_lock_init(&catc->ctrl_lock); in catc_probe()
|
| /drivers/gpu/drm/gud/ |
| A D | gud_drv.c | 165 mutex_lock(&gdrm->ctrl_lock); in gud_usb_transfer() 186 mutex_unlock(&gdrm->ctrl_lock); in gud_usb_transfer() 407 mutex_destroy(&gdrm->ctrl_lock); in gud_free_buffers_and_mutex() 457 mutex_init(&gdrm->ctrl_lock); in gud_probe()
|
| A D | gud_internal.h | 39 struct mutex ctrl_lock; /* Serialize get/set and status transfers */ member
|
| /drivers/media/platform/samsung/s5p-g2d/ |
| A D | g2d.c | 177 spin_lock_irqsave(&ctx->dev->ctrl_lock, flags); in g2d_s_ctrl() 191 spin_unlock_irqrestore(&ctx->dev->ctrl_lock, flags); in g2d_s_ctrl() 515 spin_lock_irqsave(&dev->ctrl_lock, flags); in device_run() 537 spin_unlock_irqrestore(&dev->ctrl_lock, flags); in device_run() 631 spin_lock_init(&dev->ctrl_lock); in g2d_probe()
|
| A D | g2d.h | 22 spinlock_t ctrl_lock; member
|
| /drivers/media/platform/rockchip/rga/ |
| A D | rga.c | 41 spin_lock_irqsave(&rga->ctrl_lock, flags); in device_run() 52 spin_unlock_irqrestore(&rga->ctrl_lock, flags); in device_run() 135 spin_lock_irqsave(&ctx->rga->ctrl_lock, flags); in rga_s_ctrl() 150 spin_unlock_irqrestore(&ctx->rga->ctrl_lock, flags); in rga_s_ctrl() 816 spin_lock_init(&rga->ctrl_lock); in rga_probe()
|
| A D | rga.h | 87 spinlock_t ctrl_lock; member
|
| /drivers/pci/hotplug/ |
| A D | pciehp.h | 99 struct mutex ctrl_lock; member
|
| A D | pciehp_hpc.c | 163 mutex_lock(&ctrl->ctrl_lock); in pcie_do_write_cmd() 204 mutex_unlock(&ctrl->ctrl_lock); in pcie_do_write_cmd() 1032 mutex_init(&ctrl->ctrl_lock); in pcie_init()
|