Home
last modified time | relevance | path

Searched refs:azx_bus (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_controller.h160 #define azx_bus(chip) (&(chip)->bus.core) macro
173 snd_hdac_chip_writel(azx_bus(chip), reg, value)
175 snd_hdac_chip_readl(azx_bus(chip), reg)
177 snd_hdac_chip_writew(azx_bus(chip), reg, value)
179 snd_hdac_chip_readw(azx_bus(chip), reg)
181 snd_hdac_chip_writeb(azx_bus(chip), reg, value)
183 snd_hdac_chip_readb(azx_bus(chip), reg)
202 snd_hdac_bus_alloc_stream_pages(azx_bus(chip))
204 snd_hdac_bus_free_stream_pages(azx_bus(chip))
210 snd_hdac_bus_enter_link_reset(azx_bus(chi
[all...]
H A Dhda_controller.c44 s = snd_hdac_stream_assign(azx_bus(chip), substream); in azx_assign_device()
206 struct hdac_bus *bus = azx_bus(chip); in azx_pcm_trigger()
409 snd_hdac_chip_writel(azx_bus(chip), GTSCC, dma_select); in azx_get_sync_time()
412 snd_hdac_chip_updatel(azx_bus(chip), GTSCC, 0, GTSCC_TSCCI_MASK); in azx_get_sync_time()
415 if (snd_hdac_chip_readl(azx_bus(chip), GTSCC) & in azx_get_sync_time()
428 wallclk_ctr = snd_hdac_chip_readl(azx_bus(chip), WALFCC); in azx_get_sync_time()
431 tsc_counter_l = snd_hdac_chip_readl(azx_bus(chip), TSCCL); in azx_get_sync_time()
432 tsc_counter_h = snd_hdac_chip_readl(azx_bus(chip), TSCCU); in azx_get_sync_time()
435 ll_counter_l = snd_hdac_chip_readl(azx_bus(chip), LLPCL); in azx_get_sync_time()
436 ll_counter_h = snd_hdac_chip_readl(azx_bus(chi in azx_get_sync_time()
[all...]
H A Dhda_loongson.c211 struct hdac_bus *bus = azx_bus(chip); in azx_irq_pending_work()
252 struct hdac_bus *bus = azx_bus(chip); in azx_clear_irq_pending()
265 struct hdac_bus *bus = azx_bus(chip); in azx_acquire_irq()
344 bus = azx_bus(chip); in azx_suspend()
438 azx_bus(chip)->codec_powered) in azx_runtime_idle()
466 struct hdac_bus *bus = azx_bus(chip); in azx_free()
551 azx_bus(chip)->codec_mask = chip->codec_probe_mask = 0xf; in azx_create()
587 struct hdac_bus *bus = azx_bus(chip); in azx_first_init()
661 if (!azx_bus(chip)->codec_mask) { in azx_first_init()
H A Dhda_intel.c508 struct hdac_bus *bus = azx_bus(chip); in intel_get_lctl_scf()
527 struct hdac_bus *bus = azx_bus(chip); in intel_ml_lctl_set_power()
554 struct hdac_bus *bus = azx_bus(chip); in intel_init_lctl()
591 struct hdac_bus *bus = azx_bus(chip); in hda_intel_init_chip()
671 snd_hdac_display_power(azx_bus(chip), HDA_CODEC_IDX_CONTROLLER, enable)
707 azx_bus(chip)->use_posbuf = false; in azx_position_ok()
756 struct hdac_bus *bus = azx_bus(chip); in azx_irq_pending_work()
797 struct hdac_bus *bus = azx_bus(chip); in azx_clear_irq_pending()
810 struct hdac_bus *bus = azx_bus(chip); in azx_acquire_irq()
1000 struct hdac_bus *bus = azx_bus(chi in __azx_runtime_resume()
[all...]
H A Dhda_tegra.c222 if (azx_bus(chip)->chip_init) { in hda_tegra_dev_free()
229 snd_hdac_bus_exit(azx_bus(chip)); in hda_tegra_dev_free()
237 struct hdac_bus *bus = azx_bus(chip); in hda_tegra_init_chip()
257 struct hdac_bus *bus = azx_bus(chip); in hda_tegra_first_init()
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_controller.h154 #define azx_bus(chip) (&(chip)->bus.core) macro
167 snd_hdac_chip_writel(azx_bus(chip), reg, value)
169 snd_hdac_chip_readl(azx_bus(chip), reg)
171 snd_hdac_chip_writew(azx_bus(chip), reg, value)
173 snd_hdac_chip_readw(azx_bus(chip), reg)
175 snd_hdac_chip_writeb(azx_bus(chip), reg, value)
177 snd_hdac_chip_readb(azx_bus(chip), reg)
196 snd_hdac_bus_alloc_stream_pages(azx_bus(chip))
198 snd_hdac_bus_free_stream_pages(azx_bus(chip))
204 snd_hdac_bus_enter_link_reset(azx_bus(chi
[all...]
H A Dhda_controller.c44 s = snd_hdac_stream_assign(azx_bus(chip), substream); in azx_assign_device()
206 struct hdac_bus *bus = azx_bus(chip); in azx_pcm_trigger()
392 snd_hdac_chip_writel(azx_bus(chip), GTSCC, dma_select); in azx_get_sync_time()
395 snd_hdac_chip_updatel(azx_bus(chip), GTSCC, 0, GTSCC_TSCCI_MASK); in azx_get_sync_time()
398 if (snd_hdac_chip_readl(azx_bus(chip), GTSCC) & in azx_get_sync_time()
411 wallclk_ctr = snd_hdac_chip_readl(azx_bus(chip), WALFCC); in azx_get_sync_time()
414 tsc_counter_l = snd_hdac_chip_readl(azx_bus(chip), TSCCL); in azx_get_sync_time()
415 tsc_counter_h = snd_hdac_chip_readl(azx_bus(chip), TSCCU); in azx_get_sync_time()
418 ll_counter_l = snd_hdac_chip_readl(azx_bus(chip), LLPCL); in azx_get_sync_time()
419 ll_counter_h = snd_hdac_chip_readl(azx_bus(chi in azx_get_sync_time()
[all...]
H A Dhda_intel.c461 struct hdac_bus *bus = azx_bus(chip); in intel_get_lctl_scf()
480 struct hdac_bus *bus = azx_bus(chip); in intel_ml_lctl_set_power()
507 struct hdac_bus *bus = azx_bus(chip); in intel_init_lctl()
544 struct hdac_bus *bus = azx_bus(chip); in hda_intel_init_chip()
624 snd_hdac_display_power(azx_bus(chip), HDA_CODEC_IDX_CONTROLLER, enable)
667 azx_bus(chip)->use_posbuf = false; in azx_position_ok()
716 struct hdac_bus *bus = azx_bus(chip); in azx_irq_pending_work()
757 struct hdac_bus *bus = azx_bus(chip); in azx_clear_irq_pending()
770 struct hdac_bus *bus = azx_bus(chip); in azx_acquire_irq()
960 struct hdac_bus *bus = azx_bus(chi in __azx_runtime_resume()
[all...]
H A Dhda_tegra.c230 if (azx_bus(chip)->chip_init) { in hda_tegra_dev_free()
237 snd_hdac_bus_exit(azx_bus(chip)); in hda_tegra_dev_free()
245 struct hdac_bus *bus = azx_bus(chip); in hda_tegra_init_chip()
263 struct hdac_bus *bus = azx_bus(chip); in hda_tegra_first_init()

Completed in 10 milliseconds