Home
last modified time | relevance | path

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

12

/sound/hda/
Dhdac_controller.c14 static void azx_clear_corbrp(struct hdac_bus *bus) in azx_clear_corbrp()
42 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_init_cmd_io()
89 static void hdac_wait_for_cmd_dmas(struct hdac_bus *bus) in hdac_wait_for_cmd_dmas()
108 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus) in snd_hdac_bus_stop_cmd_io()
141 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val) in snd_hdac_bus_send_cmd()
185 void snd_hdac_bus_update_rirb(struct hdac_bus *bus) in snd_hdac_bus_update_rirb()
236 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_get_response()
276 int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus) in snd_hdac_bus_parse_capabilities()
360 void snd_hdac_bus_enter_link_reset(struct hdac_bus *bus) in snd_hdac_bus_enter_link_reset()
380 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.c29 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_bus_init()
55 void snd_hdac_bus_exit(struct hdac_bus *bus) in snd_hdac_bus_exit()
71 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb()
91 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr, in snd_hdac_bus_exec_verb_unlocked()
132 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex) in snd_hdac_bus_queue_event()
156 struct hdac_bus *bus = container_of(work, struct hdac_bus, unsol_work); in snd_hdac_bus_process_unsol_events()
191 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device()
211 void snd_hdac_bus_remove_device(struct hdac_bus *bus, in snd_hdac_bus_remove_device()
Dhdac_stream.c21 int snd_hdac_get_stream_stripe_ctl(struct hdac_bus *bus, in snd_hdac_get_stream_stripe_ctl()
60 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, in snd_hdac_stream_init()
85 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_start()
149 void snd_hdac_stop_streams(struct hdac_bus *bus) in snd_hdac_stop_streams()
162 void snd_hdac_stop_streams_and_chip(struct hdac_bus *bus) in snd_hdac_stop_streams_and_chip()
217 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup()
309 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign()
353 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_release()
371 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus, in snd_hdac_get_stream()
388 static int setup_bdle(struct hdac_bus *bus, in setup_bdle()
[all …]
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()
251 int snd_hdac_acomp_register_notifier(struct hdac_bus *bus, in snd_hdac_acomp_register_notifier()
280 int snd_hdac_acomp_init(struct hdac_bus *bus, in snd_hdac_acomp_init()
329 int snd_hdac_acomp_exit(struct hdac_bus *bus) in snd_hdac_acomp_exit()
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,
Dhdac_i915.c35 void snd_hdac_i915_set_bclk(struct hdac_bus *bus) in snd_hdac_i915_set_bclk()
120 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 \
/sound/hda/ext/
Dhdac_ext_stream.c29 void snd_hdac_ext_stream_init(struct hdac_bus *bus, in snd_hdac_ext_stream_init()
69 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, in snd_hdac_ext_stream_init_all()
95 void snd_hdac_stream_free_all(struct hdac_bus *bus) in snd_hdac_stream_free_all()
109 void snd_hdac_ext_stream_decouple_locked(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple_locked()
134 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()
418 void snd_hdac_ext_stream_spbcap_enable(struct hdac_bus *bus, in snd_hdac_ext_stream_spbcap_enable()
[all …]
Dhdac_ext_controller.c34 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()
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()
75 int snd_hdac_ext_bus_device_init(struct hdac_bus *bus, int addr, in snd_hdac_ext_bus_device_init()
119 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus) in snd_hdac_ext_bus_device_remove()
/sound/soc/intel/skylake/
Dskl.c57 struct hdac_bus *bus = skl_to_bus(skl); in skl_init_pci()
106 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_clock_power_gating()
127 static int skl_init_chip(struct hdac_bus *bus, bool full_reset) in skl_init_chip()
149 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_update_d0i3c()
198 static void skl_dum_set(struct hdac_bus *bus) in skl_dum_set()
211 static void skl_stream_update(struct hdac_bus *bus, struct hdac_stream *hstr) in skl_stream_update()
218 struct hdac_bus *bus = dev_id; in skl_interrupt()
247 struct hdac_bus *bus = dev_id; in skl_threaded_handler()
257 static int skl_acquire_irq(struct hdac_bus *bus, int do_disconnect) in skl_acquire_irq()
282 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_suspend_late()
[all …]
Dskl-pcm.c62 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 int skl_substream_free_pages(struct hdac_bus *bus, in skl_substream_free_pages()
89 static void skl_set_pcm_constrains(struct hdac_bus *bus, in skl_set_pcm_constrains()
99 static enum hdac_ext_stream_type skl_get_host_stream_type(struct hdac_bus *bus) in skl_get_host_stream_type()
117 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_set_suspend_active()
134 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_host_dma_prepare()
182 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_link_dma_prepare()
223 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_pcm_open()
[all …]
Dskl-messages.c53 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()
Dskl-topology.h444 struct hdac_bus *bus = dev_get_drvdata(dev); in get_skl_ctx()
456 struct hdac_bus *ebus);
458 struct hdac_bus *bus);
Dskl-nhlt.c88 struct hdac_bus *bus = skl_to_bus(skl); in skl_get_ep_blob()
136 struct hdac_bus *bus = skl_to_bus(skl); in skl_nhlt_update_topology_bin()
156 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_nhlt_platform_id_show()
/sound/soc/sof/intel/
Dhda-codec.c44 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_jack_wake_enable()
59 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_jack_check()
141 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_probe_bus()
166 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_get()
175 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_put()
184 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_init()
200 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_exit()
Dhda-stream.c34 struct hdac_bus *bus = sof_to_bus(sdev); in hda_setup_bdle()
157 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_get()
205 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_put()
325 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_params()
523 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_free()
538 struct hdac_bus *bus = context; in hda_dsp_stream_interrupt()
556 static bool hda_dsp_stream_check(struct hdac_bus *bus, u32 status) in hda_dsp_stream_check()
589 struct hdac_bus *bus = context; in hda_dsp_stream_threaded_handler()
630 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_init()
804 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_free()
Dhda-dsp.c297 struct hdac_bus *bus = sof_to_bus(sdev); in hda_suspend()
345 struct hdac_bus *bus = sof_to_bus(sdev); in hda_resume()
401 struct hdac_bus *hbus = sof_to_bus(sdev); in hda_dsp_runtime_idle()
420 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_suspend()
436 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_set_hw_params_upon_resume()
Dhda-dai.c55 hda_link_stream_assign(struct hdac_bus *bus, in hda_link_stream_assign()
125 struct hdac_bus *bus = hstream->bus; in hda_link_dma_params()
204 struct hdac_bus *bus = hstream->bus; in hda_link_hw_params()
288 struct hdac_bus *bus; in hda_link_pcm_trigger()
351 struct hdac_bus *bus; in hda_link_hw_free()
Dhda-ctrl.c57 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_get_caps()
162 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_init_chip()
265 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_stop_chip()
Dhda.c210 struct hdac_bus *bus = sof_to_bus(sdev); in hda_ipc_irq_dump()
255 struct hdac_bus *bus; in hda_init()
346 struct hdac_bus *bus = sof_to_bus(sdev); in hda_init_caps()
500 struct hdac_bus *bus; in hda_dsp_probe()
684 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_remove()
Dhda-bus.c25 void sof_hda_bus_init(struct hdac_bus *bus, struct device *dev) in sof_hda_bus_init()
/sound/pci/hda/
Dhda_controller.c209 struct hdac_bus *bus = azx_bus(chip); in azx_pcm_trigger()
715 struct hdac_bus *bus = &_bus->core; in snd_hda_attach_pcm_stream()
782 static int azx_rirb_get_response(struct hdac_bus *bus, unsigned int addr, in azx_rirb_get_response()
921 static int azx_single_send_cmd(struct hdac_bus *bus, u32 val) in azx_single_send_cmd()
949 static int azx_single_get_response(struct hdac_bus *bus, unsigned int addr, in azx_single_get_response()
965 static int azx_send_cmd(struct hdac_bus *bus, unsigned int val) in azx_send_cmd()
978 static int azx_get_response(struct hdac_bus *bus, unsigned int addr, in azx_get_response()
1005 struct hdac_bus *bus = azx_bus(chip); in azx_get_dsp_loader_dev()
1019 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_prepare()
1051 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_trigger()
[all …]
Dhda_intel.c506 struct hdac_bus *bus = azx_bus(chip); in intel_get_lctl_scf()
525 struct hdac_bus *bus = azx_bus(chip); in intel_ml_lctl_set_power()
552 struct hdac_bus *bus = azx_bus(chip); in intel_init_lctl()
589 struct hdac_bus *bus = azx_bus(chip); in hda_intel_init_chip()
754 struct hdac_bus *bus = azx_bus(chip); in azx_irq_pending_work()
795 struct hdac_bus *bus = azx_bus(chip); in azx_clear_irq_pending()
808 struct hdac_bus *bus = azx_bus(chip); in azx_acquire_irq()
1012 struct hdac_bus *bus = azx_bus(chip); in __azx_runtime_resume()
1080 struct hdac_bus *bus; in azx_suspend()
1396 struct hdac_bus *bus = azx_bus(chip); in azx_free()
[all …]

12