Searched refs:alsa_stream (Results 1 – 3 of 3) sorted by relevance
| /Linux-v4.19/drivers/staging/vc04_services/bcm2835-audio/ |
| D | bcm2835-pcm.c | 52 void bcm2835_playback_fifo(struct bcm2835_alsa_stream *alsa_stream) in bcm2835_playback_fifo() argument 57 audio_info("alsa_stream=%p substream=%p\n", alsa_stream, in bcm2835_playback_fifo() 58 alsa_stream ? alsa_stream->substream : 0); in bcm2835_playback_fifo() 60 if (alsa_stream->open) in bcm2835_playback_fifo() 61 consumed = bcm2835_audio_retrieve_buffers(alsa_stream); in bcm2835_playback_fifo() 67 if (alsa_stream->period_size) { in bcm2835_playback_fifo() 68 if ((alsa_stream->pos / alsa_stream->period_size) != in bcm2835_playback_fifo() 69 ((alsa_stream->pos + consumed) / alsa_stream->period_size)) in bcm2835_playback_fifo() 73 alsa_stream->pos, in bcm2835_playback_fifo() 75 alsa_stream->buffer_size, in bcm2835_playback_fifo() [all …]
|
| D | bcm2835-vchiq.c | 51 struct bcm2835_alsa_stream *alsa_stream; member 64 static int bcm2835_audio_stop_worker(struct bcm2835_alsa_stream *alsa_stream); 65 static int bcm2835_audio_start_worker(struct bcm2835_alsa_stream *alsa_stream); 66 static int bcm2835_audio_write_worker(struct bcm2835_alsa_stream *alsa_stream, 88 struct bcm2835_alsa_stream *alsa_stream; member 102 ret = bcm2835_audio_start_worker(w->alsa_stream); in my_wq_function() 105 ret = bcm2835_audio_stop_worker(w->alsa_stream); in my_wq_function() 108 ret = bcm2835_audio_write_worker(w->alsa_stream, w->count, in my_wq_function() 112 LOG_ERR(" Unexpected work: %p:%d\n", w->alsa_stream, w->cmd); in my_wq_function() 118 int bcm2835_audio_start(struct bcm2835_alsa_stream *alsa_stream) in bcm2835_audio_start() argument [all …]
|
| D | bcm2835.h | 104 struct bcm2835_alsa_stream *alsa_stream[MAX_SUBSTREAMS]; member 157 int bcm2835_audio_open(struct bcm2835_alsa_stream *alsa_stream); 158 int bcm2835_audio_close(struct bcm2835_alsa_stream *alsa_stream); 159 int bcm2835_audio_set_params(struct bcm2835_alsa_stream *alsa_stream, 162 int bcm2835_audio_setup(struct bcm2835_alsa_stream *alsa_stream); 163 int bcm2835_audio_start(struct bcm2835_alsa_stream *alsa_stream); 164 int bcm2835_audio_stop(struct bcm2835_alsa_stream *alsa_stream); 166 int bcm2835_audio_write(struct bcm2835_alsa_stream *alsa_stream, 169 void bcm2835_playback_fifo(struct bcm2835_alsa_stream *alsa_stream); 170 unsigned int bcm2835_audio_retrieve_buffers(struct bcm2835_alsa_stream *alsa_stream); [all …]
|