Home
last modified time | relevance | path

Searched refs:lx_stream (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/lx6464es/
Dlx6464es.c275 struct lx_stream *lx_stream = is_capture ? &chip->capture_stream : in lx_pcm_stream_pointer() local
281 pos = lx_stream->frame_pos * substream->runtime->period_size; in lx_pcm_stream_pointer()
408 static void lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) in lx_trigger_start() argument
410 struct snd_pcm_substream *substream = lx_stream->stream; in lx_trigger_start()
411 const unsigned int is_capture = lx_stream->is_capture; in lx_trigger_start()
452 lx_stream->status = LX_STREAM_STATUS_RUNNING; in lx_trigger_start()
454 lx_stream->frame_pos = 0; in lx_trigger_start()
457 static void lx_trigger_stop(struct lx6464es *chip, struct lx_stream *lx_stream) in lx_trigger_stop() argument
459 const unsigned int is_capture = lx_stream->is_capture; in lx_trigger_stop()
467 lx_stream->status = LX_STREAM_STATUS_FREE; in lx_trigger_stop()
[all …]
Dlx6464es.h42 struct lx_stream { struct
90 struct lx_stream capture_stream;
91 struct lx_stream playback_stream;
Dlx_core.c1017 struct lx_stream *lx_stream) in lx_interrupt_request_new_buffer() argument
1019 struct snd_pcm_substream *substream = lx_stream->stream; in lx_interrupt_request_new_buffer()
1020 const unsigned int is_capture = lx_stream->is_capture; in lx_interrupt_request_new_buffer()
1027 const u32 pos = lx_stream->frame_pos; in lx_interrupt_request_new_buffer()
1054 lx_stream->frame_pos = next_pos; in lx_interrupt_request_new_buffer()
1125 struct lx_stream *lx_stream = &chip->capture_stream; in lx_threaded_irq() local
1129 err = lx_interrupt_request_new_buffer(chip, lx_stream); in lx_threaded_irq()
1133 snd_pcm_period_elapsed(lx_stream->stream); in lx_threaded_irq()
1137 struct lx_stream *lx_stream = &chip->playback_stream; in lx_threaded_irq() local
1141 err = lx_interrupt_request_new_buffer(chip, lx_stream); in lx_threaded_irq()
[all …]