Home
last modified time | relevance | path

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

/Linux-v5.4/sound/hda/
Dhdac_controller.c499 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_bus_init_chip()
500 snd_hdac_chip_writel(bus, DPLBASE, (u32)bus->posbuf.addr); in snd_hdac_bus_init_chip()
501 snd_hdac_chip_writel(bus, DPUBASE, upper_32_bits(bus->posbuf.addr)); in snd_hdac_bus_init_chip()
526 if (bus->posbuf.addr) { in snd_hdac_bus_stop_chip()
594 num_streams * 8, &bus->posbuf); in snd_hdac_bus_alloc_stream_pages()
598 s->posbuf = (__le32 *)(bus->posbuf.area + s->index * 8); in snd_hdac_bus_alloc_stream_pages()
620 if (bus->posbuf.area) in snd_hdac_bus_free_stream_pages()
621 snd_dma_free_pages(&bus->posbuf); in snd_hdac_bus_free_stream_pages()
Dhdac_stream.c176 if (azx_dev->posbuf) in snd_hdac_stream_reset()
177 *azx_dev->posbuf = 0; in snd_hdac_stream_reset()
223 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_stream_setup()
226 (u32)bus->posbuf.addr | AZX_DPLBASE_ENABLE); in snd_hdac_stream_setup()
/Linux-v5.4/sound/soc/sof/intel/
Dhda-stream.c399 if (hstream->posbuf) in hda_dsp_stream_hw_params()
400 *hstream->posbuf = 0; in hda_dsp_stream_hw_params()
490 upper_32_bits(bus->posbuf.addr)); in hda_dsp_stream_hw_params()
492 (u32)bus->posbuf.addr | in hda_dsp_stream_hw_params()
668 &bus->posbuf); in hda_dsp_stream_init()
733 hstream->posbuf = (__le32 *)(bus->posbuf.area + in hda_dsp_stream_init()
790 hstream->posbuf = (__le32 *)(bus->posbuf.area + in hda_dsp_stream_init()
810 if (bus->posbuf.area) in hda_dsp_stream_free()
811 snd_dma_free_pages(&bus->posbuf); in hda_dsp_stream_free()
Dhda-ctrl.c243 if (bus->use_posbuf && bus->posbuf.addr) { in hda_dsp_ctrl_init_chip()
245 (u32)bus->posbuf.addr); in hda_dsp_ctrl_init_chip()
247 upper_32_bits(bus->posbuf.addr)); in hda_dsp_ctrl_init_chip()
317 if (bus->posbuf.addr) { in hda_dsp_ctrl_stop_chip()
/Linux-v5.4/include/sound/
Dhda_register.h319 return le32_to_cpu(*stream->posbuf); in snd_hdac_stream_get_pos_posbuf()
Dhdaudio.h323 struct snd_dma_buffer posbuf; member
468 __le32 *posbuf; /* position buffer pointer */ member
/Linux-v5.4/sound/soc/sof/
DKconfig128 with other approach (e.g. HDAC DPIB/posbuf) to elapse PCM.
132 DPIB/posbuf is not ready, select "Y".
/Linux-v5.4/sound/pci/hda/
Dhda_intel.c815 mod_dma_pos = le32_to_cpu(*azx_dev->core.posbuf); in azx_via_get_position()