Lines Matching full:dma
11 #include <zephyr/drivers/dma.h>
33 TC_PRINT("DMA completed successfully\n"); in dma_user_callback()
36 TC_PRINT("DMA error occurred!! (%d)\n", status); in dma_user_callback()
43 const struct device *dma; in ZTEST() local
47 dma = DEVICE_DT_GET(DT_NODELABEL(dma)); in ZTEST()
48 __ASSERT_NO_MSG(device_is_ready(dma)); in ZTEST()
55 /* Init DMA config info */ in ZTEST()
71 /* Init DMA descriptor info */ in ZTEST()
76 /* Configure DMA */ in ZTEST()
77 zassert_true(dma_config(dma, chan_id, &dma_cfg) == 0, in ZTEST()
78 "DMA config error"); in ZTEST()
83 /* Start DMA operation */ in ZTEST()
84 zassert_true(dma_start(dma, chan_id) == 0, "DMA start error"); in ZTEST()
94 "Nios-II DMA operation failed!!"); in ZTEST()
97 "Nios-II DMA Test failed!!"); in ZTEST()