| /Linux-v6.1/include/sound/ |
| D | hdaudio_ext.h | 9 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); 23 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *chip, bool enable); 24 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *chip, bool enable); 26 void snd_hdac_ext_stream_spbcap_enable(struct hdac_bus *chip, 29 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus); 30 struct hdac_ext_link *snd_hdac_ext_bus_link_at(struct hdac_bus *bus, int addr); 31 struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_bus *bus, 80 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, [all …]
|
| D | hda_component.h | 14 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()
|
| D | hdaudio.h | 25 struct hdac_bus; 54 struct hdac_bus *bus; 120 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, 243 int (*command)(struct hdac_bus *bus, unsigned int cmd); 245 int (*get_response)(struct hdac_bus *bus, unsigned int addr, 289 struct hdac_bus { struct 380 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, argument 382 void snd_hdac_bus_exit(struct hdac_bus *bus); 383 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, 389 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val); [all …]
|
| D | hda_i915.h | 11 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-v6.1/sound/hda/ |
| D | hdac_bus.c | 31 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()
|
| D | trace.h | 16 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),
|
| D | hdac_controller.c | 15 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() 90 static void hdac_wait_for_cmd_dmas(struct hdac_bus *bus) in hdac_wait_for_cmd_dmas() 109 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_stop_cmd_io() 142 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd() 187 void snd_hdac_bus_update_rirb(struct hdac_bus *bus) in snd_hdac_bus_update_rirb() 241 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_get_response() 302 int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus) in snd_hdac_bus_parse_capabilities() 386 void snd_hdac_bus_enter_link_reset(struct hdac_bus *bus) in snd_hdac_bus_enter_link_reset() 406 void snd_hdac_bus_exit_link_reset(struct hdac_bus *bus) in snd_hdac_bus_exit_link_reset() [all …]
|
| D | local.h | 36 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,
|
| D | hdac_stream.c | 54 int snd_hdac_get_stream_stripe_ctl(struct hdac_bus *bus, in snd_hdac_get_stream_stripe_ctl() 93 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, in snd_hdac_stream_init() 118 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_start() 181 void snd_hdac_stop_streams(struct hdac_bus *bus) in snd_hdac_stop_streams() 194 void snd_hdac_stop_streams_and_chip(struct hdac_bus *bus) in snd_hdac_stop_streams_and_chip() 242 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup() 334 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign() 391 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_release() 407 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus, in snd_hdac_get_stream() 424 static int setup_bdle(struct hdac_bus *bus, in setup_bdle() [all …]
|
| D | hdac_component.c | 35 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()
|
| D | hdac_i915.c | 33 void snd_hdac_i915_set_bclk(struct hdac_bus *bus) in snd_hdac_i915_set_bclk() 103 struct hdac_bus *bus = data; in i915_component_master_match() 148 int snd_hdac_i915_init(struct hdac_bus *bus) in snd_hdac_i915_init()
|
| /Linux-v6.1/sound/hda/ext/ |
| D | hdac_ext_controller.c | 27 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_link_free_all(struct hdac_bus *bus) in snd_hdac_link_free_all() 135 struct hdac_ext_link *snd_hdac_ext_bus_link_at(struct hdac_bus *bus, int addr) in snd_hdac_ext_bus_link_at() 153 struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_bus *bus, in snd_hdac_ext_bus_get_link() 222 int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_up_all() 243 int snd_hdac_ext_bus_link_power_down_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_down_all() 260 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, in snd_hdac_ext_bus_link_get() 302 int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, in snd_hdac_ext_bus_link_put() [all …]
|
| D | hdac_ext_stream.c | 29 static void snd_hdac_ext_stream_init(struct hdac_bus *bus, in snd_hdac_ext_stream_init() 68 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, in snd_hdac_ext_stream_init_all() 94 void snd_hdac_ext_stream_free_all(struct hdac_bus *bus) in snd_hdac_ext_stream_free_all() 108 void snd_hdac_ext_stream_decouple_locked(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple_locked() 133 void snd_hdac_ext_stream_decouple(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple() 251 hdac_ext_link_stream_assign(struct hdac_bus *bus, in hdac_ext_link_stream_assign() 287 hdac_ext_host_stream_assign(struct hdac_bus *bus, in hdac_ext_host_stream_assign() 339 struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_bus *bus, in snd_hdac_ext_stream_assign() 376 struct hdac_bus *bus = hext_stream->hstream.bus; in snd_hdac_ext_stream_release() 415 void snd_hdac_ext_stream_spbcap_enable(struct hdac_bus *bus, in snd_hdac_ext_stream_spbcap_enable() [all …]
|
| D | hdac_ext_bus.c | 29 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()
|
| /Linux-v6.1/sound/soc/intel/skylake/ |
| D | skl.c | 58 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() 128 static int skl_init_chip(struct hdac_bus *bus, bool full_reset) in skl_init_chip() 150 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_update_d0i3c() 199 static void skl_dum_set(struct hdac_bus *bus) in skl_dum_set() 212 static void skl_stream_update(struct hdac_bus *bus, struct hdac_stream *hstr) in skl_stream_update() 219 struct hdac_bus *bus = dev_id; in skl_interrupt() 248 struct hdac_bus *bus = dev_id; in skl_threaded_handler() 258 static int skl_acquire_irq(struct hdac_bus *bus, int do_disconnect) in skl_acquire_irq() 283 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_suspend_late() [all …]
|
| D | skl-pcm.c | 62 static struct hdac_bus *get_bus_ctx(struct snd_pcm_substream *substream) in get_bus_ctx() 66 struct hdac_bus *bus = hstream->bus; in get_bus_ctx() 70 static int skl_substream_alloc_pages(struct hdac_bus *bus, in skl_substream_alloc_pages() 83 static void skl_set_pcm_constrains(struct hdac_bus *bus, in skl_set_pcm_constrains() 93 static enum hdac_ext_stream_type skl_get_host_stream_type(struct hdac_bus *bus) in skl_get_host_stream_type() 111 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_set_suspend_active() 125 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_host_dma_prepare() 173 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_link_dma_prepare() 214 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_pcm_open() 300 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_pcm_hw_params() [all …]
|
| D | skl-messages.c | 53 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_setup_spib() 74 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_prepare() 105 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_trigger() 124 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_cleanup() 254 struct hdac_bus *bus = skl_to_bus(skl); in skl_init_dsp() 318 struct hdac_bus *bus = skl_to_bus(skl); in skl_free_dsp() 362 struct hdac_bus *bus = skl_to_bus(skl); in skl_suspend_dsp() 382 struct hdac_bus *bus = skl_to_bus(skl); in skl_resume_dsp()
|
| /Linux-v6.1/sound/soc/intel/avs/ |
| D | core.c | 31 avs_hda_update_config_dword(struct hdac_bus *bus, u32 reg, u32 mask, u32 value) in avs_hda_update_config_dword() 51 static void avs_hdac_clock_gating_enable(struct hdac_bus *bus, bool enable) in avs_hdac_clock_gating_enable() 72 static int avs_hdac_bus_init_streams(struct hdac_bus *bus) in avs_hdac_bus_init_streams() 88 static bool avs_hdac_bus_init_chip(struct hdac_bus *bus, bool full_reset) in avs_hdac_bus_init_chip() 110 static int probe_codec(struct hdac_bus *bus, int addr) in probe_codec() 149 static void avs_hdac_bus_probe_codecs(struct hdac_bus *bus) in avs_hdac_bus_probe_codecs() 184 struct hdac_bus *bus = &adev->base.core; in avs_hda_probe_work() 240 static void hdac_update_stream(struct hdac_bus *bus, struct hdac_stream *stream) in hdac_update_stream() 254 struct hdac_bus *bus = context; in hdac_bus_irq_handler() 297 struct hdac_bus *bus = context; in hdac_bus_irq_thread() [all …]
|
| D | cldma.h | 25 int hda_cldma_init(struct hda_cldma *cl, struct hdac_bus *bus, void __iomem *dsp_ba,
|
| /Linux-v6.1/sound/soc/sof/intel/ |
| D | hda-codec.c | 71 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_jack_wake_enable() 112 static struct hda_codec *hda_codec_device_init(struct hdac_bus *bus, int addr, int type) in hda_codec_device_init() 221 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_probe_bus() 245 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_display_power() 256 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_init() 273 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_exit()
|
| D | hda-bus.c | 26 static void update_codec_wake_enable(struct hdac_bus *bus, unsigned int addr, bool link_power) in update_codec_wake_enable() 40 struct hdac_bus *bus = codec->bus; in sof_hda_bus_link_power() 73 void sof_hda_bus_init(struct hdac_bus *bus, struct device *dev) in sof_hda_bus_init()
|
| D | hda-stream.c | 65 struct hdac_bus *bus = sof_to_bus(sdev); in hda_setup_bdle() 185 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_get() 236 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_put() 401 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_iccmax_stream_hw_params() 478 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_params() 669 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_free() 693 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_check_stream_irq() 729 static bool hda_dsp_stream_check(struct hdac_bus *bus, u32 status) in hda_dsp_stream_check() 766 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_threaded_handler() 812 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_init() [all …]
|
| D | hda-dsp.c | 350 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_wait_d0i3c_done() 381 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_update_d0i3c_register() 616 struct hdac_bus *bus = sof_to_bus(sdev); in hda_suspend() 681 struct hdac_bus *bus = sof_to_bus(sdev); in hda_resume() 742 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_resume() 813 struct hdac_bus *hbus = sof_to_bus(sdev); in hda_dsp_runtime_idle() 846 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_suspend() 929 struct hdac_bus *bus = &hdev->hbus.core; in hda_dsp_d0i3_work()
|
| D | hda-ctrl.c | 65 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_get_caps() 187 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_init_chip() 304 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_stop_chip()
|
| /Linux-v6.1/sound/pci/hda/ |
| D | hda_controller.c | 206 struct hdac_bus *bus = azx_bus(chip); in azx_pcm_trigger() 698 struct hdac_bus *bus = &_bus->core; in snd_hda_attach_pcm_stream() 764 static int azx_rirb_get_response(struct hdac_bus *bus, unsigned int addr, in azx_rirb_get_response() 861 static int azx_single_send_cmd(struct hdac_bus *bus, u32 val) in azx_single_send_cmd() 889 static int azx_single_get_response(struct hdac_bus *bus, unsigned int addr, in azx_single_get_response() 905 static int azx_send_cmd(struct hdac_bus *bus, unsigned int val) in azx_send_cmd() 918 static int azx_get_response(struct hdac_bus *bus, unsigned int addr, in azx_get_response() 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() [all …]
|