Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dide-test.c46 #define ATAPI_BLOCK_SIZE 2048 macro
956 size_t patt_len = ATAPI_BLOCK_SIZE * patt_blocks; in cdrom_pio_impl()
958 size_t rxsize = ATAPI_BLOCK_SIZE * nblocks; in cdrom_pio_impl()
966 generate_pattern(pattern, patt_len, ATAPI_BLOCK_SIZE); in cdrom_pio_impl()
968 ret = fwrite(pattern, ATAPI_BLOCK_SIZE, patt_blocks, fh); in cdrom_pio_impl()
1043 cdrom_pio_impl(BYTE_COUNT_LIMIT * 4 / ATAPI_BLOCK_SIZE); in test_cdrom_pio_large()
1050 static const size_t len = ATAPI_BLOCK_SIZE; in test_cdrom_dma()
1052 char *pattern = g_malloc(ATAPI_BLOCK_SIZE * 16); in test_cdrom_dma()
1067 generate_pattern(pattern, ATAPI_BLOCK_SIZE * 16, ATAPI_BLOCK_SIZE); in test_cdrom_dma()
1069 ret = fwrite(pattern, ATAPI_BLOCK_SIZE, 16, fh); in test_cdrom_dma()