Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/rpmsg/
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-6.6.21/drivers/vdpa/solidrun/
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()
Dsnet_vdpa.h60 struct mutex ctrl_lock; member
/linux-6.6.21/sound/soc/sti/
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()
610 mutex_unlock(&player->ctrl_lock); in uni_player_ctl_iec958_put()
645 mutex_lock(&player->ctrl_lock); in snd_sti_clk_adjustment_get()
647 mutex_unlock(&player->ctrl_lock); in snd_sti_clk_adjustment_get()
[all …]
/linux-6.6.21/drivers/pwm/
Dpwm-sun4i.c89 spinlock_t ctrl_lock; member
262 spin_lock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
270 spin_unlock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
301 spin_unlock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
313 spin_lock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
318 spin_unlock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
459 spin_lock_init(&sun4ichip->ctrl_lock); in sun4i_pwm_probe()
/linux-6.6.21/drivers/crypto/virtio/
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()
48 spin_unlock_irqrestore(&vcrypto->ctrl_lock, flags); in virtcrypto_ctrlq_callback()
60 spin_lock_irqsave(&vcrypto->ctrl_lock, flags); in virtio_crypto_ctrl_vq_request()
63 spin_unlock_irqrestore(&vcrypto->ctrl_lock, flags); in virtio_crypto_ctrl_vq_request()
68 spin_unlock_irqrestore(&vcrypto->ctrl_lock, flags); in virtio_crypto_ctrl_vq_request()
428 spin_lock_init(&vcrypto->ctrl_lock); in virtcrypto_probe()
Dvirtio_crypto_common.h44 spinlock_t ctrl_lock; member
/linux-6.6.21/sound/soc/mediatek/mt8195/
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-6.6.21/drivers/staging/fieldbus/anybuss/
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()
238 mutex_init(&cd->ctrl_lock); in controller_probe()
/linux-6.6.21/sound/soc/mediatek/mt8188/
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-6.6.21/fs/smb/server/
Dserver.c39 static DEFINE_MUTEX(ctrl_lock);
394 mutex_lock(&ctrl_lock); in server_ctrl_handle_work()
405 mutex_unlock(&ctrl_lock); in server_ctrl_handle_work()
462 mutex_lock(&ctrl_lock); in kill_server_store()
467 mutex_unlock(&ctrl_lock); in kill_server_store()
/linux-6.6.21/sound/soc/codecs/
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()
1254 mutex_unlock(&drvdata->ctrl_lock); in anc_status_control_put()
1288 mutex_lock(&drvdata->ctrl_lock); in filter_control_get()
[all …]
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-6.6.21/drivers/media/platform/st/stm32/dma2d/
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()
Ddma2d.h113 spinlock_t ctrl_lock; member
/linux-6.6.21/drivers/dma/qcom/
Dgpi.c512 struct mutex ctrl_lock; member
1481 mutex_lock(&gpii->ctrl_lock); in gpi_terminate_all()
1533 mutex_unlock(&gpii->ctrl_lock); in gpi_terminate_all()
1544 mutex_lock(&gpii->ctrl_lock); in gpi_pause()
1552 mutex_unlock(&gpii->ctrl_lock); in gpi_pause()
1560 mutex_unlock(&gpii->ctrl_lock); in gpi_pause()
1573 mutex_unlock(&gpii->ctrl_lock); in gpi_pause()
1585 mutex_lock(&gpii->ctrl_lock); in gpi_resume()
1588 mutex_unlock(&gpii->ctrl_lock); in gpi_resume()
1599 mutex_unlock(&gpii->ctrl_lock); in gpi_resume()
[all …]
/linux-6.6.21/drivers/gpu/drm/gud/
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()
Dgud_internal.h40 struct mutex ctrl_lock; /* Serialize get/set and status transfers */ member
/linux-6.6.21/drivers/net/usb/
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-6.6.21/sound/soc/stm/
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()
1523 mutex_init(&sai->ctrl_lock); in stm32_sai_sub_probe()
/linux-6.6.21/drivers/media/platform/samsung/s5p-g2d/
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()
Dg2d.h22 spinlock_t ctrl_lock; member
/linux-6.6.21/drivers/media/platform/rockchip/rga/
Drga.c41 spin_lock_irqsave(&rga->ctrl_lock, flags); in device_run()
53 spin_unlock_irqrestore(&rga->ctrl_lock, flags); in device_run()
132 spin_lock_irqsave(&ctx->rga->ctrl_lock, flags); in rga_s_ctrl()
147 spin_unlock_irqrestore(&ctx->rga->ctrl_lock, flags); in rga_s_ctrl()
802 spin_lock_init(&rga->ctrl_lock); in rga_probe()
Drga.h79 spinlock_t ctrl_lock; member
/linux-6.6.21/drivers/pci/hotplug/
Dpciehp.h95 struct mutex ctrl_lock; member

12