Home
last modified time | relevance | path

Searched refs:hdac_bus (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/include/sound/
Dhdaudio_ext.h7 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev,
12 void snd_hdac_ext_bus_exit(struct hdac_bus *bus);
13 int snd_hdac_ext_bus_device_init(struct hdac_bus *bus, int addr,
16 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus);
25 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *chip, bool enable);
26 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *chip, bool enable);
28 void snd_hdac_ext_stream_spbcap_enable(struct hdac_bus *chip,
31 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus);
32 struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_bus *bus,
81 void snd_hdac_ext_stream_init(struct hdac_bus *bus,
[all …]
Dhda_component.h10 int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable);
11 int snd_hdac_display_power(struct hdac_bus *bus, bool enable);
16 int snd_hdac_acomp_init(struct hdac_bus *bus,
20 int snd_hdac_acomp_exit(struct hdac_bus *bus);
21 int snd_hdac_acomp_register_notifier(struct hdac_bus *bus,
24 static inline int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) in snd_hdac_set_codec_wakeup()
28 static inline int snd_hdac_display_power(struct hdac_bus *bus, bool enable) in snd_hdac_display_power()
43 static inline int snd_hdac_acomp_init(struct hdac_bus *bus, in snd_hdac_acomp_init()
50 static inline int snd_hdac_acomp_exit(struct hdac_bus *bus) in snd_hdac_acomp_exit()
54 static inline int snd_hdac_acomp_register_notifier(struct hdac_bus *bus, in snd_hdac_acomp_register_notifier()
Dhdaudio.h22 struct hdac_bus;
51 struct hdac_bus *bus;
109 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
236 int (*command)(struct hdac_bus *bus, unsigned int cmd);
238 int (*get_response)(struct hdac_bus *bus, unsigned int addr,
241 int (*link_power)(struct hdac_bus *bus, bool enable);
264 int (*dma_alloc_pages)(struct hdac_bus *bus, int type, size_t size,
266 void (*dma_free_pages)(struct hdac_bus *bus,
300 struct hdac_bus { struct
379 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, argument
[all …]
Dhda_i915.h11 void snd_hdac_i915_set_bclk(struct hdac_bus *bus);
12 int snd_hdac_i915_init(struct hdac_bus *bus);
14 static inline void snd_hdac_i915_set_bclk(struct hdac_bus *bus) in snd_hdac_i915_set_bclk()
17 static inline int snd_hdac_i915_init(struct hdac_bus *bus) in snd_hdac_i915_init()
22 static inline int snd_hdac_i915_exit(struct hdac_bus *bus) in snd_hdac_i915_exit()
/Linux-v4.19/sound/hda/
Dhdac_controller.c13 static void azx_clear_corbrp(struct hdac_bus *bus) in azx_clear_corbrp()
41 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_init_cmd_io()
86 static void hdac_wait_for_cmd_dmas(struct hdac_bus *bus) in hdac_wait_for_cmd_dmas()
105 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_stop_cmd_io()
138 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd()
182 void snd_hdac_bus_update_rirb(struct hdac_bus *bus) in snd_hdac_bus_update_rirb()
233 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_get_response()
271 int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus) in snd_hdac_bus_parse_capabilities()
355 void snd_hdac_bus_enter_link_reset(struct hdac_bus *bus) in snd_hdac_bus_enter_link_reset()
375 void snd_hdac_bus_exit_link_reset(struct hdac_bus *bus) in snd_hdac_bus_exit_link_reset()
[all …]
Dtrace.h16 struct hdac_bus;
20 TP_PROTO(struct hdac_bus *bus, unsigned int cmd),
32 TP_PROTO(struct hdac_bus *bus, unsigned int addr, unsigned int res),
44 TP_PROTO(struct hdac_bus *bus, u32 res, u32 res_ex),
56 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
72 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
77 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
Dhdac_bus.c27 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_bus_init()
52 void snd_hdac_bus_exit(struct hdac_bus *bus) in snd_hdac_bus_exit()
68 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb()
88 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb_unlocked()
129 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex) in snd_hdac_bus_queue_event()
153 struct hdac_bus *bus = container_of(work, struct hdac_bus, unsol_work); in process_unsol_events()
184 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device()
205 void snd_hdac_bus_remove_device(struct hdac_bus *bus, in snd_hdac_bus_remove_device()
Dhdac_component.c35 int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) in snd_hdac_set_codec_wakeup()
67 int snd_hdac_display_power(struct hdac_bus *bus, bool enable) in snd_hdac_display_power()
111 struct hdac_bus *bus = codec->bus; in snd_hdac_sync_audio_rate()
152 struct hdac_bus *bus = codec->bus; in snd_hdac_acomp_get_eld()
238 int snd_hdac_acomp_register_notifier(struct hdac_bus *bus, in snd_hdac_acomp_register_notifier()
267 int snd_hdac_acomp_init(struct hdac_bus *bus, in snd_hdac_acomp_init()
316 int snd_hdac_acomp_exit(struct hdac_bus *bus) in snd_hdac_acomp_exit()
Dhdac_stream.c25 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, in snd_hdac_stream_init()
50 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_start()
141 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup()
237 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign()
279 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_release()
297 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus, in snd_hdac_get_stream()
314 static int setup_bdle(struct hdac_bus *bus, in setup_bdle()
364 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup_periods()
522 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_timecounter_init()
553 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_sync_trigger()
[all …]
Dhdac_i915.c44 void snd_hdac_i915_set_bclk(struct hdac_bus *bus) in snd_hdac_i915_set_bclk()
127 int snd_hdac_i915_init(struct hdac_bus *bus) in snd_hdac_i915_init()
DMakefile2 snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
/Linux-v4.19/sound/soc/intel/skylake/
Dskl.c56 struct hdac_bus *bus = skl_to_bus(skl); in skl_init_pci()
105 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_clock_power_gating()
126 static int skl_init_chip(struct hdac_bus *bus, bool full_reset) in skl_init_chip()
146 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_update_d0i3c()
189 static void skl_stream_update(struct hdac_bus *bus, struct hdac_stream *hstr) in skl_stream_update()
196 struct hdac_bus *bus = dev_id; in skl_interrupt()
225 struct hdac_bus *bus = dev_id; in skl_threaded_handler()
235 static int skl_acquire_irq(struct hdac_bus *bus, int do_disconnect) in skl_acquire_irq()
260 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_suspend_late()
267 static int _skl_suspend(struct hdac_bus *bus) in _skl_suspend()
[all …]
Dskl-pcm.c70 static struct hdac_bus *get_bus_ctx(struct snd_pcm_substream *substream) in get_bus_ctx()
74 struct hdac_bus *bus = hstream->bus; in get_bus_ctx()
78 static int skl_substream_alloc_pages(struct hdac_bus *bus, in skl_substream_alloc_pages()
91 static int skl_substream_free_pages(struct hdac_bus *bus, in skl_substream_free_pages()
97 static void skl_set_pcm_constrains(struct hdac_bus *bus, in skl_set_pcm_constrains()
107 static enum hdac_ext_stream_type skl_get_host_stream_type(struct hdac_bus *bus) in skl_get_host_stream_type()
125 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_set_suspend_active()
142 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_host_dma_prepare()
178 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_link_dma_prepare()
215 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_pcm_open()
[all …]
Dskl-messages.c36 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_alloc_dma_buf()
46 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_free_dma_buf()
90 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_setup_spib()
111 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_prepare()
142 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_trigger()
161 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_cleanup()
267 struct hdac_bus *bus = skl_to_bus(skl); in skl_init_dsp()
331 struct hdac_bus *bus = skl_to_bus(skl); in skl_free_dsp()
378 struct hdac_bus *bus = skl_to_bus(skl); in skl_suspend_dsp()
399 struct hdac_bus *bus = skl_to_bus(skl); in skl_resume_dsp()
Dskl-nhlt.c144 struct hdac_bus *bus = skl_to_bus(skl); in skl_get_ep_blob()
231 struct hdac_bus *bus = skl_to_bus(skl); in skl_nhlt_update_topology_bin()
251 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_nhlt_platform_id_show()
Dskl-topology.h461 struct hdac_bus *bus = dev_get_drvdata(dev); in get_skl_ctx()
473 struct hdac_bus *ebus);
Dskl.h74 struct hdac_bus hbus;
Dskl-topology.c940 struct hdac_bus *bus = skl_to_bus(skl); in skl_tplg_find_moduleid_from_uuid()
3035 struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt); in skl_tplg_widget_load()
3143 struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt); in skl_tplg_control_load()
3627 struct hdac_bus *bus = snd_soc_component_get_drvdata(cmpnt); in skl_manifest_load()
3717 int skl_tplg_init(struct snd_soc_component *component, struct hdac_bus *bus) in skl_tplg_init()
/Linux-v4.19/sound/hda/ext/
Dhdac_ext_stream.c37 void snd_hdac_ext_stream_init(struct hdac_bus *bus, in snd_hdac_ext_stream_init()
77 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, in snd_hdac_ext_stream_init_all()
103 void snd_hdac_stream_free_all(struct hdac_bus *bus) in snd_hdac_stream_free_all()
123 void snd_hdac_ext_stream_decouple(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple()
252 hdac_ext_link_stream_assign(struct hdac_bus *bus, in hdac_ext_link_stream_assign()
292 hdac_ext_host_stream_assign(struct hdac_bus *bus, in hdac_ext_host_stream_assign()
345 struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_bus *bus, in snd_hdac_ext_stream_assign()
381 struct hdac_bus *bus = stream->hstream.bus; in snd_hdac_ext_stream_release()
416 void snd_hdac_ext_stream_spbcap_enable(struct hdac_bus *bus, in snd_hdac_ext_stream_spbcap_enable()
441 int snd_hdac_ext_stream_set_spib(struct hdac_bus *bus, in snd_hdac_ext_stream_set_spib()
[all …]
Dhdac_ext_controller.c42 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_enable()
62 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_int_enable()
90 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus) in snd_hdac_ext_bus_get_ml_capabilities()
127 void snd_hdac_link_free_all(struct hdac_bus *bus) in snd_hdac_link_free_all()
144 struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_bus *bus, in snd_hdac_ext_bus_get_link()
219 int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_up_all()
240 int snd_hdac_ext_bus_link_power_down_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_down_all()
256 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, in snd_hdac_ext_bus_link_get()
290 int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, in snd_hdac_ext_bus_link_put()
Dhdac_ext_bus.c58 static int hdac_ext_dma_alloc_pages(struct hdac_bus *bus, int type, in hdac_ext_dma_alloc_pages()
64 static void hdac_ext_dma_free_pages(struct hdac_bus *bus, struct snd_dma_buffer *buf) in hdac_ext_dma_free_pages()
90 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_ext_bus_init()
121 void snd_hdac_ext_bus_exit(struct hdac_bus *bus) in snd_hdac_ext_bus_exit()
140 int snd_hdac_ext_bus_device_init(struct hdac_bus *bus, int addr, in snd_hdac_ext_bus_device_init()
185 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus) in snd_hdac_ext_bus_device_remove()
/Linux-v4.19/sound/pci/hda/
Dhda_controller.c220 struct hdac_bus *bus = azx_bus(chip); in azx_pcm_trigger()
728 struct hdac_bus *bus = &_bus->core; in snd_hda_attach_pcm_stream()
792 static int azx_rirb_get_response(struct hdac_bus *bus, unsigned int addr, in azx_rirb_get_response()
919 static int azx_single_send_cmd(struct hdac_bus *bus, u32 val) in azx_single_send_cmd()
947 static int azx_single_get_response(struct hdac_bus *bus, unsigned int addr, in azx_single_get_response()
963 static int azx_send_cmd(struct hdac_bus *bus, unsigned int val) in azx_send_cmd()
976 static int azx_get_response(struct hdac_bus *bus, unsigned int addr, in azx_get_response()
989 static int azx_link_power(struct hdac_bus *bus, bool enable) in azx_link_power()
1014 struct hdac_bus *bus = azx_bus(chip); in azx_get_dsp_loader_dev()
1028 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_prepare()
[all …]
Dhda_intel.c562 struct hdac_bus *bus = azx_bus(chip); in intel_get_lctl_scf()
581 struct hdac_bus *bus = azx_bus(chip); in intel_ml_lctl_set_power()
608 struct hdac_bus *bus = azx_bus(chip); in intel_init_lctl()
645 struct hdac_bus *bus = azx_bus(chip); in hda_intel_init_chip()
728 struct hdac_bus *bus = azx_bus(chip); in azx_intel_link_power()
794 struct hdac_bus *bus = azx_bus(chip); in azx_irq_pending_work()
835 struct hdac_bus *bus = azx_bus(chip); in azx_clear_irq_pending()
848 struct hdac_bus *bus = azx_bus(chip); in azx_acquire_irq()
1002 struct hdac_bus *bus; in azx_suspend()
1038 struct hdac_bus *bus; in azx_resume()
[all …]
Dhda_tegra.c91 static int dma_alloc_pages(struct hdac_bus *bus, int type, size_t size, in dma_alloc_pages()
97 static void dma_free_pages(struct hdac_bus *bus, struct snd_dma_buffer *buf) in dma_free_pages()
316 struct hdac_bus *bus = azx_bus(chip); in hda_tegra_init_chip()
358 struct hdac_bus *bus = azx_bus(chip); in hda_tegra_first_init()
Dhda_codec.h51 struct hdac_bus core;

12