/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_controller.h | 75 struct azx; 80 int (*disable_msi_reset_irq)(struct azx *); 84 int (*position_check)(struct azx *chip, struct azx_dev *azx_dev); 86 int (*link_power)(struct azx *chip, bool enable); 90 struct azx *chip; 97 typedef unsigned int (*azx_get_pos_callback_t)(struct azx *, struct azx_dev *); 98 typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *, unsigned int pos); 100 struct azx { struct 161 #define bus_to_azx(_bus) container_of(_bus, struct azx, bus.core) 163 static inline bool azx_snoop(struct azx *chi [all...] |
H A D | hda_loongson.c | 151 struct azx chip; 168 static int azx_acquire_irq(struct azx *chip, int do_disconnect); 170 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev); 173 static int azx_position_check(struct azx *chip, struct azx_dev *azx_dev) in azx_position_check() 199 static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev) in azx_position_ok() 210 struct azx *chip = &hda->chip; in azx_irq_pending_work() 250 static void azx_clear_irq_pending(struct azx *chip) in azx_clear_irq_pending() 263 static int azx_acquire_irq(struct azx *chip, int do_disconnect) in azx_acquire_irq() 289 static void azx_add_card_list(struct azx *chip) in azx_add_card_list() 297 static void azx_del_card_list(struct azx *chi [all...] |
H A D | hda_controller_trace.h | 11 struct azx; 16 TP_PROTO(struct azx *chip, struct azx_dev *dev, int cmd), 37 TP_PROTO(struct azx *chip, struct azx_dev *dev, unsigned int pos, unsigned int delay), 59 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev), 75 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev), 80 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev), 85 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev), 90 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
|
H A D | hda_intel_trace.h | 12 TP_PROTO(struct azx *chip), 28 TP_PROTO(struct azx *chip), 33 TP_PROTO(struct azx *chip), 39 TP_PROTO(struct azx *chip), 44 TP_PROTO(struct azx *chip),
|
H A D | hda_controller.c | 40 azx_assign_device(struct azx *chip, struct snd_pcm_substream *substream) in azx_assign_device() 91 struct azx *chip = apcm->chip; in azx_pcm_close() 109 struct azx *chip = apcm->chip; in azx_pcm_hw_params() 150 struct azx *chip = apcm->chip; in azx_pcm_prepare() 205 struct azx *chip = apcm->chip; in azx_pcm_trigger() 278 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_lpib() 284 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_posbuf() 290 unsigned int azx_get_position(struct azx *chip, in azx_get_position() 343 struct azx *chip = apcm->chip; in azx_pcm_pointer() 387 struct azx *chi in azx_get_sync_time() [all...] |
H A D | hda_intel.c | 403 static int azx_acquire_irq(struct azx *chip, int do_disconnect); 404 static void set_default_power_save(struct azx *chip); 421 static void azx_init_pci(struct azx *chip) in azx_init_pci() 488 static void bxt_reduce_dma_latency(struct azx *chip) in bxt_reduce_dma_latency() 506 static int intel_get_lctl_scf(struct azx *chip) in intel_get_lctl_scf() 525 static int intel_ml_lctl_set_power(struct azx *chip, int state) in intel_ml_lctl_set_power() 552 static void intel_init_lctl(struct azx *chip) in intel_init_lctl() 589 static void hda_intel_init_chip(struct azx *chip, bool full_reset) in hda_intel_init_chip() 619 static int azx_get_delay_from_lpib(struct azx *chip, struct azx_dev *azx_dev, in azx_get_delay_from_lpib() 650 static int azx_position_ok(struct azx *chi [all...] |
H A D | hda_tegra.c | 72 struct azx chip; 149 struct azx *chip = card->private_data; in hda_tegra_runtime_suspend() 168 struct azx *chip = card->private_data; in hda_tegra_runtime_resume() 207 struct azx *chip = device->device_data; in hda_tegra_dev_disconnect() 218 struct azx *chip = device->device_data; in hda_tegra_dev_free() 234 static int hda_tegra_init_chip(struct azx *chip, struct platform_device *pdev) in hda_tegra_init_chip() 254 static int hda_tegra_first_init(struct azx *chip, struct platform_device *pdev) in hda_tegra_first_init() 395 struct azx *chip; in hda_tegra_create() 445 struct azx *chip; in hda_tegra_probe() 499 struct azx *chi in hda_tegra_probe_work() [all...] |
H A D | hda_intel.h | 10 struct azx chip;
|
H A D | patch_realtek.c | 350 struct azx *chip = bus_to_azx(&codec->bus->core); in has_loongson_workaround()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_controller.h | 71 struct azx; 76 int (*disable_msi_reset_irq)(struct azx *); 78 int (*position_check)(struct azx *chip, struct azx_dev *azx_dev); 80 int (*link_power)(struct azx *chip, bool enable); 84 struct azx *chip; 91 typedef unsigned int (*azx_get_pos_callback_t)(struct azx *, struct azx_dev *); 92 typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *, unsigned int pos); 94 struct azx { struct 155 #define bus_to_azx(_bus) container_of(_bus, struct azx, bus.core) 157 static inline bool azx_snoop(struct azx *chi [all...] |
H A D | hda_controller_trace.h | 11 struct azx; 16 TP_PROTO(struct azx *chip, struct azx_dev *dev, int cmd), 37 TP_PROTO(struct azx *chip, struct azx_dev *dev, unsigned int pos, unsigned int delay), 59 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev), 75 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev), 80 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev), 85 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev), 90 TP_PROTO(struct azx *chip, struct azx_dev *azx_dev),
|
H A D | hda_intel_trace.h | 12 TP_PROTO(struct azx *chip), 28 TP_PROTO(struct azx *chip), 33 TP_PROTO(struct azx *chip), 39 TP_PROTO(struct azx *chip), 44 TP_PROTO(struct azx *chip),
|
H A D | hda_controller.c | 40 azx_assign_device(struct azx *chip, struct snd_pcm_substream *substream) in azx_assign_device() 91 struct azx *chip = apcm->chip; in azx_pcm_close() 109 struct azx *chip = apcm->chip; in azx_pcm_hw_params() 150 struct azx *chip = apcm->chip; in azx_pcm_prepare() 205 struct azx *chip = apcm->chip; in azx_pcm_trigger() 278 unsigned int azx_get_pos_lpib(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_lpib() 284 unsigned int azx_get_pos_posbuf(struct azx *chip, struct azx_dev *azx_dev) in azx_get_pos_posbuf() 290 unsigned int azx_get_position(struct azx *chip, in azx_get_position() 326 struct azx *chip = apcm->chip; in azx_pcm_pointer() 370 struct azx *chi in azx_get_sync_time() [all...] |
H A D | hda_intel.c | 356 static int azx_acquire_irq(struct azx *chip, int do_disconnect); 357 static void set_default_power_save(struct azx *chip); 374 static void azx_init_pci(struct azx *chip) in azx_init_pci() 441 static void bxt_reduce_dma_latency(struct azx *chip) in bxt_reduce_dma_latency() 459 static int intel_get_lctl_scf(struct azx *chip) in intel_get_lctl_scf() 478 static int intel_ml_lctl_set_power(struct azx *chip, int state) in intel_ml_lctl_set_power() 505 static void intel_init_lctl(struct azx *chip) in intel_init_lctl() 542 static void hda_intel_init_chip(struct azx *chip, bool full_reset) in hda_intel_init_chip() 572 static int azx_get_delay_from_lpib(struct azx *chip, struct azx_dev *azx_dev, in azx_get_delay_from_lpib() 603 static int azx_position_ok(struct azx *chi [all...] |
H A D | hda_tegra.c | 78 struct azx chip; 157 struct azx *chip = card->private_data; in hda_tegra_runtime_suspend() 176 struct azx *chip = card->private_data; in hda_tegra_runtime_resume() 215 struct azx *chip = device->device_data; in hda_tegra_dev_disconnect() 226 struct azx *chip = device->device_data; in hda_tegra_dev_free() 242 static int hda_tegra_init_chip(struct azx *chip, struct platform_device *pdev) in hda_tegra_init_chip() 260 static int hda_tegra_first_init(struct azx *chip, struct platform_device *pdev) in hda_tegra_first_init() 413 struct azx *chip; in hda_tegra_create() 481 struct azx *chip; in hda_tegra_probe() 554 struct azx *chi in hda_tegra_probe_work() [all...] |
H A D | hda_intel.h | 10 struct azx chip;
|
/kernel/linux/linux-5.10/sound/hda/ |
H A D | hdac_stream.c | 87 struct azx *chip = bus_to_azx(bus); in snd_hdac_stream_start() 131 struct azx *chip = bus_to_azx(azx_dev->bus); in snd_hdac_stream_clear() 211 struct azx *chip = bus_to_azx(azx_dev->bus); in snd_hdac_stream_reset() 262 struct azx *chip = bus_to_azx(bus); in snd_hdac_stream_setup() 494 struct azx *chip = bus_to_azx(bus); in snd_hdac_stream_setup_periods()
|
H A D | hdac_controller.c | 46 struct azx *chip = bus_to_azx(bus); in snd_hdac_bus_init_cmd_io() 507 struct azx *chip = bus_to_azx(bus); in azx_int_clear() 605 struct azx *chip = bus_to_azx(bus); in snd_hdac_bus_handle_stream_irq()
|
H A D | hdac_bus.c | 112 struct azx *chip = bus_to_azx(bus); in snd_hdac_bus_exec_verb_unlocked()
|