Home
last modified time | relevance | path

Searched refs:hext_stream (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/sound/hda/ext/
H A Dhdac_ext_stream.c22 * @hext_stream: HD-audio ext core stream object to initialize
31 struct hdac_ext_stream *hext_stream, in snd_hdac_ext_stream_init()
35 hext_stream->pphc_addr = bus->ppcap + AZX_PPHC_BASE + in snd_hdac_ext_stream_init()
38 hext_stream->pplc_addr = bus->ppcap + AZX_PPLC_BASE + in snd_hdac_ext_stream_init()
43 hext_stream->decoupled = false; in snd_hdac_ext_stream_init()
44 snd_hdac_stream_init(bus, &hext_stream->hstream, idx, direction, tag); in snd_hdac_ext_stream_init()
62 struct hdac_ext_stream *hext_stream = in snd_hdac_ext_stream_init_all() local
63 kzalloc(sizeof(*hext_stream), GFP_KERNEL); in snd_hdac_ext_stream_init_all()
64 if (!hext_stream) in snd_hdac_ext_stream_init_all()
67 snd_hdac_ext_stream_init(bus, hext_stream, id in snd_hdac_ext_stream_init_all()
30 snd_hdac_ext_stream_init(struct hdac_bus *bus, struct hdac_ext_stream *hext_stream, int idx, int direction, int tag) snd_hdac_ext_stream_init() argument
84 struct hdac_ext_stream *hext_stream; snd_hdac_ext_stream_free_all() local
95 snd_hdac_ext_stream_decouple_locked(struct hdac_bus *bus, struct hdac_ext_stream *hext_stream, bool decouple) snd_hdac_ext_stream_decouple_locked() argument
120 snd_hdac_ext_stream_decouple(struct hdac_bus *bus, struct hdac_ext_stream *hext_stream, bool decouple) snd_hdac_ext_stream_decouple() argument
133 snd_hdac_ext_stream_start(struct hdac_ext_stream *hext_stream) snd_hdac_ext_stream_start() argument
144 snd_hdac_ext_stream_clear(struct hdac_ext_stream *hext_stream) snd_hdac_ext_stream_clear() argument
154 snd_hdac_ext_stream_reset(struct hdac_ext_stream *hext_stream) snd_hdac_ext_stream_reset() argument
193 snd_hdac_ext_stream_setup(struct hdac_ext_stream *hext_stream, int fmt) snd_hdac_ext_stream_setup() argument
227 struct hdac_ext_stream *hext_stream = container_of(hstream, hdac_ext_link_dma_stream_assign() local
263 struct hdac_ext_stream *hext_stream = container_of(hstream, hdac_ext_host_dma_stream_assign() local
306 struct hdac_ext_stream *hext_stream = NULL; snd_hdac_ext_stream_assign() local
337 snd_hdac_ext_stream_release(struct hdac_ext_stream *hext_stream, int type) snd_hdac_ext_stream_release() argument
389 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); snd_hdac_ext_cstream_assign() local
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-probes.c33 struct hdac_ext_stream *hext_stream; in hda_probes_compr_startup() local
35 hext_stream = hda_dsp_stream_get(sdev, cstream->direction, 0); in hda_probes_compr_startup()
36 if (!hext_stream) in hda_probes_compr_startup()
39 hdac_stream(hext_stream)->curr_pos = 0; in hda_probes_compr_startup()
40 hdac_stream(hext_stream)->cstream = cstream; in hda_probes_compr_startup()
41 cstream->runtime->private_data = hext_stream; in hda_probes_compr_startup()
43 *stream_id = hdac_stream(hext_stream)->stream_tag; in hda_probes_compr_startup()
52 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); in hda_probes_compr_shutdown() local
57 hdac_stream(hext_stream)->stream_tag); in hda_probes_compr_shutdown()
63 hdac_stream(hext_stream) in hda_probes_compr_shutdown()
74 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); hda_probes_compr_set_params() local
107 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); hda_probes_compr_trigger() local
118 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); hda_probes_compr_pointer() local
[all...]
H A Dhda-dai.c112 int hda_link_dma_cleanup(struct snd_pcm_substream *substream, struct hdac_ext_stream *hext_stream, in hda_link_dma_cleanup() argument
133 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup()
140 hext_stream->link_prepared = 0; in hda_link_dma_cleanup()
143 hda_stream = hstream_to_sof_hda_stream(hext_stream); in hda_link_dma_cleanup()
153 struct hdac_ext_stream *hext_stream; in hda_link_dma_hw_params() local
170 hext_stream = ops->get_hext_stream(sdev, cpu_dai, substream); in hda_link_dma_hw_params()
172 if (!hext_stream) { in hda_link_dma_hw_params()
174 hext_stream = ops->assign_hext_stream(sdev, cpu_dai, substream); in hda_link_dma_hw_params()
177 if (!hext_stream) in hda_link_dma_hw_params()
180 hstream = &hext_stream in hda_link_dma_hw_params()
208 struct hdac_ext_stream *hext_stream; hda_dai_hw_free() local
229 struct hdac_ext_stream *hext_stream; hda_dai_hw_params() local
264 struct hdac_ext_stream *hext_stream; hda_dai_trigger() local
352 struct hdac_ext_stream *hext_stream; non_hda_dai_hw_params() local
438 struct hdac_ext_stream *hext_stream; sdw_hda_dai_hw_params() local
506 struct hdac_ext_stream *hext_stream; hda_dai_suspend() local
[all...]
H A Dhda-loader.c50 struct hdac_ext_stream *hext_stream; in hda_cl_stream_prepare() local
55 hext_stream = hda_dsp_stream_get(sdev, direction, 0); in hda_cl_stream_prepare()
57 if (!hext_stream) { in hda_cl_stream_prepare()
61 hstream = &hext_stream->hstream; in hda_cl_stream_prepare()
76 ret = hda_dsp_iccmax_stream_hw_params(sdev, hext_stream, dmab, NULL); in hda_cl_stream_prepare()
82 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, NULL); in hda_cl_stream_prepare()
87 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_ENABLE, size); in hda_cl_stream_prepare()
90 return hext_stream; in hda_cl_stream_prepare()
223 struct hdac_ext_stream *hext_stream, int cmd) in cl_trigger()
225 struct hdac_stream *hstream = &hext_stream in cl_trigger()
222 cl_trigger(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, int cmd) cl_trigger() argument
249 hda_cl_cleanup(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab, struct hdac_ext_stream *hext_stream) hda_cl_cleanup() argument
281 hda_cl_copy_fw(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream) hda_cl_copy_fw() argument
388 struct hdac_ext_stream *hext_stream; hda_dsp_cl_boot_firmware() local
523 struct hdac_ext_stream *hext_stream; hda_dsp_ipc4_load_library() local
[all...]
H A Dhda-dai-ops.c62 struct hdac_ext_stream *hext_stream = in hda_link_stream_assign() local
67 hda_stream = hstream_to_sof_hda_stream(hext_stream); in hda_link_stream_assign()
72 if (!hext_stream->link_locked) { in hda_link_stream_assign()
78 res = hext_stream; in hda_link_stream_assign()
89 res = hext_stream; in hda_link_stream_assign()
93 res = hext_stream; in hda_link_stream_assign()
150 struct hdac_ext_stream *hext_stream; in hda_assign_hext_stream() local
155 hext_stream = hda_link_stream_assign(sof_to_bus(sdev), substream); in hda_assign_hext_stream()
157 hext_stream = snd_soc_dai_get_dma_data(dai, substream); in hda_assign_hext_stream()
159 if (!hext_stream) in hda_assign_hext_stream()
170 struct hdac_ext_stream *hext_stream = hda_get_hext_stream(sdev, cpu_dai, substream); hda_release_hext_stream() local
181 hda_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, unsigned int format_val) hda_setup_hext_stream() argument
187 hda_reset_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream) hda_reset_hext_stream() argument
353 struct hdac_ext_stream *hext_stream = snd_soc_dai_get_dma_data(cpu_dai, substream); hda_trigger() local
527 struct hdac_ext_stream *hext_stream = hda_get_hext_stream(sdev, cpu_dai, substream); hda_ipc3_post_trigger() local
578 hda_dspless_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, unsigned int format_val) hda_dspless_setup_hext_stream() argument
[all...]
H A Dhda-stream.c156 struct hdac_ext_stream *hext_stream, in hda_dsp_stream_spib_config()
159 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_spib_config()
188 struct hdac_ext_stream *hext_stream = NULL; in hda_dsp_stream_get() local
196 hext_stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_get()
197 hda_stream = container_of(hext_stream, in hda_dsp_stream_get()
199 hext_stream); in hda_dsp_stream_get()
212 if (!hext_stream) { in hda_dsp_stream_get()
216 return hext_stream; in hda_dsp_stream_get()
234 return hext_stream; in hda_dsp_stream_get()
244 struct hdac_ext_stream *hext_stream; in hda_dsp_stream_put() local
155 hda_dsp_stream_spib_config(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, int enable, u32 size) hda_dsp_stream_spib_config() argument
327 hda_dsp_stream_trigger(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, int cmd) hda_dsp_stream_trigger() argument
414 hda_dsp_iccmax_stream_hw_params(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, struct snd_dma_buffer *dmab, struct snd_pcm_hw_params *params) hda_dsp_iccmax_stream_hw_params() argument
489 hda_dsp_stream_hw_params(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, struct snd_dma_buffer *dmab, struct snd_pcm_hw_params *params) hda_dsp_stream_hw_params() argument
684 struct hdac_ext_stream *hext_stream = container_of(hstream, hda_dsp_stream_hw_free() local
818 struct hdac_ext_stream *hext_stream; hda_dsp_stream_init() local
947 struct hdac_ext_stream *hext_stream; hda_dsp_stream_free() local
975 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); hda_dsp_stream_get_position() local
[all...]
H A Dhda-pcm.c100 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_hw_params() local
126 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, params); in hda_dsp_pcm_hw_params()
134 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_ENABLE, 0); in hda_dsp_pcm_hw_params()
136 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_DISABLE, 0); in hda_dsp_pcm_hw_params()
172 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_trigger() local
174 return hda_dsp_stream_trigger(sdev, hext_stream, cmd); in hda_dsp_pcm_trigger()
H A Dhda-trace.c25 struct hdac_ext_stream *hext_stream = hda->dtrace_stream; in hda_dsp_trace_prepare() local
26 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_trace_prepare()
32 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, NULL); in hda_dsp_trace_prepare()
H A Dhda.h555 struct hdac_ext_stream hext_stream; member
562 container_of(hstream, struct sof_intel_hda_stream, hext_stream)
636 struct hdac_ext_stream *hext_stream,
640 struct hdac_ext_stream *hext_stream,
644 struct hdac_ext_stream *hext_stream, int cmd);
659 struct hdac_ext_stream *hext_stream,
686 int hda_cl_copy_fw(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream);
691 struct hdac_ext_stream *hext_stream);
964 void (*setup_hext_stream)(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream,
987 int hda_link_dma_cleanup(struct snd_pcm_substream *substream, struct hdac_ext_stream *hext_stream,
[all...]
H A Dhda-ipc.c407 hext_stream.hstream); in hda_ipc_msg_data()
428 hext_stream.hstream); in hda_set_stream_data_offset()
/kernel/linux/linux-6.6/include/sound/
H A Dhdaudio_ext.h77 void snd_hdac_ext_stream_release(struct hdac_ext_stream *hext_stream, int type);
81 struct hdac_ext_stream *hext_stream, bool decouple);
85 void snd_hdac_ext_stream_start(struct hdac_ext_stream *hext_stream);
86 void snd_hdac_ext_stream_clear(struct hdac_ext_stream *hext_stream);
87 void snd_hdac_ext_stream_reset(struct hdac_ext_stream *hext_stream);
88 int snd_hdac_ext_stream_setup(struct hdac_ext_stream *hext_stream, int fmt);

Completed in 7 milliseconds