Searched refs:azx (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/sound/pci/hda/
H A Dhda_intel_trace.h11 TP_PROTO(struct azx *chip),
27 TP_PROTO(struct azx *chip),
32 TP_PROTO(struct azx *chip),
38 TP_PROTO(struct azx *chip),
43 TP_PROTO(struct azx *chip),
H A Dhda_controller_trace.h10 struct azx;
15 TP_PROTO(struct azx *chip, struct azx_dev *dev, int cmd),
36 TP_PROTO(struct azx *chip, struct azx_dev *dev, unsigned int pos, unsigned int delay),
58 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
74 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
79 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
84 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
89 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
H A Dhda_controller.h77 struct azx;
82 int (*disable_msi_reset_irq)(struct azx *);
83 int (*substream_alloc_pages)(struct azx *chip,
86 int (*substream_free_pages)(struct azx *chip,
91 int (*position_check)(struct azx *chip, struct azx_dev *azx_dev);
93 int (*link_power)(struct azx *chip, bool enable);
97 struct azx *chip;
104 typedef unsigned int (*azx_get_pos_callback_t)(struct azx *, struct azx_dev *);
105 typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *, unsigned int pos);
107 struct azx { struct
164 #define bus_to_azx(_bus) container_of(_bus, struct azx, bus.core)
197 unsigned int azx_get_position(struct azx *chip, struct azx_dev *azx_dev);
198 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev);
199 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev);
202 void azx_stop_all_streams(struct azx *chip);
210 /* Low level azx interface */
211 void azx_init_chip(struct azx *chip, bool full_reset);
212 void azx_stop_chip(struct azx *chip);
218 int azx_bus_init(struct azx *chip, const char *model,
220 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
221 int azx_codec_configure(struct azx *chip);
222 int azx_init_streams(struct azx *chip);
223 void azx_free_streams(struct azx *chip);
H A Dhda_controller.c44 azx_assign_device(struct azx *chip, struct snd_pcm_substream *substream) azx_assign_device()
95 struct azx *chip = apcm->chip; azx_pcm_close()
113 struct azx *chip = apcm->chip; azx_pcm_hw_params()
138 struct azx *chip = apcm->chip; azx_pcm_hw_free()
158 struct azx *chip = apcm->chip; azx_pcm_prepare()
213 struct azx *chip = apcm->chip; azx_pcm_trigger()
286 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev) azx_get_pos_lpib()
292 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev) azx_get_pos_posbuf()
298 unsigned int azx_get_position(struct azx *chip, azx_get_position()
334 struct azx *chip = apcm->chip; azx_pcm_pointer()
400 struct azx *chip = apcm->chip; azx_pcm_open()
492 struct azx *chip = apcm->chip; azx_pcm_mmap()
528 struct azx *chip = bus_to_azx(bus); snd_hda_attach_pcm_stream()
592 struct azx *chip = bus_to_azx(bus); azx_rirb_get_response()
691 static int azx_single_wait_for_response(struct azx *chip, unsigned int addr) azx_single_wait_for_response()
714 struct azx *chip = bus_to_azx(bus); azx_single_send_cmd()
758 struct azx *chip = bus_to_azx(bus); azx_send_cmd()
772 struct azx *chip = bus_to_azx(bus); azx_get_response()
784 struct azx *chip = bus_to_azx(bus); azx_link_power()
805 azx_get_dsp_loader_dev(struct azx *chip) azx_get_dsp_loader_dev()
822 struct azx *chip = bus_to_azx(bus); snd_hda_codec_load_dsp_prepare()
854 struct azx *chip = bus_to_azx(bus); snd_hda_codec_load_dsp_trigger()
865 struct azx *chip = bus_to_azx(bus); snd_hda_codec_load_dsp_cleanup()
885 void azx_init_chip(struct azx *chip, bool full_reset) azx_init_chip()
895 void azx_stop_all_streams(struct azx *chip) azx_stop_all_streams()
905 void azx_stop_chip(struct azx *chip) azx_stop_chip()
916 struct azx *chip = bus_to_azx(bus); stream_update()
930 struct azx *chip = dev_id; azx_interrupt()
979 static int probe_codec(struct azx *chip, int addr) probe_codec()
1001 struct azx *chip = bus_to_azx(&bus->core); snd_hda_bus_reset()
1011 static int get_jackpoll_interval(struct azx *chip) get_jackpoll_interval()
1033 int azx_bus_init(struct azx *chip, const char *model, azx_bus_init()
1081 int azx_probe_codecs(struct azx *chip, unsigned int max_slots) azx_probe_codecs()
1134 int azx_codec_configure(struct azx *chip) azx_codec_configure()
1144 static int stream_direction(struct azx *chip, unsigned char index) stream_direction()
1153 int azx_init_streams(struct azx *chip) azx_init_streams()
1188 void azx_free_streams(struct azx *chip) azx_free_streams()
H A Dhda_intel.c388 static void __mark_pages_wc(struct azx *chip, struct snd_dma_buffer *dmab, bool on) __mark_pages_wc()
417 static inline void mark_pages_wc(struct azx *chip, struct snd_dma_buffer *buf, mark_pages_wc()
422 static inline void mark_runtime_wc(struct azx *chip, struct azx_dev *azx_dev, mark_runtime_wc()
432 static inline void mark_pages_wc(struct azx *chip, struct snd_dma_buffer *buf, mark_pages_wc()
436 static inline void mark_runtime_wc(struct azx *chip, struct azx_dev *azx_dev, mark_runtime_wc()
442 static int azx_acquire_irq(struct azx *chip, int do_disconnect);
459 static void azx_init_pci(struct azx *chip) azx_init_pci()
526 static void bxt_reduce_dma_latency(struct azx *chip) bxt_reduce_dma_latency()
535 static void hda_intel_init_chip(struct azx *chip, bool full_reset) hda_intel_init_chip()
563 static int azx_get_delay_from_lpib(struct azx *chip, struct azx_dev *azx_dev, azx_get_delay_from_lpib()
594 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev);
597 static int azx_position_check(struct azx *chip, struct azx_dev *azx_dev) azx_position_check()
615 static int azx_intel_link_power(struct azx *chip, bool enable) azx_intel_link_power()
631 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev) azx_position_ok()
682 struct azx *chip = &hda->chip; azx_irq_pending_work()
722 static void azx_clear_irq_pending(struct azx *chip) azx_clear_irq_pending()
735 static int azx_acquire_irq(struct azx *chip, int do_disconnect) azx_acquire_irq()
755 static unsigned int azx_via_get_position(struct azx *chip, azx_via_get_position()
815 static void azx_add_card_list(struct azx *chip) azx_add_card_list()
823 static void azx_del_card_list(struct azx *chip) azx_del_card_list()
835 struct azx *chip; param_set_xint()
866 struct azx *chip = &hda->chip; haswell_set_bclk()
908 struct azx *chip; azx_suspend()
944 struct azx *chip; azx_resume()
1005 struct azx *chip; azx_runtime_suspend()
1037 struct azx *chip; azx_runtime_resume()
1090 struct azx *chip; azx_runtime_idle()
1123 static int azx_probe_continue(struct azx *chip);
1132 struct azx *chip = card->private_data; azx_vs_set_state()
1180 struct azx *chip = card->private_data; azx_vs_can_switch()
1194 static void init_vga_switcheroo(struct azx *chip) init_vga_switcheroo()
1211 static int register_vga_switcheroo(struct azx *chip) register_vga_switcheroo()
1241 static int azx_free(struct azx *chip) azx_free()
1298 struct azx *chip = device->device_data; azx_dev_disconnect()
1371 static int check_position_fix(struct azx *chip, int fix) check_position_fix()
1404 static void assign_position_fix(struct azx *chip, int fix) assign_position_fix()
1452 static void check_probe_mask(struct azx *chip, int dev) check_probe_mask()
1493 static void check_msi(struct azx *chip) check_msi()
1519 static void azx_check_snoop_available(struct azx *chip) azx_check_snoop_available()
1564 struct azx **rchip) azx_create()
1571 struct azx *chip; azx_create()
1644 static int azx_first_init(struct azx *chip) azx_first_init()
1809 struct azx *chip = card->private_data; azx_firmware_cb()
1866 static int disable_msi_reset_irq(struct azx *chip) disable_msi_reset_irq()
1888 struct azx *chip = bus_to_azx(bus); dma_alloc_pages()
1902 struct azx *chip = bus_to_azx(bus); dma_free_pages()
1908 static int substream_alloc_pages(struct azx *chip, substream_alloc_pages()
1923 static int substream_free_pages(struct azx *chip, substream_free_pages()
1936 struct azx *chip = apcm->chip; pcm_mmap_prepare()
1968 struct azx *chip; azx_probe()
2045 static int azx_probe_continue(struct azx *chip) azx_probe_continue()
2143 struct azx *chip; azx_remove()
2159 struct azx *chip; azx_shutdown()
H A Dhda_tegra.c70 struct azx chip;
102 static int substream_alloc_pages(struct azx *chip, substream_alloc_pages()
109 static int substream_free_pages(struct azx *chip, substream_free_pages()
250 struct azx *chip = card->private_data; hda_tegra_suspend()
265 struct azx *chip = card->private_data; hda_tegra_resume()
286 struct azx *chip = device->device_data; hda_tegra_dev_disconnect()
297 struct azx *chip = device->device_data; hda_tegra_dev_free()
313 static int hda_tegra_init_chip(struct azx *chip, struct platform_device *pdev) hda_tegra_init_chip()
356 static int hda_tegra_first_init(struct azx *chip, struct platform_device *pdev) hda_tegra_first_init()
443 struct azx *chip; hda_tegra_create()
487 struct azx *chip; hda_tegra_probe()
522 struct azx *chip = &hda->chip; hda_tegra_probe_work()
558 struct azx *chip; hda_tegra_shutdown()
H A Dhda_intel.h22 struct azx chip;

Completed in 293 milliseconds