Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/net/ieee802154/
Dcc2520.c205 struct mutex buffer_mutex; /* SPI buffer mutex */ member
230 mutex_lock(&priv->buffer_mutex); in cc2520_cmd_strobe()
239 mutex_unlock(&priv->buffer_mutex); in cc2520_cmd_strobe()
258 mutex_lock(&priv->buffer_mutex); in cc2520_get_status()
268 mutex_unlock(&priv->buffer_mutex); in cc2520_get_status()
287 mutex_lock(&priv->buffer_mutex); in cc2520_write_register()
301 mutex_unlock(&priv->buffer_mutex); in cc2520_write_register()
322 mutex_lock(&priv->buffer_mutex); in cc2520_write_ram()
336 mutex_unlock(&priv->buffer_mutex); in cc2520_write_ram()
360 mutex_lock(&priv->buffer_mutex); in cc2520_read_register()
[all …]
/linux-6.6.21/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.6.21/sound/core/
Dpcm.c976 mutex_init(&runtime->buffer_mutex); in snd_pcm_attach_substream()
1011 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.6.21/include/sound/
Dpcm.h404 struct mutex buffer_mutex; /* protect for buffer changes */ member