Searched refs:dma_buf (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/boards/intel_adsp/hda/src/ |
D | dma.c | 18 static __aligned(ALIGNMENT) uint8_t dma_buf[DMA_BUF_SIZE]; 51 dma_buf, DMA_BUF_SIZE); in ZTEST() 55 printk("Using buffer of size %d at addr %p\n", DMA_BUF_SIZE, dma_buf); in ZTEST() 59 dma_buf[i] = i & 0xff; in ZTEST() 63 zassert_true(arch_mem_coherent(dma_buf), "Buffer is unexpectedly incoherent!"); in ZTEST() 66 zassert_false(arch_mem_coherent(dma_buf), "Buffer is unexpectedly coherent!"); in ZTEST() 67 sys_cache_data_flush_range(dma_buf, DMA_BUF_SIZE); in ZTEST() 87 .source_address = (uint32_t)(&dma_buf[0]), in ZTEST() 153 dma_buf, DMA_BUF_SIZE); in test_hda_host_out_dma() 157 printk("Using buffer of size %d at addr %p\n", DMA_BUF_SIZE, dma_buf); in test_hda_host_out_dma() [all …]
|
/Zephyr-latest/drivers/audio/ |
D | dmic_mcux.c | 282 void *dma_buf = drv_data->dma_bufs[dma_buf_idx]; in dmic_mcux_setup_dma() local 319 (uint32_t)(((uint16_t *)dma_buf) + chan); in dmic_mcux_setup_dma() 340 dma_buf = drv_data->dma_bufs[dma_buf_idx]; in dmic_mcux_setup_dma()
|
/Zephyr-latest/drivers/serial/ |
D | uart_nrfx_uarte.c | 1023 uint8_t *dma_buf; in uarte_nrfx_rx_enable() local 1026 ret = dmm_buffer_in_prepare(cfg->mem_reg, buf, len, (void **)&dma_buf); in uarte_nrfx_rx_enable() 1032 buf = dma_buf; in uarte_nrfx_rx_enable() 1159 uint8_t *dma_buf; in uarte_nrfx_rx_buf_rsp() local 1162 err = dmm_buffer_in_prepare(config->mem_reg, buf, len, (void **)&dma_buf); in uarte_nrfx_rx_buf_rsp() 1167 buf = dma_buf; in uarte_nrfx_rx_buf_rsp()
|