Searched refs:buffer_mutex (Results 1 – 8 of 8) sorted by relevance
66 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 …]
12 struct mutex buffer_mutex; member
205 struct mutex buffer_mutex; /* SPI buffer mutex */ member230 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 …]
225 struct mutex buffer_mutex; member
1710 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()
966 mutex_init(&runtime->buffer_mutex); in snd_pcm_attach_substream()1003 mutex_destroy(&runtime->buffer_mutex); in snd_pcm_detach_substream()
708 /* acquire buffer_mutex; if it's in r/w operation, return -EBUSY, otherwise715 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()
421 struct mutex buffer_mutex; /* protect for buffer changes */ member