Searched refs:TEST_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/test/ |
H A D | compression.c | 121 #define TEST_BUFFER_SIZE 512 macro 319 memset(buf->compressed_buf, 'A', TEST_BUFFER_SIZE); in run_test_internal() 340 memset(buf->uncompressed_buf, 'A', TEST_BUFFER_SIZE); in run_test_internal() 350 memset(buf->compare_buf, 'A', TEST_BUFFER_SIZE); in run_test_internal() 359 memset(buf->compare_buf, 'A', TEST_BUFFER_SIZE); in run_test_internal() 386 buf->compressed_size = TEST_BUFFER_SIZE; in run_test() 387 buf->uncompressed_size = TEST_BUFFER_SIZE; in run_test()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 17249 #define TEST_BUFFER_SIZE 0x2000 macro 17262 buf = dma_alloc_coherent(&tp->pdev->dev, TEST_BUFFER_SIZE, in tg3_test_dma() 17361 for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++) in tg3_test_dma() 17365 ret = tg3_do_test_dma(tp, buf, buf_dma, TEST_BUFFER_SIZE, true); in tg3_test_dma() 17374 ret = tg3_do_test_dma(tp, buf, buf_dma, TEST_BUFFER_SIZE, false); in tg3_test_dma() 17382 for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++) { in tg3_test_dma() 17401 if (i == (TEST_BUFFER_SIZE / sizeof(u32))) { in tg3_test_dma() 17425 dma_free_coherent(&tp->pdev->dev, TEST_BUFFER_SIZE, buf, buf_dma); in tg3_test_dma()
|