Home
last modified time | relevance | path

Searched refs:link_dev (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/sound/soc/sof/intel/
Dhda-dai.c204 struct hdac_ext_stream *link_dev; in hda_link_hw_params() local
214 link_dev = snd_soc_dai_get_dma_data(dai, substream); in hda_link_hw_params()
215 if (!link_dev) { in hda_link_hw_params()
216 link_dev = hda_link_stream_assign(bus, substream); in hda_link_hw_params()
217 if (!link_dev) in hda_link_hw_params()
221 stream_tag = hdac_stream(link_dev)->stream_tag; in hda_link_hw_params()
223 hda_stream = hstream_to_sof_hda_stream(link_dev); in hda_link_hw_params()
231 snd_soc_dai_set_dma_data(dai, substream, (void *)link_dev); in hda_link_hw_params()
256 return hda_link_dma_params(link_dev, &p_params); in hda_link_hw_params()
262 struct hdac_ext_stream *link_dev = in hda_link_pcm_prepare() local
[all …]
Dhda-stream.c520 struct hdac_ext_stream *link_dev = container_of(stream, in hda_dsp_stream_hw_free() local
528 if (!link_dev->link_locked) in hda_dsp_stream_hw_free()
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-pcm.c559 struct hdac_ext_stream *link_dev; in skl_link_hw_params() local
566 link_dev = snd_hdac_ext_stream_assign(bus, substream, in skl_link_hw_params()
568 if (!link_dev) in skl_link_hw_params()
571 snd_soc_dai_set_dma_data(dai, substream, (void *)link_dev); in skl_link_hw_params()
577 stream_tag = hdac_stream(link_dev)->stream_tag; in skl_link_hw_params()
619 struct hdac_ext_stream *link_dev = in skl_link_pcm_trigger() local
629 snd_hdac_ext_link_stream_start(link_dev); in skl_link_pcm_trigger()
635 snd_hdac_ext_link_stream_clear(link_dev); in skl_link_pcm_trigger()
651 struct hdac_ext_stream *link_dev = in skl_link_hw_free() local
658 link_dev->link_prepared = 0; in skl_link_hw_free()
[all …]
/Linux-v5.4/drivers/ata/
Dlibata-eh.c3431 struct ata_device *dev, *link_dev = NULL, *lpm_dev = NULL; in ata_eh_set_lpm() local
3453 if (!link_dev) in ata_eh_set_lpm()
3454 link_dev = dev; in ata_eh_set_lpm()
3493 dev = lpm_dev ? lpm_dev : link_dev; in ata_eh_set_lpm()