/sound/hda/ |
D | hdac_controller.c | 14 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 …]
|
D | hdac_bus.c | 29 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() local 187 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device() 207 void snd_hdac_bus_remove_device(struct hdac_bus *bus, in snd_hdac_bus_remove_device()
|
D | hdac_stream.c | 21 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() local 190 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup() local 282 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign() 324 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_release() local 342 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus, in snd_hdac_get_stream() 359 static int setup_bdle(struct hdac_bus *bus, in setup_bdle() 409 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_setup_periods() local 567 struct hdac_bus *bus = azx_dev->bus; in snd_hdac_stream_timecounter_init() local [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() local 165 struct hdac_bus *bus = codec->bus; in snd_hdac_acomp_get_eld() local 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()
|
D | hdac_i915.c | 35 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()
|
/sound/i2c/ |
D | i2c.c | 34 static int snd_i2c_bus_free(struct snd_i2c_bus *bus) in snd_i2c_bus_free() 61 struct snd_i2c_bus *bus = device->device_data; in snd_i2c_bus_dev_free() local 68 struct snd_i2c_bus *bus; in snd_i2c_bus_create() local 99 int snd_i2c_device_create(struct snd_i2c_bus *bus, const char *name, in snd_i2c_device_create() 146 int snd_i2c_probeaddr(struct snd_i2c_bus *bus, unsigned short addr) in snd_i2c_probeaddr() 157 static inline void snd_i2c_bit_hw_start(struct snd_i2c_bus *bus) in snd_i2c_bit_hw_start() 163 static inline void snd_i2c_bit_hw_stop(struct snd_i2c_bus *bus) in snd_i2c_bit_hw_stop() 169 static void snd_i2c_bit_direction(struct snd_i2c_bus *bus, int clock, int data) in snd_i2c_bit_direction() 175 static void snd_i2c_bit_set(struct snd_i2c_bus *bus, int clock, int data) in snd_i2c_bit_set() 189 static int snd_i2c_bit_data(struct snd_i2c_bus *bus, int ack) in snd_i2c_bit_data() [all …]
|
/sound/soc/intel/skylake/ |
D | skl.c | 57 struct hdac_bus *bus = skl_to_bus(skl); in skl_init_pci() local 106 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_clock_power_gating() local 127 static int skl_init_chip(struct hdac_bus *bus, bool full_reset) in skl_init_chip() 147 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_update_d0i3c() local 196 static void skl_dum_set(struct hdac_bus *bus) in skl_dum_set() 209 static void skl_stream_update(struct hdac_bus *bus, struct hdac_stream *hstr) in skl_stream_update() 216 struct hdac_bus *bus = dev_id; in skl_interrupt() local 245 struct hdac_bus *bus = dev_id; in skl_threaded_handler() local 255 static int skl_acquire_irq(struct hdac_bus *bus, int do_disconnect) in skl_acquire_irq() 280 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_suspend_late() local [all …]
|
D | skl-pcm.c | 66 struct hdac_bus *bus = hstream->bus; in get_bus_ctx() local 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() local 134 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_host_dma_prepare() local 182 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_pcm_link_dma_prepare() local 223 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_pcm_open() local 309 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_pcm_hw_params() local [all …]
|
D | skl-messages.c | 53 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_setup_spib() local 74 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_prepare() local 105 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_trigger() local 124 struct hdac_bus *bus = dev_get_drvdata(dev); in skl_dsp_cleanup() local 254 struct hdac_bus *bus = skl_to_bus(skl); in skl_init_dsp() local 318 struct hdac_bus *bus = skl_to_bus(skl); in skl_free_dsp() local 362 struct hdac_bus *bus = skl_to_bus(skl); in skl_suspend_dsp() local 382 struct hdac_bus *bus = skl_to_bus(skl); in skl_resume_dsp() local
|
D | skl-nhlt.c | 88 struct hdac_bus *bus = skl_to_bus(skl); in skl_get_ep_blob() local 136 struct hdac_bus *bus = skl_to_bus(skl); in skl_nhlt_update_topology_bin() local 156 struct hdac_bus *bus = pci_get_drvdata(pci); in skl_nhlt_platform_id_show() local
|
/sound/hda/ext/ |
D | hdac_ext_stream.c | 29 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() 115 void snd_hdac_ext_stream_decouple(struct hdac_bus *bus, in snd_hdac_ext_stream_decouple() 244 hdac_ext_link_stream_assign(struct hdac_bus *bus, in hdac_ext_link_stream_assign() 284 hdac_ext_host_stream_assign(struct hdac_bus *bus, in hdac_ext_host_stream_assign() 337 struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_bus *bus, in snd_hdac_ext_stream_assign() 373 struct hdac_bus *bus = stream->hstream.bus; in snd_hdac_ext_stream_release() local 408 void snd_hdac_ext_stream_spbcap_enable(struct hdac_bus *bus, in snd_hdac_ext_stream_spbcap_enable() 433 int snd_hdac_ext_stream_set_spib(struct hdac_bus *bus, in snd_hdac_ext_stream_set_spib() [all …]
|
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() 216 int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_up_all() 237 int snd_hdac_ext_bus_link_power_down_all(struct hdac_bus *bus) in snd_hdac_ext_bus_link_power_down_all() 254 int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, in snd_hdac_ext_bus_link_get() 293 int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, in snd_hdac_ext_bus_link_put()
|
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() 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/sof/intel/ |
D | hda-codec.c | 45 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_jack_wake_enable() local 60 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_jack_check() local 137 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_probe_bus() local 162 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_get() local 171 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_put() local 180 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_init() local 196 struct hdac_bus *bus = sof_to_bus(sdev); in hda_codec_i915_exit() local
|
D | hda-stream.c | 34 struct hdac_bus *bus = sof_to_bus(sdev); in hda_setup_bdle() local 157 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_get() local 205 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_put() local 325 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_params() local 523 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_hw_free() local 538 struct hdac_bus *bus = context; in hda_dsp_stream_interrupt() local 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() local 630 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_init() local 804 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_stream_free() local
|
D | hda-dai.c | 55 hda_link_stream_assign(struct hdac_bus *bus, in hda_link_stream_assign() 124 struct hdac_bus *bus = hstream->bus; in hda_link_dma_params() local 203 struct hdac_bus *bus = hstream->bus; in hda_link_hw_params() local 290 struct hdac_bus *bus; in hda_link_pcm_trigger() local 353 struct hdac_bus *bus; in hda_link_hw_free() local
|
D | hda-ctrl.c | 57 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_get_caps() local 162 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_init_chip() local 265 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_stop_chip() local
|
D | hda.c | 210 struct hdac_bus *bus = sof_to_bus(sdev); in hda_ipc_irq_dump() local 255 struct hdac_bus *bus; in hda_init() local 346 struct hdac_bus *bus = sof_to_bus(sdev); in hda_init_caps() local 500 struct hdac_bus *bus; in hda_dsp_probe() local 683 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_remove() local
|
D | hda-dsp.c | 290 struct hdac_bus *bus = sof_to_bus(sdev); in hda_suspend() local 338 struct hdac_bus *bus = sof_to_bus(sdev); in hda_resume() local 413 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_suspend() local 429 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_set_hw_params_upon_resume() local
|
/sound/pci/hda/ |
D | hda_controller.c | 209 struct hdac_bus *bus = azx_bus(chip); in azx_pcm_trigger() local 722 struct hdac_bus *bus = &_bus->core; in snd_hda_attach_pcm_stream() local 789 static int azx_rirb_get_response(struct hdac_bus *bus, unsigned int addr, in azx_rirb_get_response() 928 static int azx_single_send_cmd(struct hdac_bus *bus, u32 val) in azx_single_send_cmd() 956 static int azx_single_get_response(struct hdac_bus *bus, unsigned int addr, in azx_single_get_response() 972 static int azx_send_cmd(struct hdac_bus *bus, unsigned int val) in azx_send_cmd() 985 static int azx_get_response(struct hdac_bus *bus, unsigned int addr, in azx_get_response() 1012 struct hdac_bus *bus = azx_bus(chip); in azx_get_dsp_loader_dev() local 1026 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_prepare() local 1058 struct hdac_bus *bus = &codec->bus->core; in snd_hda_codec_load_dsp_trigger() local [all …]
|
D | hda_sysfs.c | 540 static void parse_codec_mode(char *buf, struct hda_bus *bus, in parse_codec_mode() 563 static void parse_pincfg_mode(char *buf, struct hda_bus *bus, in parse_pincfg_mode() 569 static void parse_verb_mode(char *buf, struct hda_bus *bus, in parse_verb_mode() 575 static void parse_hint_mode(char *buf, struct hda_bus *bus, in parse_hint_mode() 581 static void parse_model_mode(char *buf, struct hda_bus *bus, in parse_model_mode() 588 static void parse_chip_name_mode(char *buf, struct hda_bus *bus, in parse_chip_name_mode() 657 static int parse_line_mode(char *buf, struct hda_bus *bus) in parse_line_mode() 715 int snd_hda_load_patch(struct hda_bus *bus, size_t fw_size, const void *fw_buf) in snd_hda_load_patch()
|
D | hda_intel.c | 501 struct hdac_bus *bus = azx_bus(chip); in intel_get_lctl_scf() local 520 struct hdac_bus *bus = azx_bus(chip); in intel_ml_lctl_set_power() local 547 struct hdac_bus *bus = azx_bus(chip); in intel_init_lctl() local 584 struct hdac_bus *bus = azx_bus(chip); in hda_intel_init_chip() local 727 struct hdac_bus *bus = azx_bus(chip); in azx_irq_pending_work() local 768 struct hdac_bus *bus = azx_bus(chip); in azx_clear_irq_pending() local 781 struct hdac_bus *bus = azx_bus(chip); in azx_acquire_irq() local 989 struct hdac_bus *bus = azx_bus(chip); in __azx_runtime_resume() local 1020 struct hdac_bus *bus; in azx_suspend() local 1339 struct hdac_bus *bus = azx_bus(chip); in azx_free() local [all …]
|
/sound/pci/ice1712/ |
D | revo.c | 81 static void revo_i2c_start(struct snd_i2c_bus *bus) in revo_i2c_start() 87 static void revo_i2c_stop(struct snd_i2c_bus *bus) in revo_i2c_stop() 93 static void revo_i2c_direction(struct snd_i2c_bus *bus, int clock, int data) in revo_i2c_direction() 110 static void revo_i2c_setlines(struct snd_i2c_bus *bus, int clk, int data) in revo_i2c_setlines() 125 static int revo_i2c_getdata(struct snd_i2c_bus *bus, int ack) in revo_i2c_getdata()
|
D | ews.c | 42 static void ewx_i2c_setlines(struct snd_i2c_bus *bus, int clk, int data) in ewx_i2c_setlines() 54 static int ewx_i2c_getclock(struct snd_i2c_bus *bus) in ewx_i2c_getclock() 60 static int ewx_i2c_getdata(struct snd_i2c_bus *bus, int ack) in ewx_i2c_getdata() 77 static void ewx_i2c_start(struct snd_i2c_bus *bus) in ewx_i2c_start() 96 static void ewx_i2c_stop(struct snd_i2c_bus *bus) in ewx_i2c_stop() 102 static void ewx_i2c_direction(struct snd_i2c_bus *bus, int clock, int data) in ewx_i2c_direction()
|
/sound/pci/ac97/ |
D | ac97_pcm.c | 431 int snd_ac97_pcm_assign(struct snd_ac97_bus *bus, in snd_ac97_pcm_assign() 558 struct snd_ac97_bus *bus; in snd_ac97_pcm_open() local 648 struct snd_ac97_bus *bus; in snd_ac97_pcm_close() local
|