/kernel/linux/linux-6.6/include/sound/ |
H A D | hda-mlink.h | 9 struct hdac_bus; 14 int hda_bus_ml_init(struct hdac_bus *bus); 15 void hda_bus_ml_free(struct hdac_bus *bus); 17 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid); 18 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable); 19 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid); 21 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd); 22 int hdac_bus_eml_sdw_set_syncprd_unlocked(struct hdac_bus *bus, u32 syncprd); 24 int hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid); 25 int hdac_bus_eml_sdw_wait_syncpu_unlocked(struct hdac_bus *bu [all...] |
H A 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 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus); 27 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_addr(struct hdac_bus *bus, int addr); 28 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_name(struct hdac_bus *bus, 70 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, 72 void snd_hdac_ext_stream_free_all(struct hdac_bus *bu [all...] |
H A 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 *bu in snd_hdac_acomp_exit() [all...] |
H A D | hdaudio.h | 26 struct hdac_bus; 55 struct hdac_bus *bus; 121 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, 244 int (*command)(struct hdac_bus *bus, unsigned int cmd); 246 int (*get_response)(struct hdac_bus *bus, unsigned int addr, 290 struct hdac_bus { struct 383 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, 385 void snd_hdac_bus_exit(struct hdac_bus *bus); 386 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, 392 int snd_hdac_bus_send_cmd(struct hdac_bus *bu [all...] |
H A 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()
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | hdaudio_ext.h | 7 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev, 11 void snd_hdac_ext_bus_exit(struct hdac_bus *bus); 12 int snd_hdac_ext_bus_device_init(struct hdac_bus *bus, int addr, 15 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus); 24 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *chip, bool enable); 25 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *chip, bool enable); 27 void snd_hdac_ext_stream_spbcap_enable(struct hdac_bus *chip, 30 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus); 31 struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_bus *bus, 80 void snd_hdac_ext_stream_init(struct hdac_bus *bu [all...] |
H A 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 *bu in snd_hdac_acomp_exit() [all...] |
H A D | hdaudio.h | 23 struct hdac_bus; 52 struct hdac_bus *bus; 117 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, 240 int (*command)(struct hdac_bus *bus, unsigned int cmd); 242 int (*get_response)(struct hdac_bus *bus, unsigned int addr, 284 struct hdac_bus { struct 375 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, 377 void snd_hdac_bus_exit(struct hdac_bus *bus); 378 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, 391 int snd_hdac_bus_send_cmd(struct hdac_bus *bu [all...] |
H A 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()
|
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | hda-mlink.c | 378 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() 472 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_count() 484 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt() 506 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_check_interrupt() 524 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd) in hdac_bus_eml_set_syncprd_unlocked() 544 int hdac_bus_eml_sdw_set_syncprd_unlocked(struct hdac_bus *bus, u32 syncprd) in hdac_bus_eml_sdw_set_syncprd_unlocked() 550 int hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bu [all...] |
H A D | hda-codec.c | 79 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_jack_wake_enable() 124 static struct hda_codec *hda_codec_device_init(struct hdac_bus *bus, int addr, int type) in hda_codec_device_init() 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 *bu in hda_codec_rirb_status_clear() [all...] |
/kernel/linux/linux-5.10/sound/hda/ |
H A D | trace.h | 16 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),
|
H A D | hdac_controller.c | 16 static void azx_clear_corbrp(struct hdac_bus *bus) in azx_clear_corbrp() 44 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_init_cmd_io() 102 static void hdac_wait_for_cmd_dmas(struct hdac_bus *bus) in hdac_wait_for_cmd_dmas() 121 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_stop_cmd_io() 166 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd() 211 void snd_hdac_bus_update_rirb(struct hdac_bus *bus) in snd_hdac_bus_update_rirb() 260 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_get_response() 321 int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus) in snd_hdac_bus_parse_capabilities() 405 void snd_hdac_bus_enter_link_reset(struct hdac_bus *bus) in snd_hdac_bus_enter_link_reset() 425 void snd_hdac_bus_exit_link_reset(struct hdac_bus *bu [all...] |
H A 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() 151 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex) in snd_hdac_bus_queue_event() 174 struct hdac_bus *bus = container_of(work, struct hdac_bus, unsol_work); in snd_hdac_bus_process_unsol_events() 209 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device() 229 void snd_hdac_bus_remove_device(struct hdac_bus *bus, in snd_hdac_bus_remove_device()
|
H A 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,
|
/kernel/linux/linux-6.6/sound/hda/ |
H A 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() 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() 145 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd() 190 void snd_hdac_bus_update_rirb(struct hdac_bus *bus) in snd_hdac_bus_update_rirb() 244 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_get_response() 305 int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus) in snd_hdac_bus_parse_capabilities() 389 void snd_hdac_bus_enter_link_reset(struct hdac_bus *bus) in snd_hdac_bus_enter_link_reset() 409 void snd_hdac_bus_exit_link_reset(struct hdac_bus *bu [all...] |
H A 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 *bu in snd_hdac_codec_link_up() [all...] |
H A D | hdac_stream.c | 55 int snd_hdac_get_stream_stripe_ctl(struct hdac_bus *bus, in snd_hdac_get_stream_stripe_ctl() 94 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, in snd_hdac_stream_init() 132 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_start() 197 void snd_hdac_stop_streams(struct hdac_bus *bus) in snd_hdac_stop_streams() 210 void snd_hdac_stop_streams_and_chip(struct hdac_bus *bus) in snd_hdac_stop_streams_and_chip() 258 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup() 350 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign() 409 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_release() 425 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus, in snd_hdac_get_stream() 442 static int setup_bdle(struct hdac_bus *bu [all...] |
H A 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),
|
H A 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,
|
/kernel/linux/linux-6.6/sound/hda/ext/ |
H A 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_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 *bu [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
H A 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 *bu in skl_suspend_late() [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
H A 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 *bu in skl_suspend_late() [all...] |
/kernel/linux/linux-5.10/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 34 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_enable() 56 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_int_enable() 86 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus) in snd_hdac_ext_bus_get_ml_capabilities() 123 void snd_hdac_link_free_all(struct hdac_bus *bus) in snd_hdac_link_free_all() 140 struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_bus *bus, in snd_hdac_ext_bus_get_link() 218 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() 256 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, in snd_hdac_ext_bus_link_get() 298 int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, in snd_hdac_ext_bus_link_put()
|
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | core.c | 39 avs_hda_update_config_dword(struct hdac_bus *bus, u32 reg, u32 mask, u32 value) in avs_hda_update_config_dword() 57 static void avs_hdac_clock_gating_enable(struct hdac_bus *bus, bool enable) in avs_hdac_clock_gating_enable() 76 static int avs_hdac_bus_init_streams(struct hdac_bus *bus) in avs_hdac_bus_init_streams() 92 static bool avs_hdac_bus_init_chip(struct hdac_bus *bus, bool full_reset) in avs_hdac_bus_init_chip() 114 static int probe_codec(struct hdac_bus *bus, int addr) in probe_codec() 153 static void avs_hdac_bus_probe_codecs(struct hdac_bus *bus) in avs_hdac_bus_probe_codecs() 188 struct hdac_bus *bus = &adev->base.core; in avs_hda_probe_work() 245 static void hdac_update_stream(struct hdac_bus *bus, struct hdac_stream *stream) in hdac_update_stream() 259 struct hdac_bus *bus = context; in hdac_bus_irq_handler() 302 struct hdac_bus *bu in hdac_bus_irq_thread() [all...] |