Searched refs:azx_bus (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/sound/pci/hda/ |
H A D | hda_controller.h | 154 #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(chip))
|
H A D | hda_controller.c | 44 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(chip), LLPCU); in azx_get_sync_time() [all …]
|
H A D | hda_intel.c | 461 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(chip); in __azx_runtime_resume() [all …]
|
H A D | hda_tegra.c | 230 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()
|