Home
last modified time | relevance | path

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

123

/openbmc/linux/include/sound/
H A Dhda-mlink.h9 struct hdac_bus;
14 int hda_bus_ml_init(struct hdac_bus *bus);
15 void hda_bus_ml_free(struct hdac_bus *bus);
25 int hdac_bus_eml_sdw_wait_syncpu_unlocked(struct hdac_bus *bus);
31 int hdac_bus_eml_sdw_sync_go_unlocked(struct hdac_bus *bus);
51 void hda_bus_ml_put_all(struct hdac_bus *bus);
52 void hda_bus_ml_reset_losidv(struct hdac_bus *bus);
53 int hda_bus_ml_resume(struct hdac_bus *bus);
54 int hda_bus_ml_suspend(struct hdac_bus *bus);
67 hda_bus_ml_init(struct hdac_bus *bus) { return 0; } in hda_bus_ml_init()
[all …]
H A Dhda_component.h14 int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable);
15 void snd_hdac_display_power(struct hdac_bus *bus, unsigned int idx,
21 int snd_hdac_acomp_init(struct hdac_bus *bus,
25 int snd_hdac_acomp_exit(struct hdac_bus *bus);
26 int snd_hdac_acomp_register_notifier(struct hdac_bus *bus,
29 static inline int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) in snd_hdac_set_codec_wakeup()
33 static inline void snd_hdac_display_power(struct hdac_bus *bus, in snd_hdac_display_power()
48 static inline int snd_hdac_acomp_init(struct hdac_bus *bus, in snd_hdac_acomp_init()
56 static inline int snd_hdac_acomp_exit(struct hdac_bus *bus) in snd_hdac_acomp_exit()
60 static inline int snd_hdac_acomp_register_notifier(struct hdac_bus *bus, in snd_hdac_acomp_register_notifier()
H A Dhdaudio_ext.h9 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev,
13 void snd_hdac_ext_bus_exit(struct hdac_bus *bus);
14 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus);
26 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus);
72 void snd_hdac_ext_stream_free_all(struct hdac_bus *bus);
73 void snd_hdac_ext_link_free_all(struct hdac_bus *bus);
80 void snd_hdac_ext_stream_decouple_locked(struct hdac_bus *bus,
82 void snd_hdac_ext_stream_decouple(struct hdac_bus *bus,
91 struct hdac_bus *bus;
104 int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus);
[all …]
H A Dhdaudio.h26 struct hdac_bus;
55 struct hdac_bus *bus;
290 struct hdac_bus { struct
385 void snd_hdac_bus_exit(struct hdac_bus *bus);
398 void snd_hdac_bus_stop_chip(struct hdac_bus *bus);
399 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus);
408 void (*ack)(struct hdac_bus *,
512 struct hdac_bus *bus;
583 void snd_hdac_stop_streams(struct hdac_bus *bus);
597 int snd_hdac_stream_set_spib(struct hdac_bus *bus,
[all …]
H A 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()
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-mlink.c378 static int hda_ml_alloc_h2link(struct hdac_bus *bus, int index) in hda_ml_alloc_h2link()
415 int hda_bus_ml_init(struct hdac_bus *bus) in hda_bus_ml_init()
439 void hda_bus_ml_free(struct hdac_bus *bus) in hda_bus_ml_free()
458 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) in find_ext2_link()
568 int hdac_bus_eml_sdw_wait_syncpu_unlocked(struct hdac_bus *bus) in hdac_bus_eml_sdw_wait_syncpu_unlocked()
618 int hdac_bus_eml_sdw_sync_go_unlocked(struct hdac_bus *bus) in hdac_bus_eml_sdw_sync_go_unlocked()
647 bool hdac_bus_eml_sdw_check_cmdsync_unlocked(struct hdac_bus *bus) in hdac_bus_eml_sdw_check_cmdsync_unlocked()
840 void hda_bus_ml_put_all(struct hdac_bus *bus) in hda_bus_ml_put_all()
853 void hda_bus_ml_reset_losidv(struct hdac_bus *bus) in hda_bus_ml_reset_losidv()
863 int hda_bus_ml_resume(struct hdac_bus *bus) in hda_bus_ml_resume()
[all …]
H A Dhda-codec.c79 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_jack_wake_enable()
209 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_probe_bus()
234 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_check_for_state_change()
247 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_detect_mask()
272 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_init_cmd_io()
285 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_resume_cmd_io()
299 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_stop_cmd_io()
312 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_suspend_cmd_io()
327 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_rirb_status_clear()
340 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_set_codec_wakeup()
[all …]
H A Dhda-bus.c22 static void update_codec_wake_enable(struct hdac_bus *bus, unsigned int addr, bool link_power) in update_codec_wake_enable()
36 struct hdac_bus *bus = codec->bus; in sof_hda_bus_link_power()
71 struct hdac_bus *bus = sof_to_bus(sdev); in sof_hda_bus_init()
101 struct hdac_bus *bus = sof_to_bus(sdev); in sof_hda_bus_exit()
H A Dlnl.c33 static int hdac_bus_offload_dmic_ssp(struct hdac_bus *bus) in hdac_bus_offload_dmic_ssp()
148 struct hdac_bus *bus = sof_to_bus(sdev); in lnl_dsp_check_sdw_irq()
155 struct hdac_bus *bus = sof_to_bus(sdev); in lnl_enable_sdw_irq()
H A Dhda-stream.c64 struct hdac_bus *bus = sof_to_bus(sdev); in hda_setup_bdle()
186 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_get()
242 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_put()
495 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_params()
694 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_free()
714 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_check_stream_irq()
751 static bool hda_dsp_stream_check(struct hdac_bus *bus, u32 status) in hda_dsp_stream_check()
788 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_threaded_handler()
817 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_init()
945 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_free()
H A Dhda-ctrl.c60 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_get_caps()
184 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_init_chip()
261 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_stop_chip()
/openbmc/linux/sound/hda/
H A Dtrace.h16 struct hdac_bus;
20 TP_PROTO(struct hdac_bus *bus, unsigned int cmd),
34 TP_PROTO(struct hdac_bus *bus, unsigned int addr, unsigned int res),
50 TP_PROTO(struct hdac_bus *bus, u32 res, u32 res_ex),
67 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
83 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
88 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
H A Dhdac_bus.c31 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_bus_init()
70 void snd_hdac_bus_exit(struct hdac_bus *bus) in snd_hdac_bus_exit()
87 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb()
107 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb_unlocked()
148 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex) in snd_hdac_bus_queue_event()
171 struct hdac_bus *bus = container_of(work, struct hdac_bus, unsol_work); in snd_hdac_bus_process_unsol_events()
206 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device()
226 void snd_hdac_bus_remove_device(struct hdac_bus *bus, in snd_hdac_bus_remove_device()
271 struct hdac_bus *bus = codec->bus; in snd_hdac_codec_link_up()
282 struct hdac_bus *bus = codec->bus; in snd_hdac_codec_link_down()
H A Dhdac_controller.c15 static void azx_clear_corbrp(struct hdac_bus *bus) in azx_clear_corbrp()
43 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_init_cmd_io()
93 static void hdac_wait_for_cmd_dmas(struct hdac_bus *bus) in hdac_wait_for_cmd_dmas()
112 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_stop_cmd_io()
190 void snd_hdac_bus_update_rirb(struct hdac_bus *bus) in snd_hdac_bus_update_rirb()
409 void snd_hdac_bus_exit_link_reset(struct hdac_bus *bus) in snd_hdac_bus_exit_link_reset()
463 static void azx_int_enable(struct hdac_bus *bus) in azx_int_enable()
472 static void azx_int_disable(struct hdac_bus *bus) in azx_int_disable()
485 static void azx_int_clear(struct hdac_bus *bus) in azx_int_clear()
541 void snd_hdac_bus_stop_chip(struct hdac_bus *bus) in snd_hdac_bus_stop_chip()
[all …]
H A Dhdac_stream.c132 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_start()
258 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup()
409 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_release()
442 static int setup_bdle(struct hdac_bus *bus, in setup_bdle()
492 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup_periods()
658 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_timecounter_init()
689 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_sync_trigger()
715 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_sync()
848 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_wait_drsm()
909 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_dsp_prepare()
[all …]
H A Dlocal.h36 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
37 void snd_hdac_bus_remove_device(struct hdac_bus *bus,
39 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex);
40 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr,
H A Dhdac_component.c35 int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) in snd_hdac_set_codec_wakeup()
66 void snd_hdac_display_power(struct hdac_bus *bus, unsigned int idx, bool enable) in snd_hdac_display_power()
124 struct hdac_bus *bus = codec->bus; in snd_hdac_sync_audio_rate()
165 struct hdac_bus *bus = codec->bus; in snd_hdac_acomp_get_eld()
253 int snd_hdac_acomp_register_notifier(struct hdac_bus *bus, in snd_hdac_acomp_register_notifier()
283 int snd_hdac_acomp_init(struct hdac_bus *bus, in snd_hdac_acomp_init()
333 int snd_hdac_acomp_exit(struct hdac_bus *bus) in snd_hdac_acomp_exit()
H A Dhdac_i915.c28 void snd_hdac_i915_set_bclk(struct hdac_bus *bus) in snd_hdac_i915_set_bclk()
104 struct hdac_bus *bus = data; in i915_component_master_match()
149 int snd_hdac_i915_init(struct hdac_bus *bus) in snd_hdac_i915_init()
/openbmc/linux/sound/hda/ext/
H A Dhdac_ext_controller.c27 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_enable()
49 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_int_enable()
79 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus) in snd_hdac_ext_bus_get_ml_capabilities()
116 void snd_hdac_ext_link_free_all(struct hdac_bus *bus) in snd_hdac_ext_link_free_all()
135 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_addr(struct hdac_bus *bus, int addr) in snd_hdac_ext_bus_get_hlink_by_addr()
151 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_name(struct hdac_bus *bus, in snd_hdac_ext_bus_get_hlink_by_name()
220 int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_up_all()
239 int snd_hdac_ext_bus_link_power_down_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_down_all()
278 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, in snd_hdac_ext_bus_link_get()
320 int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, in snd_hdac_ext_bus_link_put()
[all …]
H A Dhdac_ext_stream.c30 static void snd_hdac_ext_stream_init(struct hdac_bus *bus, in snd_hdac_ext_stream_init()
55 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, in snd_hdac_ext_stream_init_all()
81 void snd_hdac_ext_stream_free_all(struct hdac_bus *bus) in snd_hdac_ext_stream_free_all()
95 void snd_hdac_ext_stream_decouple_locked(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple_locked()
120 void snd_hdac_ext_stream_decouple(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple()
214 hdac_ext_link_dma_stream_assign(struct hdac_bus *bus, in hdac_ext_link_dma_stream_assign()
250 hdac_ext_host_dma_stream_assign(struct hdac_bus *bus, in hdac_ext_host_dma_stream_assign()
302 struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_bus *bus, in snd_hdac_ext_stream_assign()
339 struct hdac_bus *bus = hext_stream->hstream.bus; in snd_hdac_ext_stream_release()
381 struct hdac_ext_stream *snd_hdac_ext_cstream_assign(struct hdac_bus *bus, in snd_hdac_ext_cstream_assign()
H A Dhdac_ext_bus.c29 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_ext_bus_init()
56 void snd_hdac_ext_bus_exit(struct hdac_bus *bus) in snd_hdac_ext_bus_exit()
68 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus) in snd_hdac_ext_bus_device_remove()
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl.c58 struct hdac_bus *bus = skl_to_bus(skl); in skl_init_pci()
107 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_clock_power_gating()
219 struct hdac_bus *bus = dev_id; in skl_interrupt()
248 struct hdac_bus *bus = dev_id; in skl_threaded_handler()
427 static int skl_free(struct hdac_bus *bus) in skl_free()
490 struct hdac_bus *bus = skl_to_bus(skl); in skl_find_machine()
521 struct hdac_bus *bus = skl_to_bus(skl); in skl_machine_device_register()
562 struct hdac_bus *bus = skl_to_bus(skl); in skl_dmic_device_register()
806 struct hdac_bus *bus = skl_to_bus(skl); in skl_probe_work()
874 struct hdac_bus *bus; in skl_create()
[all …]
H A Dskl-pcm.c67 struct hdac_bus *bus = hstream->bus; in get_bus_ctx()
112 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_set_suspend_active()
126 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_host_dma_prepare()
174 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_link_dma_prepare()
423 struct hdac_bus *bus = get_bus_ctx(substream); in skl_decoupled_trigger()
471 struct hdac_bus *bus = get_bus_ctx(substream); in skl_pcm_trigger()
609 struct hdac_bus *bus = get_bus_ctx(substream); in skl_link_pcm_trigger()
1089 struct hdac_bus *bus = get_bus_ctx(substream); in skl_coupled_trigger()
1163 struct hdac_bus *bus = get_bus_ctx(substream); in skl_platform_soc_trigger()
1462 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_platform_register()
[all …]
/openbmc/linux/sound/soc/intel/avs/
H A Dcore.c188 struct hdac_bus *bus = &adev->base.core; in avs_hda_probe_work()
259 struct hdac_bus *bus = context; in hdac_bus_irq_handler()
302 struct hdac_bus *bus = context; in hdac_bus_irq_thread()
324 struct hdac_bus *bus = &adev->base.core; in avs_hdac_acquire_irq()
402 struct hdac_bus *bus; in avs_pci_probe()
486 struct hdac_bus *bus = pci_get_drvdata(pci); in avs_pci_shutdown()
510 struct hdac_bus *bus = pci_get_drvdata(pci); in avs_pci_remove()
568 struct hdac_bus *bus = &adev->base.core; in avs_suspend_standby()
584 struct hdac_bus *bus = &adev->base.core; in avs_suspend_common()
629 struct hdac_bus *bus = &adev->base.core; in avs_resume_standby()
[all …]
/openbmc/linux/sound/pci/hda/
H A Dhda_controller.c206 struct hdac_bus *bus = azx_bus(chip); in azx_pcm_trigger()
698 struct hdac_bus *bus = &_bus->core; in snd_hda_attach_pcm_stream()
945 struct hdac_bus *bus = azx_bus(chip); in azx_get_dsp_loader_dev()
959 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_prepare()
991 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_trigger()
1002 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_cleanup()
1035 struct hdac_bus *bus = azx_bus(chip); in azx_stop_all_streams()
1067 struct hdac_bus *bus = azx_bus(chip); in azx_interrupt()
1131 struct hdac_bus *bus = azx_bus(chip); in probe_codec()
1195 struct hdac_bus *bus = azx_bus(chip); in azx_probe_codecs()
[all …]

123