Searched refs:hstream (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/sound/soc/sof/intel/ |
| D | hda-stream.c | 132 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_spib_config() local 140 mask = (1 << hstream->index); in hda_dsp_stream_spib_config() 145 enable << hstream->index); in hda_dsp_stream_spib_config() 249 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_trigger() local 250 int sd_offset = SOF_STREAM_SD_OFFSET(hstream); in hda_dsp_stream_trigger() 261 1 << hstream->index, in hda_dsp_stream_trigger() 262 1 << hstream->index); in hda_dsp_stream_trigger() 281 hstream->running = true; in hda_dsp_stream_trigger() 304 hstream->running = false; in hda_dsp_stream_trigger() 306 1 << hstream->index, 0x0); in hda_dsp_stream_trigger() [all …]
|
| D | hda-pcm.c | 88 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() local 89 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_hw_params() 99 hstream->substream = substream; in hda_dsp_pcm_hw_params() 103 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params() 104 hstream->bufsize = size; in hda_dsp_pcm_hw_params() 105 hstream->period_bytes = params_period_bytes(params); in hda_dsp_pcm_hw_params() 106 hstream->no_period_wakeup = in hda_dsp_pcm_hw_params() 123 ipc_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params() 131 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger() local 132 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_trigger() [all …]
|
| D | hda-loader.c | 31 struct hdac_stream *hstream; in cl_stream_prepare() local 46 hstream = &dsp_stream->hstream; in cl_stream_prepare() 47 hstream->substream = NULL; in cl_stream_prepare() 56 hstream->period_bytes = 0;/* initialize period_bytes */ in cl_stream_prepare() 57 hstream->format_val = format; in cl_stream_prepare() 58 hstream->bufsize = size; in cl_stream_prepare() 68 return hstream->stream_tag; in cl_stream_prepare() 71 hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in cl_stream_prepare() 165 struct hdac_stream *hstream = &stream->hstream; in cl_trigger() local 166 int sd_offset = SOF_STREAM_SD_OFFSET(hstream); in cl_trigger() [all …]
|
| D | hda-trace.c | 26 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_trace_prepare() local 30 hstream->period_bytes = 0;/* initialize period_bytes */ in hda_dsp_trace_prepare() 31 hstream->bufsize = sdev->dmatb.bytes; in hda_dsp_trace_prepare() 54 *stream_tag = hda->dtrace_stream->hstream.stream_tag; in hda_dsp_trace_init() 74 struct hdac_stream *hstream; in hda_dsp_trace_release() local 77 hstream = &hda->dtrace_stream->hstream; in hda_dsp_trace_release() 80 hstream->stream_tag); in hda_dsp_trace_release()
|
| D | hda-dai.c | 71 struct hdac_ext_stream *hstream = in hda_link_stream_assign() local 76 hda_stream = hstream_to_sof_hda_stream(hstream); in hda_link_stream_assign() 79 if (!hstream->link_locked) { in hda_link_stream_assign() 87 res = hstream; in hda_link_stream_assign() 91 res = hstream; in hda_link_stream_assign() 122 struct hdac_stream *hstream = &stream->hstream; in hda_link_dma_params() local 123 unsigned char stream_tag = hstream->stream_tag; in hda_link_dma_params() 124 struct hdac_bus *bus = hstream->bus; in hda_link_dma_params() 140 if (stream->hstream.direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_link_dma_params() 202 struct hdac_stream *hstream = substream->runtime->private_data; in hda_link_hw_params() local [all …]
|
| D | hda-ipc.c | 286 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_msg_data() local 289 hda_stream = container_of(hstream, in hda_ipc_msg_data() 291 hda_stream.hstream); in hda_ipc_msg_data() 294 if (hstream) in hda_ipc_msg_data() 304 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_pcm_params() local 309 hda_stream = container_of(hstream, struct sof_intel_hda_stream, in hda_ipc_pcm_params() 310 hda_stream.hstream); in hda_ipc_pcm_params()
|
| D | hda.h | 427 #define hstream_to_sof_hda_stream(hstream) \ argument 428 container_of(hstream, struct sof_intel_hda_stream, hda_stream)
|
| /Linux-v5.4/sound/hda/ext/ |
| D | hdac_ext_stream.c | 57 snd_hdac_stream_init(bus, &stream->hstream, idx, direction, tag); in snd_hdac_ext_stream_init() 118 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_stream_decouple() local 120 int mask = AZX_PPCTL_PROCEN(hstream->index); in snd_hdac_ext_stream_decouple() 201 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_link_stream_setup() local 209 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_link_stream_setup() 256 struct hdac_ext_stream *hstream = container_of(stream, in hdac_ext_link_stream_assign() local 258 hstream); in hdac_ext_link_stream_assign() 263 if (hstream->decoupled && !hstream->link_locked) { in hdac_ext_link_stream_assign() 264 res = hstream; in hdac_ext_link_stream_assign() 268 if (!hstream->link_locked) { in hdac_ext_link_stream_assign() [all …]
|
| /Linux-v5.4/include/sound/ |
| D | hdaudio_ext.h | 57 struct hdac_stream hstream; member 76 #define hdac_stream(s) (&(s)->hstream) 78 container_of(s, struct hdac_ext_stream, hstream) 105 void snd_hdac_ext_link_stream_start(struct hdac_ext_stream *hstream); 106 void snd_hdac_ext_link_stream_clear(struct hdac_ext_stream *hstream); 107 void snd_hdac_ext_link_stream_reset(struct hdac_ext_stream *hstream);
|
| /Linux-v5.4/sound/soc/intel/skylake/ |
| D | skl-pcm.c | 65 struct hdac_stream *hstream = hdac_stream(stream); in get_bus_ctx() local 66 struct hdac_bus *bus = hstream->bus; in get_bus_ctx() 137 struct hdac_stream *hstream; in skl_pcm_host_dma_prepare() local 141 hstream = snd_hdac_get_stream(bus, params->stream, in skl_pcm_host_dma_prepare() 143 if (!hstream) in skl_pcm_host_dma_prepare() 146 stream = stream_to_hdac_ext_stream(hstream); in skl_pcm_host_dma_prepare() 184 struct hdac_stream *hstream; in skl_pcm_link_dma_prepare() local 189 hstream = snd_hdac_get_stream(bus, params->stream, in skl_pcm_link_dma_prepare() 191 if (!hstream) in skl_pcm_link_dma_prepare() 194 stream = stream_to_hdac_ext_stream(hstream); in skl_pcm_link_dma_prepare() [all …]
|