Home
last modified time | relevance | path

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

/openbmc/linux/sound/hda/
H A Dhdac_controller.c526 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_bus_init_chip()
527 snd_hdac_chip_writel(bus, DPLBASE, (u32)bus->posbuf.addr); in snd_hdac_bus_init_chip()
528 snd_hdac_chip_writel(bus, DPUBASE, upper_32_bits(bus->posbuf.addr)); in snd_hdac_bus_init_chip()
554 if (bus->posbuf.addr) { in snd_hdac_bus_stop_chip()
622 num_streams * 8, &bus->posbuf); in snd_hdac_bus_alloc_stream_pages()
626 s->posbuf = (__le32 *)(bus->posbuf.area + s->index * 8); in snd_hdac_bus_alloc_stream_pages()
648 if (bus->posbuf.area) in snd_hdac_bus_free_stream_pages()
649 snd_dma_free_pages(&bus->posbuf); in snd_hdac_bus_free_stream_pages()
H A Dhdac_stream.c247 if (azx_dev->posbuf) in snd_hdac_stream_reset()
248 *azx_dev->posbuf = 0; in snd_hdac_stream_reset()
294 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_stream_setup()
297 (u32)bus->posbuf.addr | AZX_DPLBASE_ENABLE); in snd_hdac_stream_setup()
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-stream.c433 if (hstream->posbuf) in hda_dsp_iccmax_stream_hw_params()
434 *hstream->posbuf = 0; in hda_dsp_iccmax_stream_hw_params()
552 if (hstream->posbuf) in hda_dsp_stream_hw_params()
553 *hstream->posbuf = 0; in hda_dsp_stream_hw_params()
650 if (bus->use_posbuf && bus->posbuf.addr && in hda_dsp_stream_hw_params()
654 upper_32_bits(bus->posbuf.addr)); in hda_dsp_stream_hw_params()
656 (u32)bus->posbuf.addr | in hda_dsp_stream_hw_params()
855 &bus->posbuf); in hda_dsp_stream_init()
931 hstream->posbuf = (__le32 *)(bus->posbuf.area + in hda_dsp_stream_init()
951 if (bus->posbuf.area) in hda_dsp_stream_free()
[all …]
H A Dhda-ctrl.c240 if (bus->use_posbuf && bus->posbuf.addr) { in hda_dsp_ctrl_init_chip()
242 (u32)bus->posbuf.addr); in hda_dsp_ctrl_init_chip()
244 upper_32_bits(bus->posbuf.addr)); in hda_dsp_ctrl_init_chip()
308 if (bus->use_posbuf && bus->posbuf.addr) { in hda_dsp_ctrl_stop_chip()
/openbmc/linux/include/sound/
H A Dhda_register.h361 return le32_to_cpu(*stream->posbuf); in snd_hdac_stream_get_pos_posbuf()
H A Dhdaudio.h332 struct snd_dma_buffer posbuf; member
514 __le32 *posbuf; /* position buffer pointer */ member
/openbmc/linux/sound/soc/sof/
H A DKconfig185 with other approach (e.g. HDAC DPIB/posbuf) to elapse PCM.
189 DPIB/posbuf is not ready, select "Y".
/openbmc/linux/sound/pci/hda/
H A Dhda_intel.c806 mod_dma_pos = le32_to_cpu(*azx_dev->core.posbuf); in azx_via_get_position()