• Home
  • Raw
  • Download

Lines Matching refs:s

163 	struct hdac_stream *s;  in hda_dsp_stream_get()  local
168 list_for_each_entry(s, &bus->stream_list, list) { in hda_dsp_stream_get()
169 if (s->direction == direction && !s->opened) { in hda_dsp_stream_get()
170 stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_get()
178 s->opened = true; in hda_dsp_stream_get()
214 struct hdac_stream *s; in hda_dsp_stream_put() local
224 list_for_each_entry(s, &bus->stream_list, list) { in hda_dsp_stream_put()
225 stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_put()
228 if (!s->opened) in hda_dsp_stream_put()
231 if (s->direction == direction && s->stream_tag == stream_tag) { in hda_dsp_stream_put()
232 s->opened = false; in hda_dsp_stream_put()
669 struct hdac_stream *s; in hda_dsp_stream_check() local
673 list_for_each_entry(s, &bus->stream_list, list) { in hda_dsp_stream_check()
674 if (status & BIT(s->index) && s->opened) { in hda_dsp_stream_check()
675 sd_status = snd_hdac_stream_readb(s, SD_STS); in hda_dsp_stream_check()
678 s->index, sd_status); in hda_dsp_stream_check()
680 snd_hdac_stream_writeb(s, SD_STS, sd_status); in hda_dsp_stream_check()
683 if ((!s->substream && !s->cstream) || in hda_dsp_stream_check()
684 !s->running || in hda_dsp_stream_check()
689 if (s->substream && sof_hda->no_ipc_position) { in hda_dsp_stream_check()
690 snd_sof_pcm_period_elapsed(s->substream); in hda_dsp_stream_check()
691 } else if (s->cstream) { in hda_dsp_stream_check()
692 hda_dsp_set_bytes_transferred(s, in hda_dsp_stream_check()
693 s->cstream->runtime->buffer_size); in hda_dsp_stream_check()
694 snd_compr_fragment_elapsed(s->cstream); in hda_dsp_stream_check()
926 struct hdac_stream *s, *_s; in hda_dsp_stream_free() local
940 list_for_each_entry_safe(s, _s, &bus->stream_list, list) { in hda_dsp_stream_free()
944 if (s->bdl.area) in hda_dsp_stream_free()
945 snd_dma_free_pages(&s->bdl); in hda_dsp_stream_free()
946 list_del(&s->list); in hda_dsp_stream_free()
947 stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_free()