Lines Matching refs:ebus
71 static int skl_substream_alloc_pages(struct hdac_ext_bus *ebus, in skl_substream_alloc_pages() argument
90 static void skl_set_pcm_constrains(struct hdac_ext_bus *ebus, in skl_set_pcm_constrains() argument
100 static enum hdac_ext_stream_type skl_get_host_stream_type(struct hdac_ext_bus *ebus) in skl_get_host_stream_type() argument
102 if (ebus->ppcap) in skl_get_host_stream_type()
111 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_pcm_open() local
122 stream = snd_hdac_ext_stream_assign(ebus, substream, in skl_pcm_open()
123 skl_get_host_stream_type(ebus)); in skl_pcm_open()
127 skl_set_pcm_constrains(ebus, runtime); in skl_pcm_open()
159 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_get_format() local
162 if (ebus->ppcap) { in skl_get_format()
215 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_pcm_hw_params() local
223 ret = skl_substream_alloc_pages(ebus, substream, in skl_pcm_hw_params()
251 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_pcm_close() local
256 snd_hdac_ext_stream_release(stream, skl_get_host_stream_type(ebus)); in skl_pcm_close()
273 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_pcm_hw_free() local
281 return skl_substream_free_pages(ebus_to_hbus(ebus), substream); in skl_pcm_hw_free()
328 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_link_hw_params() local
335 link_dev = snd_hdac_ext_stream_assign(ebus, substream, in skl_link_hw_params()
364 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_link_pcm_prepare() local
388 link = snd_hdac_ext_bus_get_link(ebus, rtd->codec->component.name); in skl_link_pcm_prepare()
427 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_link_hw_free() local
437 link = snd_hdac_ext_bus_get_link(ebus, rtd->codec->component.name); in skl_link_hw_free()
620 struct hdac_ext_bus *ebus = get_bus_ctx(substream); in skl_coupled_trigger() local
621 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_coupled_trigger()
694 struct hdac_ext_bus *ebus = get_bus_ctx(substream); in skl_decoupled_trigger() local
695 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_decoupled_trigger()
745 struct hdac_ext_bus *ebus = get_bus_ctx(substream); in skl_platform_pcm_trigger() local
747 if (ebus->ppcap) in skl_platform_pcm_trigger()
754 static int skl_get_delay_from_lpib(struct hdac_ext_bus *ebus, in skl_get_delay_from_lpib() argument
758 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_get_delay_from_lpib()
792 struct hdac_ext_bus *ebus = get_bus_ctx(substream); in skl_get_position() local
803 delay = skl_get_delay_from_lpib(ebus, hstream, pos) in skl_get_position()
892 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_pcm_new() local
896 struct skl *skl = ebus_to_skl(ebus); in skl_pcm_new()
919 struct hdac_ext_bus *ebus = dev_get_drvdata(platform->dev); in skl_platform_soc_probe() local
921 if (ebus->ppcap) in skl_platform_soc_probe()
922 return skl_tplg_init(platform, ebus); in skl_platform_soc_probe()
940 struct hdac_ext_bus *ebus = dev_get_drvdata(dev); in skl_platform_register() local
941 struct skl *skl = ebus_to_skl(ebus); in skl_platform_register()