Searched refs:posbuf (Results 1 - 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/sound/hda/ |
H A D | hdac_controller.c | 553 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_bus_init_chip() 554 snd_hdac_chip_writel(bus, DPLBASE, (u32)bus->posbuf.addr); in snd_hdac_bus_init_chip() 555 snd_hdac_chip_writel(bus, DPUBASE, upper_32_bits(bus->posbuf.addr)); in snd_hdac_bus_init_chip() 581 if (bus->posbuf.addr) { in snd_hdac_bus_stop_chip() 655 num_streams * 8, &bus->posbuf); in snd_hdac_bus_alloc_stream_pages() 659 s->posbuf = (__le32 *)(bus->posbuf.area + s->index * 8); in snd_hdac_bus_alloc_stream_pages() 681 if (bus->posbuf.area) in snd_hdac_bus_free_stream_pages() 682 snd_dma_free_pages(&bus->posbuf); in snd_hdac_bus_free_stream_pages()
|
H A D | hdac_stream.c | 248 if (azx_dev->posbuf) in snd_hdac_stream_reset() 249 *azx_dev->posbuf = 0; in snd_hdac_stream_reset() 303 if (bus->use_posbuf && bus->posbuf.addr) { in snd_hdac_stream_setup() 306 (u32)bus->posbuf.addr | AZX_DPLBASE_ENABLE); in snd_hdac_stream_setup()
|
/kernel/linux/linux-6.6/sound/hda/ |
H A D | hdac_controller.c | 526 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 D | hdac_stream.c | 247 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()
|
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
H A D | hda-stream.c | 343 if (hstream->posbuf) in hda_dsp_iccmax_stream_hw_params() 344 *hstream->posbuf = 0; in hda_dsp_iccmax_stream_hw_params() 481 if (hstream->posbuf) in hda_dsp_stream_hw_params() 482 *hstream->posbuf = 0; in hda_dsp_stream_hw_params() 576 upper_32_bits(bus->posbuf.addr)); in hda_dsp_stream_hw_params() 578 (u32)bus->posbuf.addr | in hda_dsp_stream_hw_params() 784 &bus->posbuf); in hda_dsp_stream_init() 849 hstream->posbuf = (__le32 *)(bus->posbuf.area + in hda_dsp_stream_init() 906 hstream->posbuf in hda_dsp_stream_init() [all...] |
H A D | hda-ctrl.c | 278 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->posbuf.addr) { in hda_dsp_ctrl_stop_chip()
|
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | hda-stream.c | 433 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 in hda_dsp_stream_init() [all...] |
H A D | hda-ctrl.c | 240 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()
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | hda_register.h | 319 return le32_to_cpu(*stream->posbuf); in snd_hdac_stream_get_pos_posbuf()
|
H A D | hdaudio.h | 326 struct snd_dma_buffer posbuf; member 503 __le32 *posbuf; /* position buffer pointer */ member
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | hdaudio.h | 332 struct snd_dma_buffer posbuf; member 514 __le32 *posbuf; /* position buffer pointer */ member
|
H A D | hda_register.h | 361 return le32_to_cpu(*stream->posbuf); in snd_hdac_stream_get_pos_posbuf()
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_intel.c | 846 mod_dma_pos = le32_to_cpu(*azx_dev->core.posbuf); in azx_via_get_position()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_intel.c | 806 mod_dma_pos = le32_to_cpu(*azx_dev->core.posbuf); in azx_via_get_position()
|
Completed in 19 milliseconds