Searched refs:IOAT_TEST_SIZE (Results 1 – 1 of 1) sorted by relevance
/drivers/dma/ioat/ |
D | init.c | 303 #define IOAT_TEST_SIZE 2000 macro 332 src = kzalloc(sizeof(u8) * IOAT_TEST_SIZE, GFP_KERNEL); in ioat_dma_self_test() 335 dest = kzalloc(sizeof(u8) * IOAT_TEST_SIZE, GFP_KERNEL); in ioat_dma_self_test() 342 for (i = 0; i < IOAT_TEST_SIZE; i++) in ioat_dma_self_test() 354 dma_src = dma_map_single(dev, src, IOAT_TEST_SIZE, DMA_TO_DEVICE); in ioat_dma_self_test() 359 dma_dest = dma_map_single(dev, dest, IOAT_TEST_SIZE, DMA_FROM_DEVICE); in ioat_dma_self_test() 366 dma_src, IOAT_TEST_SIZE, in ioat_dma_self_test() 395 if (memcmp(src, dest, IOAT_TEST_SIZE)) { in ioat_dma_self_test() 402 dma_unmap_single(dev, dma_dest, IOAT_TEST_SIZE, DMA_FROM_DEVICE); in ioat_dma_self_test() 404 dma_unmap_single(dev, dma_src, IOAT_TEST_SIZE, DMA_TO_DEVICE); in ioat_dma_self_test()
|