Home
last modified time | relevance | path

Searched refs:hext_stream (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/sound/hda/ext/
Dhdac_ext_stream.c30 struct hdac_ext_stream *hext_stream, in snd_hdac_ext_stream_init() argument
34 hext_stream->pphc_addr = bus->ppcap + AZX_PPHC_BASE + in snd_hdac_ext_stream_init()
37 hext_stream->pplc_addr = bus->ppcap + AZX_PPLC_BASE + in snd_hdac_ext_stream_init()
43 hext_stream->spib_addr = bus->spbcap + AZX_SPB_BASE + in snd_hdac_ext_stream_init()
47 hext_stream->fifo_addr = bus->spbcap + AZX_SPB_BASE + in snd_hdac_ext_stream_init()
53 hext_stream->dpibr_addr = bus->drsmcap + AZX_DRSM_BASE + in snd_hdac_ext_stream_init()
56 hext_stream->decoupled = false; in snd_hdac_ext_stream_init()
57 snd_hdac_stream_init(bus, &hext_stream->hstream, idx, direction, tag); in snd_hdac_ext_stream_init()
76 struct hdac_ext_stream *hext_stream = in snd_hdac_ext_stream_init_all() local
77 kzalloc(sizeof(*hext_stream), GFP_KERNEL); in snd_hdac_ext_stream_init_all()
[all …]
/linux-5.19.10/sound/soc/sof/intel/
Dhda-dai.c72 struct hdac_ext_stream *hext_stream = in hda_link_stream_assign() local
77 hda_stream = hstream_to_sof_hda_stream(hext_stream); in hda_link_stream_assign()
82 if (!hext_stream->link_locked) { in hda_link_stream_assign()
88 res = hext_stream; in hda_link_stream_assign()
99 res = hext_stream; in hda_link_stream_assign()
103 res = hext_stream; in hda_link_stream_assign()
137 struct hdac_ext_stream *hext_stream = snd_soc_dai_get_dma_data(cpu_dai, substream); in hda_link_dma_cleanup() local
148 snd_hdac_ext_link_stream_clear(hext_stream); in hda_link_dma_cleanup()
151 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup()
155 snd_hdac_ext_stream_release(hext_stream, HDAC_EXT_STREAM_TYPE_LINK); in hda_link_dma_cleanup()
[all …]
Dhda-probes.c33 struct hdac_ext_stream *hext_stream; in hda_probes_compr_assign() local
35 hext_stream = hda_dsp_stream_get(sdev, cstream->direction, 0); in hda_probes_compr_assign()
36 if (!hext_stream) in hda_probes_compr_assign()
39 hdac_stream(hext_stream)->curr_pos = 0; in hda_probes_compr_assign()
40 hdac_stream(hext_stream)->cstream = cstream; in hda_probes_compr_assign()
41 cstream->runtime->private_data = hext_stream; in hda_probes_compr_assign()
43 *stream_id = hdac_stream(hext_stream)->stream_tag; in hda_probes_compr_assign()
52 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); in hda_probes_compr_free() local
57 hdac_stream(hext_stream)->stream_tag); in hda_probes_compr_free()
63 hdac_stream(hext_stream)->cstream = NULL; in hda_probes_compr_free()
[all …]
Dhda-stream.c159 struct hdac_ext_stream *hext_stream, in hda_dsp_stream_spib_config() argument
162 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_spib_config()
178 sof_io_write(sdev, hext_stream->spib_addr, size); in hda_dsp_stream_spib_config()
189 struct hdac_ext_stream *hext_stream = NULL; in hda_dsp_stream_get() local
197 hext_stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_get()
198 hda_stream = container_of(hext_stream, in hda_dsp_stream_get()
200 hext_stream); in hda_dsp_stream_get()
213 if (!hext_stream) { in hda_dsp_stream_get()
217 return hext_stream; in hda_dsp_stream_get()
232 return hext_stream; in hda_dsp_stream_get()
[all …]
Dhda-loader.c48 struct hdac_ext_stream *hext_stream; in hda_cl_stream_prepare() local
53 hext_stream = hda_dsp_stream_get(sdev, direction, 0); in hda_cl_stream_prepare()
55 if (!hext_stream) { in hda_cl_stream_prepare()
59 hstream = &hext_stream->hstream; in hda_cl_stream_prepare()
74 ret = hda_dsp_iccmax_stream_hw_params(sdev, hext_stream, dmab, NULL); in hda_cl_stream_prepare()
80 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, NULL); in hda_cl_stream_prepare()
85 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_ENABLE, size); in hda_cl_stream_prepare()
88 return hext_stream; in hda_cl_stream_prepare()
222 struct hdac_ext_stream *hext_stream, int cmd) in cl_trigger() argument
224 struct hdac_stream *hstream = &hext_stream->hstream; in cl_trigger()
[all …]
Dhda-pcm.c99 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_hw_params() local
120 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, params); in hda_dsp_pcm_hw_params()
128 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_ENABLE, 0); in hda_dsp_pcm_hw_params()
130 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_DISABLE, 0); in hda_dsp_pcm_hw_params()
144 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_ack() local
158 sof_io_write(sdev, hext_stream->spib_addr, spib); in hda_dsp_pcm_ack()
167 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_trigger() local
169 return hda_dsp_stream_trigger(sdev, hext_stream, cmd); in hda_dsp_pcm_trigger()
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()
Dhda.h477 struct hdac_ext_stream hext_stream; member
484 container_of(hstream, struct sof_intel_hda_stream, hext_stream)
552 struct hdac_ext_stream *hext_stream,
556 struct hdac_ext_stream *hext_stream,
560 struct hdac_ext_stream *hext_stream, int cmd);
575 struct hdac_ext_stream *hext_stream,
602 int hda_cl_copy_fw(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream);
607 struct hdac_ext_stream *hext_stream);
Dhda-ipc.c351 hext_stream.hstream); in hda_ipc_msg_data()
371 hext_stream.hstream); in hda_set_stream_data_offset()
/linux-5.19.10/include/sound/
Dhdaudio_ext.h84 struct hdac_ext_stream *hext_stream, int idx,
93 void snd_hdac_ext_stream_release(struct hdac_ext_stream *hext_stream, int type);
95 struct hdac_ext_stream *hext_stream, bool decouple);
100 struct hdac_ext_stream *hext_stream, u32 value);
102 struct hdac_ext_stream *hext_stream);
106 struct hdac_ext_stream *hext_stream, u32 value);
107 int snd_hdac_ext_stream_set_lpib(struct hdac_ext_stream *hext_stream, u32 value);
109 void snd_hdac_ext_link_stream_start(struct hdac_ext_stream *hext_stream);
110 void snd_hdac_ext_link_stream_clear(struct hdac_ext_stream *hext_stream);
111 void snd_hdac_ext_link_stream_reset(struct hdac_ext_stream *hext_stream);
[all …]