Home
last modified time | relevance | path

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

/Linux-v6.1/sound/hda/
Dhdac_controller.c523 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_bus_init_chip()
524 snd_hdac_chip_writel(bus, DPLBASE, (u32)bus->posbuf.addr); in snd_hdac_bus_init_chip()
525 snd_hdac_chip_writel(bus, DPUBASE, upper_32_bits(bus->posbuf.addr)); in snd_hdac_bus_init_chip()
551 if (bus->posbuf.addr) { in snd_hdac_bus_stop_chip()
619 num_streams * 8, &bus->posbuf); in snd_hdac_bus_alloc_stream_pages()
623 s->posbuf = (__le32 *)(bus->posbuf.area + s->index * 8); in snd_hdac_bus_alloc_stream_pages()
645 if (bus->posbuf.area) in snd_hdac_bus_free_stream_pages()
646 snd_dma_free_pages(&bus->posbuf); in snd_hdac_bus_free_stream_pages()
Dhdac_stream.c231 if (azx_dev->posbuf) in snd_hdac_stream_reset()
232 *azx_dev->posbuf = 0; in snd_hdac_stream_reset()
278 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_stream_setup()
281 (u32)bus->posbuf.addr | AZX_DPLBASE_ENABLE); in snd_hdac_stream_setup()
/Linux-v6.1/sound/soc/sof/intel/
Dhda-stream.c417 if (hstream->posbuf) in hda_dsp_iccmax_stream_hw_params()
418 *hstream->posbuf = 0; in hda_dsp_iccmax_stream_hw_params()
532 if (hstream->posbuf) in hda_dsp_stream_hw_params()
533 *hstream->posbuf = 0; in hda_dsp_stream_hw_params()
632 if (bus->use_posbuf && bus->posbuf.addr && in hda_dsp_stream_hw_params()
636 upper_32_bits(bus->posbuf.addr)); in hda_dsp_stream_hw_params()
638 (u32)bus->posbuf.addr | in hda_dsp_stream_hw_params()
850 &bus->posbuf); in hda_dsp_stream_init()
915 hstream->posbuf = (__le32 *)(bus->posbuf.area + in hda_dsp_stream_init()
972 hstream->posbuf = (__le32 *)(bus->posbuf.area + in hda_dsp_stream_init()
[all …]
Dhda-ctrl.c278 if (bus->use_posbuf && bus->posbuf.addr) { in hda_dsp_ctrl_init_chip()
280 (u32)bus->posbuf.addr); in hda_dsp_ctrl_init_chip()
282 upper_32_bits(bus->posbuf.addr)); in hda_dsp_ctrl_init_chip()
356 if (bus->use_posbuf && bus->posbuf.addr) { in hda_dsp_ctrl_stop_chip()
/Linux-v6.1/include/sound/
Dhda_register.h325 return le32_to_cpu(*stream->posbuf); in snd_hdac_stream_get_pos_posbuf()
Dhdaudio.h331 struct snd_dma_buffer posbuf; member
504 __le32 *posbuf; /* position buffer pointer */ member
/Linux-v6.1/sound/soc/sof/
DKconfig172 with other approach (e.g. HDAC DPIB/posbuf) to elapse PCM.
176 DPIB/posbuf is not ready, select "Y".
/Linux-v6.1/sound/pci/hda/
Dhda_intel.c802 mod_dma_pos = le32_to_cpu(*azx_dev->core.posbuf); in azx_via_get_position()