/linux-6.6.21/drivers/rpmsg/ |
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()
|
/linux-6.6.21/drivers/vdpa/solidrun/ |
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()
|
D | snet_vdpa.h | 60 struct mutex ctrl_lock; member
|
/linux-6.6.21/sound/soc/sti/ |
D | uniperif_player.c | 366 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/ |
D | pwm-sun4i.c | 89 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/ |
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() 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()
|
D | virtio_crypto_common.h | 44 spinlock_t ctrl_lock; member
|
/linux-6.6.21/sound/soc/mediatek/mt8195/ |
D | mt8195-afe-clk.c | 99 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/ |
D | arcx-anybus.c | 44 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/ |
D | mt8188-afe-clk.c | 107 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/ |
D | server.c | 39 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/ |
D | ab8500-codec.c | 117 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 …]
|
D | da7219.c | 261 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/ |
D | dma2d.c | 233 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()
|
D | dma2d.h | 113 spinlock_t ctrl_lock; member
|
/linux-6.6.21/drivers/dma/qcom/ |
D | gpi.c | 512 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/ |
D | gud_drv.c | 164 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()
|
D | gud_internal.h | 40 struct mutex ctrl_lock; /* Serialize get/set and status transfers */ member
|
/linux-6.6.21/drivers/net/usb/ |
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()
|
/linux-6.6.21/sound/soc/stm/ |
D | stm32_sai_sub.c | 126 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/ |
D | g2d.c | 179 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()
|
D | g2d.h | 22 spinlock_t ctrl_lock; member
|
/linux-6.6.21/drivers/media/platform/rockchip/rga/ |
D | rga.c | 41 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()
|
D | rga.h | 79 spinlock_t ctrl_lock; member
|
/linux-6.6.21/drivers/pci/hotplug/ |
D | pciehp.h | 95 struct mutex ctrl_lock; member
|