Home
last modified time | relevance | path

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

12

/linux/include/sound/
H A Dhdaudio_ext.h7 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 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus);
21 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *chip, bool enable);
22 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *chip, bool enable);
24 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus);
25 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_id(struct hdac_bus *bus, u32 id);
26 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_addr(struct hdac_bus *bus, int addr);
27 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_name(struct hdac_bus *bus,
74 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx,
[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.h27 struct hdac_bus;
56 struct hdac_bus *bus;
122 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
246 int (*command)(struct hdac_bus *bus, unsigned int cmd);
248 int (*get_response)(struct hdac_bus *bus, unsigned int addr,
292 struct hdac_bus { struct
389 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, argument
391 void snd_hdac_bus_exit(struct hdac_bus *bus);
392 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr,
398 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val);
[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()
/linux/sound/soc/sof/intel/
H A Dhda-mlink.c389 static int hda_ml_alloc_h2link(struct hdac_bus *bus, int index) in hda_ml_alloc_h2link()
426 int hda_bus_ml_init(struct hdac_bus *bus) in hda_bus_ml_init()
454 void hda_bus_ml_free(struct hdac_bus *bus) in hda_bus_ml_free()
473 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) in find_ext2_link()
487 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_count()
499 void hdac_bus_eml_enable_interrupt_unlocked(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt_unlocked()
517 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt()
536 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_check_interrupt()
554 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd) in hdac_bus_eml_set_syncprd_unlocked()
574 int hdac_bus_eml_sdw_set_syncprd_unlocked(struct hdac_bus *bu in hdac_bus_eml_sdw_set_syncprd_unlocked()
[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()
107 struct hdac_bus *bus = sof_to_bus(sdev); in sof_hda_bus_exit()
H A Dhda-stream.c70 struct hdac_bus *bus = sof_to_bus(sdev); in hda_setup_bdle()
223 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_get()
296 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_put()
569 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_params()
771 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_compr_bytes_transferred()
792 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_check()
828 static bool hda_dsp_stream_check(struct hdac_bus *bus, u32 status) in hda_dsp_stream_check()
880 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_init()
909 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_init()
1047 struct hdac_bus *bu in hda_dsp_stream_get_position()
[all...]
H A Dhda-dai-ops.c45 hda_link_stream_assign(struct hdac_bus *bus, struct snd_pcm_substream *substream, in hda_link_stream_assign()
212 struct hdac_bus *bus = sof_to_bus(sdev); in hda_calc_stream_format()
284 struct hdac_bus *bus = sof_to_bus(sdev); in dmic_get_hlink()
338 struct hdac_bus *bus = sof_to_bus(sdev);
346 struct hdac_bus *bus = sof_to_bus(sdev); in hda_trigger()
354 struct hdac_bus *bus = sof_to_bus(sdev); in hda_trigger()
/linux/sound/hda/core/
H A Dcontroller.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()
138 static int snd_hdac_bus_wait_for_pio_response(struct hdac_bus *bus, in snd_hdac_bus_wait_for_pio_response()
168 static int snd_hdac_bus_send_cmd_pio(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd_pio()
203 static int snd_hdac_bus_get_response_pio(struct hdac_bus *bus, in snd_hdac_bus_get_response_pio()
219 static int snd_hdac_bus_send_cmd_corb(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd_corb()
259 void snd_hdac_bus_update_rirb(struct hdac_bus *bus) in snd_hdac_bus_update_rirb()
313 static int snd_hdac_bus_get_response_rirb(struct hdac_bus *bu
673 snd_hdac_bus_handle_stream_irq(struct hdac_bus * bus,unsigned int status,void (* ack)(struct hdac_bus *,struct hdac_stream *)) snd_hdac_bus_handle_stream_irq() argument
[all...]
H A Dbus.c31 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_bus_init()
71 void snd_hdac_bus_exit(struct hdac_bus *bus) in snd_hdac_bus_exit()
88 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb()
104 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb_unlocked()
145 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex) in snd_hdac_bus_queue_event()
168 struct hdac_bus *bus = container_of(work, struct hdac_bus, unsol_work); in snd_hdac_bus_process_unsol_events()
203 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device()
223 void snd_hdac_bus_remove_device(struct hdac_bus *bus, in snd_hdac_bus_remove_device()
268 struct hdac_bus *bus = codec->bus; in snd_hdac_codec_link_up()
279 struct hdac_bus *bus = codec->bus; in snd_hdac_codec_link_down()
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 Dstream.c55 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()
173 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_clear()
212 void snd_hdac_stop_streams(struct hdac_bus *bus) in snd_hdac_stop_streams_and_chip()
225 void snd_hdac_stop_streams_and_chip(struct hdac_bus *bus) in snd_hdac_stream_reset()
243 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_reset()
281 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup()
383 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign()
441 struct hdac_bus *bu in snd_hdac_get_stream()
[all...]
H A Dlocal.h15 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
16 void snd_hdac_bus_remove_device(struct hdac_bus *bus,
18 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex);
19 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr,
H A Di915.c34 void snd_hdac_i915_set_bclk(struct hdac_bus *bus) in snd_hdac_i915_set_bclk()
110 struct hdac_bus *bus = data; in i915_component_master_match()
185 int snd_hdac_i915_init(struct hdac_bus *bus) in snd_hdac_i915_init()
/linux/sound/hda/core/ext/
H A Dcontroller.c28 void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_enable()
50 void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *bus, bool enable) in snd_hdac_ext_bus_ppcap_int_enable()
80 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus) in snd_hdac_ext_bus_get_ml_capabilities()
124 void snd_hdac_ext_link_free_all(struct hdac_bus *bus) in snd_hdac_ext_link_free_all()
136 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_id(struct hdac_bus *bus, u32 id) in snd_hdac_ext_bus_get_hlink_by_id()
154 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()
170 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()
239 int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_up_all()
258 int snd_hdac_ext_bus_link_power_down_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_down_all()
297 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, in snd_hdac_ext_bus_link_get()
[all …]
H A Dstream.c65 static void snd_hdac_ext_stream_init(struct hdac_bus *bus, in snd_hdac_ext_stream_init()
90 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, in snd_hdac_ext_stream_init_all()
123 void snd_hdac_ext_stream_free_all(struct hdac_bus *bus) in snd_hdac_ext_stream_free_all()
137 void snd_hdac_ext_stream_decouple_locked(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple_locked()
162 void snd_hdac_ext_stream_decouple(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple()
255 hdac_ext_link_dma_stream_assign(struct hdac_bus *bus, in hdac_ext_link_dma_stream_assign()
290 hdac_ext_host_dma_stream_assign(struct hdac_bus *bus, in hdac_ext_host_dma_stream_assign()
341 struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_bus *bus, in snd_hdac_ext_stream_assign()
378 struct hdac_bus *bus = hext_stream->hstream.bus; in snd_hdac_ext_stream_release()
420 struct hdac_ext_stream *snd_hdac_ext_cstream_assign(struct hdac_bus *bu
[all...]
H A Dbus.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()
/linux/sound/hda/common/
H A Dcontroller.c207 struct hdac_bus *bus = azx_bus(chip); in azx_pcm_trigger()
697 struct hdac_bus *bus = &_bus->core; in snd_hda_attach_pcm_stream()
763 static int azx_rirb_get_response(struct hdac_bus *bus, unsigned int addr, in azx_rirb_get_response()
860 static int azx_single_send_cmd(struct hdac_bus *bus, u32 val) in azx_single_send_cmd()
888 static int azx_single_get_response(struct hdac_bus *bus, unsigned int addr, in azx_single_get_response()
904 static int azx_send_cmd(struct hdac_bus *bus, unsigned int val) in azx_send_cmd()
917 static int azx_get_response(struct hdac_bus *bus, unsigned int addr, in azx_get_response()
944 struct hdac_bus *bus = azx_bus(chip); in azx_get_dsp_loader_dev()
958 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_prepare()
989 struct hdac_bus *bu in snd_hda_codec_load_dsp_trigger()
[all...]
/linux/sound/soc/intel/avs/
H A Dcldma.h28 int hda_cldma_init(struct hda_cldma *cl, struct hdac_bus *bus, void __iomem *dsp_ba,
H A Dcldma.c33 struct hdac_bus *bus;
262 int hda_cldma_init(struct hda_cldma *cl, struct hdac_bus *bus, void __iomem *dsp_ba, in hda_cldma_init()
H A Dprobes.c66 struct hdac_bus *bus = &adev->base.core; in avs_probe_compr_open()
188 struct hdac_bus *bus = &adev->base.core; in avs_probe_compr_trigger()
/linux/drivers/soundwire/
H A Dintel.h7 struct hdac_bus;
50 struct hdac_bus *hbus;
/linux/sound/soc/codecs/
H A Dhda.c149 struct hdac_bus *bus = hdev->bus; in hda_codec_probe_complete()
177 struct hdac_bus *bus = hdev->bus; in hda_codec_probe()
272 struct hdac_bus *bus = hdev->bus; in hda_codec_remove()
/linux/include/linux/soundwire/
H A Dsdw_intel.h283 struct hdac_bus;
357 struct hdac_bus *hbus;
/linux/sound/hda/controllers/
H A Dintel.c475 struct hdac_bus *bus = azx_bus(chip); in intel_get_lctl_scf()
494 struct hdac_bus *bus = azx_bus(chip); in intel_ml_lctl_set_power()
521 struct hdac_bus *bus = azx_bus(chip); in intel_init_lctl()
558 struct hdac_bus *bus = azx_bus(chip); in hda_intel_init_chip()
733 struct hdac_bus *bus = azx_bus(chip); in azx_irq_pending_work()
784 struct hdac_bus *bus = azx_bus(chip); in azx_clear_irq_pending()
794 struct hdac_bus *bus = azx_bus(chip); in azx_acquire_irq()
993 struct hdac_bus *bus = azx_bus(chip); in __azx_runtime_resume()
1352 struct hdac_bus *bus = azx_bus(chip); in azx_free()
1414 struct hdac_bus *bus = azx_bus(chip); in azx_dev_disconnect()
[all …]

12