Home
last modified time | relevance | path

Searched refs:buffer_mutex (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/char/tpm/
Dtpm-dev-common.c61 mutex_lock(&priv->buffer_mutex); in tpm_dev_async_work()
83 mutex_unlock(&priv->buffer_mutex); in tpm_dev_async_work()
102 mutex_lock(&priv->buffer_mutex); in tpm_timeout_work()
106 mutex_unlock(&priv->buffer_mutex); in tpm_timeout_work()
117 mutex_init(&priv->buffer_mutex); in tpm_common_open()
132 mutex_lock(&priv->buffer_mutex); in tpm_common_read()
161 mutex_unlock(&priv->buffer_mutex); in tpm_common_read()
174 mutex_lock(&priv->buffer_mutex); in tpm_common_write()
210 mutex_unlock(&priv->buffer_mutex); in tpm_common_write()
233 mutex_unlock(&priv->buffer_mutex); in tpm_common_write()
[all …]
Dtpm-dev.h12 struct mutex buffer_mutex; member
/linux-6.1.9/drivers/net/ieee802154/
Dcc2520.c206 struct mutex buffer_mutex; /* SPI buffer mutex */ member
231 mutex_lock(&priv->buffer_mutex); in cc2520_cmd_strobe()
240 mutex_unlock(&priv->buffer_mutex); in cc2520_cmd_strobe()
259 mutex_lock(&priv->buffer_mutex); in cc2520_get_status()
269 mutex_unlock(&priv->buffer_mutex); in cc2520_get_status()
288 mutex_lock(&priv->buffer_mutex); in cc2520_write_register()
302 mutex_unlock(&priv->buffer_mutex); in cc2520_write_register()
323 mutex_lock(&priv->buffer_mutex); in cc2520_write_ram()
337 mutex_unlock(&priv->buffer_mutex); in cc2520_write_ram()
361 mutex_lock(&priv->buffer_mutex); in cc2520_read_register()
[all …]
/linux-6.1.9/drivers/media/platform/chips-media/
Dcoda.h225 struct mutex buffer_mutex; member
Dcoda-bit.c1710 mutex_lock(&ctx->buffer_mutex); in coda_seq_end_work()
1739 mutex_unlock(&ctx->buffer_mutex); in coda_seq_end_work()
1744 mutex_lock(&ctx->buffer_mutex); in coda_bit_release()
1748 mutex_unlock(&ctx->buffer_mutex); in coda_bit_release()
2047 mutex_lock(&ctx->buffer_mutex); in coda_dec_seq_init_work()
2054 mutex_unlock(&ctx->buffer_mutex); in coda_dec_seq_init_work()
Dcoda-common.c1533 mutex_lock(&ctx->buffer_mutex); in coda_pic_run_work()
1562 mutex_unlock(&ctx->buffer_mutex); in coda_pic_run_work()
2710 mutex_init(&ctx->buffer_mutex); in coda_open()
/linux-6.1.9/sound/core/
Dpcm.c974 mutex_init(&runtime->buffer_mutex); in snd_pcm_attach_substream()
1009 mutex_destroy(&runtime->buffer_mutex); in snd_pcm_detach_substream()
Dpcm_native.c695 mutex_lock(&runtime->buffer_mutex); in snd_pcm_buffer_access_lock()
702 mutex_unlock(&runtime->buffer_mutex); in snd_pcm_buffer_access_unlock()
1224 mutex_lock_nested(&s->runtime->buffer_mutex, depth); in snd_pcm_action_group()
1257 mutex_unlock(&s1->runtime->buffer_mutex); in snd_pcm_action_group()
/linux-6.1.9/include/sound/
Dpcm.h406 struct mutex buffer_mutex; /* protect for buffer changes */ member