Home
last modified time | relevance | path

Searched refs:ctrl_lock (Results 1 – 25 of 29) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dtable.c40 __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 Dcontext.c201 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 Daction.c88 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 Dmatcher.c977 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 Dcontext.h47 struct mutex ctrl_lock; /* control lock to protect the whole context */ member
A Ddebug.c456 mutex_lock(&ctx->ctrl_lock); in hws_debug_dump()
458 mutex_unlock(&ctx->ctrl_lock); in hws_debug_dump()
A Dpat_arg.c373 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 Drpmsg_ctrl.c52 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 Dsnet_ctrl.c150 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 Dsnet_vdpa.h60 struct mutex ctrl_lock; member
/drivers/crypto/virtio/
A Dvirtio_crypto_core.c37 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 Dvirtio_crypto_common.h44 spinlock_t ctrl_lock; member
/drivers/dma/qcom/
A Dgpi.c508 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 Ddma2d.c231 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 Ddma2d.h113 spinlock_t ctrl_lock; member
/drivers/media/pci/intel/ivsc/
A Dmei_csi.c128 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 Dcatc.c157 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 Dgud_drv.c165 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 Dgud_internal.h39 struct mutex ctrl_lock; /* Serialize get/set and status transfers */ member
/drivers/media/platform/samsung/s5p-g2d/
A Dg2d.c177 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 Dg2d.h22 spinlock_t ctrl_lock; member
/drivers/media/platform/rockchip/rga/
A Drga.c41 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 Drga.h87 spinlock_t ctrl_lock; member
/drivers/pci/hotplug/
A Dpciehp.h99 struct mutex ctrl_lock; member
A Dpciehp_hpc.c163 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()

Completed in 50 milliseconds

12