Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dmlx5hws_table.c191 mutex_lock(&ctx->ctrl_lock); in hws_table_init()
195 mutex_unlock(&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()
471 mutex_lock(&ctx->ctrl_lock); in mlx5hws_table_set_default_miss()
[all …]
A Dmlx5hws_context.c204 mutex_init(&ctx->ctrl_lock); in mlx5hws_context_open()
233 mutex_destroy(&ctx->ctrl_lock); in mlx5hws_context_open()
245 mutex_destroy(&ctx->ctrl_lock); in mlx5hws_context_close()
254 mutex_lock(&ctx->ctrl_lock); in mlx5hws_context_set_peer()
259 mutex_unlock(&ctx->ctrl_lock); in mlx5hws_context_set_peer()
A Dmlx5hws_action.c85 mutex_lock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic()
88 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic()
130 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic()
137 mutex_unlock(&ctx->ctrl_lock); in hws_action_get_shared_stc_nic()
180 mutex_lock(&ctx->ctrl_lock); in hws_action_put_shared_stc()
191 mutex_unlock(&ctx->ctrl_lock); in hws_action_put_shared_stc()
321 __must_hold(&ctx->ctrl_lock) in mlx5hws_action_alloc_single_stc()
388 __must_hold(&ctx->ctrl_lock) in mlx5hws_action_free_single_stc()
558 mutex_lock(&ctx->ctrl_lock); in hws_action_create_stcs()
584 mutex_lock(&ctx->ctrl_lock); in hws_action_destroy_stcs()
[all …]
A Dmlx5hws_context.h44 struct mutex ctrl_lock; /* control lock to protect the whole context */ member
A Dmlx5hws_matcher.c920 mutex_lock(&ctx->ctrl_lock); in hws_matcher_init()
931 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_init()
938 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_init()
946 mutex_lock(&ctx->ctrl_lock); in hws_matcher_uninit()
949 mutex_unlock(&ctx->ctrl_lock); in hws_matcher_uninit()
1182 mutex_lock(&src_matcher->tbl->ctx->ctrl_lock); in mlx5hws_matcher_resize_set_target()
1195 mutex_unlock(&src_matcher->tbl->ctx->ctrl_lock); in mlx5hws_matcher_resize_set_target()
/linux/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()
/linux/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()
/linux/sound/soc/sti/
A Duniperif_player.c366 mutex_lock(&player->ctrl_lock); in uni_player_prepare_iec958()
369 mutex_unlock(&player->ctrl_lock); in uni_player_prepare_iec958()
549 mutex_lock(&player->ctrl_lock); in uni_player_prepare_tdm()
553 mutex_unlock(&player->ctrl_lock); in uni_player_prepare_tdm()
578 mutex_lock(&player->ctrl_lock); in uni_player_ctl_iec958_get()
583 mutex_unlock(&player->ctrl_lock); in uni_player_ctl_iec958_get()
596 mutex_lock(&player->ctrl_lock); in uni_player_ctl_iec958_put()
645 mutex_lock(&player->ctrl_lock); in snd_sti_clk_adjustment_get()
664 mutex_lock(&player->ctrl_lock); in snd_sti_clk_adjustment_put()
737 mutex_lock(&player->ctrl_lock); in uni_player_set_sysclk()
[all …]
/linux/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()
/linux/drivers/pwm/
A Dpwm-sun4i.c88 spinlock_t ctrl_lock; member
261 spin_lock(&sun4ichip->ctrl_lock); in sun4i_pwm_apply()
269 spin_unlock(&sun4ichip->ctrl_lock); in sun4i_pwm_apply()
300 spin_unlock(&sun4ichip->ctrl_lock); in sun4i_pwm_apply()
312 spin_lock(&sun4ichip->ctrl_lock); in sun4i_pwm_apply()
317 spin_unlock(&sun4ichip->ctrl_lock); in sun4i_pwm_apply()
459 spin_lock_init(&sun4ichip->ctrl_lock); in sun4i_pwm_probe()
/linux/sound/soc/mediatek/mt8195/
A Dmt8195-afe-clk.c99 spinlock_t ctrl_lock; /* lock for apll tuner ctrl*/ member
212 spin_lock_init(&cfg->ctrl_lock); in mt8195_afe_init_apll_tuner()
300 spin_lock_irqsave(&cfg->ctrl_lock, flags); in mt8195_afe_enable_apll_tuner()
309 spin_unlock_irqrestore(&cfg->ctrl_lock, flags); in mt8195_afe_enable_apll_tuner()
324 spin_lock_irqsave(&cfg->ctrl_lock, flags); in mt8195_afe_disable_apll_tuner()
335 spin_unlock_irqrestore(&cfg->ctrl_lock, flags); in mt8195_afe_disable_apll_tuner()
/linux/drivers/staging/fieldbus/anybuss/
A Darcx-anybus.c44 struct mutex ctrl_lock; /* protects CONTROL register */ member
52 mutex_lock(&cd->ctrl_lock); in do_reset()
73 mutex_unlock(&cd->ctrl_lock); in do_reset()
241 mutex_init(&cd->ctrl_lock); in controller_probe()
/linux/sound/soc/mediatek/mt8188/
A Dmt8188-afe-clk.c107 spinlock_t ctrl_lock; /* lock for apll tuner ctrl*/ member
221 spin_lock_init(&cfg->ctrl_lock); in mt8188_afe_init_apll_tuner()
310 spin_lock_irqsave(&cfg->ctrl_lock, flags); in mt8188_afe_enable_apll_tuner()
319 spin_unlock_irqrestore(&cfg->ctrl_lock, flags); in mt8188_afe_enable_apll_tuner()
333 spin_lock_irqsave(&cfg->ctrl_lock, flags); in mt8188_afe_disable_apll_tuner()
344 spin_unlock_irqrestore(&cfg->ctrl_lock, flags); in mt8188_afe_disable_apll_tuner()
/linux/fs/smb/server/
A Dserver.c39 static DEFINE_MUTEX(ctrl_lock);
398 mutex_lock(&ctrl_lock); in server_ctrl_handle_work()
409 mutex_unlock(&ctrl_lock); in server_ctrl_handle_work()
466 mutex_lock(&ctrl_lock); in kill_server_store()
471 mutex_unlock(&ctrl_lock); in kill_server_store()
/linux/sound/soc/codecs/
A Dab8500-codec.c117 struct mutex ctrl_lock; member
1120 mutex_lock(&drvdata->ctrl_lock); in sid_status_control_get()
1122 mutex_unlock(&drvdata->ctrl_lock); in sid_status_control_get()
1145 mutex_lock(&drvdata->ctrl_lock); in sid_status_control_put()
1176 mutex_unlock(&drvdata->ctrl_lock); in sid_status_control_put()
1189 mutex_lock(&drvdata->ctrl_lock); in anc_status_control_get()
1191 mutex_unlock(&drvdata->ctrl_lock); in anc_status_control_get()
1209 mutex_lock(&drvdata->ctrl_lock); in anc_status_control_put()
1288 mutex_lock(&drvdata->ctrl_lock); in filter_control_get()
1305 mutex_lock(&drvdata->ctrl_lock); in filter_control_put()
[all …]
A Dda7213.c220 mutex_lock(&da7213->ctrl_lock); in da7213_volsw_locked_get()
222 mutex_unlock(&da7213->ctrl_lock); in da7213_volsw_locked_get()
234 mutex_lock(&da7213->ctrl_lock); in da7213_volsw_locked_put()
236 mutex_unlock(&da7213->ctrl_lock); in da7213_volsw_locked_put()
248 mutex_lock(&da7213->ctrl_lock); in da7213_enum_locked_get()
250 mutex_unlock(&da7213->ctrl_lock); in da7213_enum_locked_get()
262 mutex_lock(&da7213->ctrl_lock); in da7213_enum_locked_put()
264 mutex_unlock(&da7213->ctrl_lock); in da7213_enum_locked_put()
467 mutex_lock(&da7213->ctrl_lock); in da7213_tonegen_freq_get()
469 mutex_unlock(&da7213->ctrl_lock); in da7213_tonegen_freq_get()
[all …]
A Dda7219.c261 mutex_lock(&da7219->ctrl_lock); in da7219_volsw_locked_get()
263 mutex_unlock(&da7219->ctrl_lock); in da7219_volsw_locked_get()
275 mutex_lock(&da7219->ctrl_lock); in da7219_volsw_locked_put()
277 mutex_unlock(&da7219->ctrl_lock); in da7219_volsw_locked_put()
289 mutex_lock(&da7219->ctrl_lock); in da7219_enum_locked_get()
291 mutex_unlock(&da7219->ctrl_lock); in da7219_enum_locked_get()
303 mutex_lock(&da7219->ctrl_lock); in da7219_enum_locked_put()
305 mutex_unlock(&da7219->ctrl_lock); in da7219_enum_locked_put()
425 mutex_lock(&da7219->ctrl_lock); in da7219_tonegen_freq_get()
427 mutex_unlock(&da7219->ctrl_lock); in da7219_tonegen_freq_get()
[all …]
/linux/drivers/media/pci/intel/ivsc/
A Dmei_csi.c130 struct mutex ctrl_lock; member
564 mutex_init(&csi->ctrl_lock); in mei_csi_init_controls()
570 csi->ctrl_handler.lock = &csi->ctrl_lock; in mei_csi_init_controls()
762 mutex_destroy(&csi->ctrl_lock); in mei_csi_probe()
782 mutex_destroy(&csi->ctrl_lock); in mei_csi_remove()
/linux/drivers/media/platform/st/stm32/dma2d/
A Ddma2d.c233 spin_lock_irqsave(&ctx->dev->ctrl_lock, flags); in dma2d_s_ctrl()
248 spin_unlock_irqrestore(&ctx->dev->ctrl_lock, flags); in dma2d_s_ctrl()
251 spin_unlock_irqrestore(&ctx->dev->ctrl_lock, flags); in dma2d_s_ctrl()
478 spin_lock_irqsave(&dev->ctrl_lock, flags); in device_run()
515 spin_unlock_irqrestore(&dev->ctrl_lock, flags); in device_run()
612 spin_lock_init(&dev->ctrl_lock); in dma2d_probe()
/linux/drivers/dma/qcom/
A Dgpi.c506 struct mutex ctrl_lock; member
1474 mutex_lock(&gpii->ctrl_lock); in gpi_terminate_all()
1526 mutex_unlock(&gpii->ctrl_lock); in gpi_terminate_all()
1537 mutex_lock(&gpii->ctrl_lock); in gpi_pause()
1566 mutex_unlock(&gpii->ctrl_lock); in gpi_pause()
1578 mutex_lock(&gpii->ctrl_lock); in gpi_resume()
1600 mutex_unlock(&gpii->ctrl_lock); in gpi_resume()
1973 mutex_lock(&gpii->ctrl_lock); in gpi_free_chan_resources()
2032 mutex_unlock(&gpii->ctrl_lock); in gpi_free_chan_resources()
2042 mutex_lock(&gpii->ctrl_lock); in gpi_alloc_chan_resources()
[all …]
/linux/drivers/gpu/drm/gud/
A Dgud_drv.c164 mutex_lock(&gdrm->ctrl_lock); in gud_usb_transfer()
185 mutex_unlock(&gdrm->ctrl_lock); in gud_usb_transfer()
422 mutex_destroy(&gdrm->ctrl_lock); in gud_free_buffers_and_mutex()
471 mutex_init(&gdrm->ctrl_lock); in gud_probe()
/linux/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()
/linux/sound/soc/stm/
A Dstm32_sai_sub.c126 struct mutex ctrl_lock; /* protect resources accessed by controls */ member
274 mutex_lock(&sai->ctrl_lock); in snd_pcm_iec958_get()
276 mutex_unlock(&sai->ctrl_lock); in snd_pcm_iec958_get()
286 mutex_lock(&sai->ctrl_lock); in snd_pcm_iec958_put()
288 mutex_unlock(&sai->ctrl_lock); in snd_pcm_iec958_put()
950 mutex_lock(&sai->ctrl_lock); in stm32_sai_set_iec958_status()
983 mutex_unlock(&sai->ctrl_lock); in stm32_sai_set_iec958_status()
1519 mutex_init(&sai->ctrl_lock); in stm32_sai_sub_probe()
/linux/drivers/media/platform/samsung/s5p-g2d/
A Dg2d.c179 spin_lock_irqsave(&ctx->dev->ctrl_lock, flags); in g2d_s_ctrl()
193 spin_unlock_irqrestore(&ctx->dev->ctrl_lock, flags); in g2d_s_ctrl()
517 spin_lock_irqsave(&dev->ctrl_lock, flags); in device_run()
539 spin_unlock_irqrestore(&dev->ctrl_lock, flags); in device_run()
633 spin_lock_init(&dev->ctrl_lock); in g2d_probe()
A Dg2d.h22 spinlock_t ctrl_lock; member

Completed in 86 milliseconds

12