Home
last modified time | relevance | path

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

/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 …]
A Duniperif.h1325 struct mutex ctrl_lock; /* For resource updated by stream and controls*/ member
/linux/drivers/pwm/
A Dpwm-sun4i.c90 spinlock_t ctrl_lock; member
261 spin_lock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
269 spin_unlock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
302 spin_unlock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
318 spin_lock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
323 spin_unlock(&sun4i_pwm->ctrl_lock); in sun4i_pwm_apply()
464 spin_lock_init(&pwm->ctrl_lock); in sun4i_pwm_probe()
/linux/drivers/crypto/virtio/
A Dvirtio_crypto_algs.c136 spin_lock(&vcrypto->ctrl_lock); in virtio_crypto_alg_skcipher_init_session()
169 spin_unlock(&vcrypto->ctrl_lock); in virtio_crypto_alg_skcipher_init_session()
184 spin_unlock(&vcrypto->ctrl_lock); in virtio_crypto_alg_skcipher_init_session()
198 spin_unlock(&vcrypto->ctrl_lock); in virtio_crypto_alg_skcipher_init_session()
215 spin_lock(&vcrypto->ctrl_lock); in virtio_crypto_alg_skcipher_close_session()
243 spin_unlock(&vcrypto->ctrl_lock); in virtio_crypto_alg_skcipher_close_session()
253 spin_unlock(&vcrypto->ctrl_lock); in virtio_crypto_alg_skcipher_close_session()
260 spin_unlock(&vcrypto->ctrl_lock); in virtio_crypto_alg_skcipher_close_session()
A Dvirtio_crypto_common.h38 spinlock_t ctrl_lock; member
A Dvirtio_crypto_core.c362 spin_lock_init(&vcrypto->ctrl_lock); in virtcrypto_probe()
/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()
238 mutex_init(&cd->ctrl_lock); in controller_probe()
/linux/fs/ksmbd/
A Dserver.c39 static DEFINE_MUTEX(ctrl_lock);
376 mutex_lock(&ctrl_lock); in server_ctrl_handle_work()
387 mutex_unlock(&ctrl_lock); in server_ctrl_handle_work()
446 mutex_lock(&ctrl_lock); in kill_server_store()
451 mutex_unlock(&ctrl_lock); in kill_server_store()
/linux/sound/soc/codecs/
A Dab8500-codec.c119 struct mutex ctrl_lock; member
1122 mutex_lock(&drvdata->ctrl_lock); in sid_status_control_get()
1124 mutex_unlock(&drvdata->ctrl_lock); in sid_status_control_get()
1147 mutex_lock(&drvdata->ctrl_lock); in sid_status_control_put()
1178 mutex_unlock(&drvdata->ctrl_lock); in sid_status_control_put()
1191 mutex_lock(&drvdata->ctrl_lock); in anc_status_control_get()
1193 mutex_unlock(&drvdata->ctrl_lock); in anc_status_control_get()
1211 mutex_lock(&drvdata->ctrl_lock); in anc_status_control_put()
1290 mutex_lock(&drvdata->ctrl_lock); in filter_control_get()
1307 mutex_lock(&drvdata->ctrl_lock); in filter_control_put()
[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 …]
A Dda7219-aad.c122 mutex_lock(&da7219->ctrl_lock); in da7219_aad_hptest_work()
131 mutex_unlock(&da7219->ctrl_lock); in da7219_aad_hptest_work()
325 mutex_unlock(&da7219->ctrl_lock); in da7219_aad_hptest_work()
A Dda7219.h815 struct mutex ctrl_lock; member
/linux/drivers/dma/qcom/
A 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()
1573 mutex_unlock(&gpii->ctrl_lock); in gpi_pause()
1585 mutex_lock(&gpii->ctrl_lock); in gpi_resume()
1607 mutex_unlock(&gpii->ctrl_lock); in gpi_resume()
1964 mutex_unlock(&gpii->ctrl_lock); in gpi_ch_init()
1976 mutex_lock(&gpii->ctrl_lock); in gpi_free_chan_resources()
2045 mutex_lock(&gpii->ctrl_lock); in gpi_alloc_chan_resources()
[all …]
/linux/sound/soc/stm/
A Dstm32_sai_sub.c128 struct mutex ctrl_lock; /* protect resources accessed by controls */ member
276 mutex_lock(&sai->ctrl_lock); in snd_pcm_iec958_get()
278 mutex_unlock(&sai->ctrl_lock); in snd_pcm_iec958_get()
288 mutex_lock(&sai->ctrl_lock); in snd_pcm_iec958_put()
290 mutex_unlock(&sai->ctrl_lock); in snd_pcm_iec958_put()
952 mutex_lock(&sai->ctrl_lock); in stm32_sai_set_iec958_status()
985 mutex_unlock(&sai->ctrl_lock); in stm32_sai_set_iec958_status()
1523 mutex_init(&sai->ctrl_lock); in stm32_sai_sub_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/drivers/gpu/drm/gud/
A Dgud_drv.c163 mutex_lock(&gdrm->ctrl_lock); in gud_usb_transfer()
184 mutex_unlock(&gdrm->ctrl_lock); in gud_usb_transfer()
431 mutex_destroy(&gdrm->ctrl_lock); in gud_free_buffers_and_mutex()
480 mutex_init(&gdrm->ctrl_lock); in gud_probe()
A Dgud_internal.h40 struct mutex ctrl_lock; /* Serialize get/set and status transfers */ member
/linux/drivers/media/platform/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()
634 spin_lock_init(&dev->ctrl_lock); in g2d_probe()
A Dg2d.h22 spinlock_t ctrl_lock; member
/linux/drivers/media/platform/rockchip/rga/
A Drga.c41 spin_lock_irqsave(&rga->ctrl_lock, flags); in device_run()
53 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()
814 spin_lock_init(&rga->ctrl_lock); in rga_probe()
A Drga.h79 spinlock_t ctrl_lock; member
/linux/drivers/pci/hotplug/
A Dpciehp_hpc.c160 mutex_lock(&ctrl->ctrl_lock); in pcie_do_write_cmd()
201 mutex_unlock(&ctrl->ctrl_lock); in pcie_do_write_cmd()
991 mutex_init(&ctrl->ctrl_lock); in pcie_init()
A Dpciehp.h93 struct mutex ctrl_lock; member
/linux/drivers/isdn/hardware/mISDN/
A Dhfcsusb.h295 spinlock_t ctrl_lock; /* lock for ctrl */ member
A Dhfcsusb.c84 spin_lock(&hw->ctrl_lock); in write_reg()
86 spin_unlock(&hw->ctrl_lock); in write_reg()
96 spin_unlock(&hw->ctrl_lock); in write_reg()
1841 spin_lock_init(&hw->ctrl_lock); in setup_instance()

Completed in 99 milliseconds