Searched refs:alsa_stream (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/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 55 struct snd_pcm_substream *substream = alsa_stream->substream; in bcm2835_playback_fifo() 58 if (!alsa_stream->period_size) in bcm2835_playback_fifo() 61 if (bytes >= alsa_stream->buffer_size) { in bcm2835_playback_fifo() 64 alsa_stream->draining ? in bcm2835_playback_fifo() 71 pos = atomic_read(&alsa_stream->pos); in bcm2835_playback_fifo() 73 pos %= alsa_stream->buffer_size; in bcm2835_playback_fifo() 74 atomic_set(&alsa_stream->pos, pos); in bcm2835_playback_fifo() 76 alsa_stream->period_offset += bytes; in bcm2835_playback_fifo() 77 alsa_stream->interpolate_start = ktime_get(); in bcm2835_playback_fifo() [all …]
|
D | bcm2835-vchiq.c | 15 struct bcm2835_alsa_stream *alsa_stream; member 28 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock() 34 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock() 49 status = vchiq_queue_kernel_message(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_send_msg_locked() 115 bcm2835_playback_fifo(instance->alsa_stream, in audio_vchi_callback() 150 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in vc_vchi_audio_init() 161 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in vc_vchi_audio_deinit() 165 status = vchiq_close_service(instance->alsa_stream->chip->vchi_ctx->instance, in vc_vchi_audio_deinit() 210 int bcm2835_audio_open(struct bcm2835_alsa_stream *alsa_stream) in bcm2835_audio_open() argument 212 struct bcm2835_vchi_ctx *vchi_ctx = alsa_stream->chip->vchi_ctx; in bcm2835_audio_open() [all …]
|
D | bcm2835.h | 57 struct bcm2835_alsa_stream *alsa_stream[MAX_SUBSTREAMS]; member 98 int bcm2835_audio_open(struct bcm2835_alsa_stream *alsa_stream); 99 int bcm2835_audio_close(struct bcm2835_alsa_stream *alsa_stream); 100 int bcm2835_audio_set_params(struct bcm2835_alsa_stream *alsa_stream, 103 int bcm2835_audio_start(struct bcm2835_alsa_stream *alsa_stream); 104 int bcm2835_audio_stop(struct bcm2835_alsa_stream *alsa_stream); 105 int bcm2835_audio_drain(struct bcm2835_alsa_stream *alsa_stream); 106 int bcm2835_audio_set_ctls(struct bcm2835_alsa_stream *alsa_stream); 107 int bcm2835_audio_write(struct bcm2835_alsa_stream *alsa_stream, 110 void bcm2835_playback_fifo(struct bcm2835_alsa_stream *alsa_stream, [all …]
|
D | bcm2835-ctl.c | 21 if (chip->alsa_stream[i]) { in bcm2835_audio_set_chip_ctls() 22 err = bcm2835_audio_set_ctls(chip->alsa_stream[i]); in bcm2835_audio_set_chip_ctls()
|