Home
last modified time | relevance | path

Searched refs:posbuf (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/sound/hda/
Dhdac_controller.c495 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_bus_init_chip()
496 snd_hdac_chip_writel(bus, DPLBASE, (u32)bus->posbuf.addr); in snd_hdac_bus_init_chip()
497 snd_hdac_chip_writel(bus, DPUBASE, upper_32_bits(bus->posbuf.addr)); in snd_hdac_bus_init_chip()
522 if (bus->posbuf.addr) { in snd_hdac_bus_stop_chip()
589 num_streams * 8, &bus->posbuf); in snd_hdac_bus_alloc_stream_pages()
593 s->posbuf = (__le32 *)(bus->posbuf.area + s->index * 8); in snd_hdac_bus_alloc_stream_pages()
616 if (bus->posbuf.area) in snd_hdac_bus_free_stream_pages()
617 bus->io_ops->dma_free_pages(bus, &bus->posbuf); in snd_hdac_bus_free_stream_pages()
Dhdac_stream.c130 if (azx_dev->posbuf) in snd_hdac_stream_reset()
131 *azx_dev->posbuf = 0; in snd_hdac_stream_reset()
177 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_stream_setup()
180 (u32)bus->posbuf.addr | AZX_DPLBASE_ENABLE); in snd_hdac_stream_setup()
/Linux-v4.19/include/sound/
Dhda_register.h314 return le32_to_cpu(*stream->posbuf); in snd_hdac_stream_get_pos_posbuf()
Dhdaudio.h342 struct snd_dma_buffer posbuf; member
472 __le32 *posbuf; /* position buffer pointer */ member
/Linux-v4.19/sound/pci/hda/
Dhda_intel.c883 mod_dma_pos = le32_to_cpu(*azx_dev->core.posbuf); in azx_via_get_position()