Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
H A Dtpm-dev-common.c66 mutex_lock(&priv->buffer_mutex); in tpm_dev_async_work()
88 mutex_unlock(&priv->buffer_mutex); in tpm_dev_async_work()
107 mutex_lock(&priv->buffer_mutex); in tpm_timeout_work()
111 mutex_unlock(&priv->buffer_mutex); in tpm_timeout_work()
122 mutex_init(&priv->buffer_mutex); in tpm_common_open()
137 mutex_lock(&priv->buffer_mutex); in tpm_common_read()
166 mutex_unlock(&priv->buffer_mutex); in tpm_common_read()
179 mutex_lock(&priv->buffer_mutex); in tpm_common_write()
215 mutex_unlock(&priv->buffer_mutex); in tpm_common_write()
238 mutex_unlock(&priv->buffer_mutex); in tpm_common_write()
[all …]
H A Dtpm-dev.h12 struct mutex buffer_mutex; member
/linux/drivers/net/ieee802154/
H A 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/drivers/media/platform/chips-media/coda/
H A Dcoda.h225 struct mutex buffer_mutex; member
H A 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()
/linux/sound/core/
H A Dpcm.c966 mutex_init(&runtime->buffer_mutex); in snd_pcm_attach_substream()
1003 mutex_destroy(&runtime->buffer_mutex); in snd_pcm_detach_substream()
H A Dpcm_native.c708 /* acquire buffer_mutex; if it's in r/w operation, return -EBUSY, otherwise
715 mutex_lock(&runtime->buffer_mutex); in snd_pcm_buffer_access_lock()
716 return 0; /* keep buffer_mutex, unlocked by below */ in snd_pcm_buffer_access_lock()
719 /* release buffer_mutex and clear r/w access flag */
722 mutex_unlock(&runtime->buffer_mutex); in snd_pcm_buffer_access_unlock()
1236 mutex_lock_nested(&s->runtime->buffer_mutex, depth); in snd_pcm_action_group()
1269 mutex_unlock(&s1->runtime->buffer_mutex); in snd_pcm_action_group()
/linux/include/sound/
H A Dpcm.h421 struct mutex buffer_mutex; /* protect for buffer changes */ member