Home
last modified time | relevance | path

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

/drivers/dma/ioat/
Dinit.c286 #define IOAT_TEST_SIZE 2000 macro
315 src = kzalloc(IOAT_TEST_SIZE, GFP_KERNEL); in ioat_dma_self_test()
318 dest = kzalloc(IOAT_TEST_SIZE, GFP_KERNEL); in ioat_dma_self_test()
325 for (i = 0; i < IOAT_TEST_SIZE; i++) in ioat_dma_self_test()
337 dma_src = dma_map_single(dev, src, IOAT_TEST_SIZE, DMA_TO_DEVICE); in ioat_dma_self_test()
343 dma_dest = dma_map_single(dev, dest, IOAT_TEST_SIZE, DMA_FROM_DEVICE); in ioat_dma_self_test()
351 dma_src, IOAT_TEST_SIZE, in ioat_dma_self_test()
380 if (memcmp(src, dest, IOAT_TEST_SIZE)) { in ioat_dma_self_test()
387 dma_unmap_single(dev, dma_dest, IOAT_TEST_SIZE, DMA_FROM_DEVICE); in ioat_dma_self_test()
389 dma_unmap_single(dev, dma_src, IOAT_TEST_SIZE, DMA_TO_DEVICE); in ioat_dma_self_test()