Lines Matching refs:test_size
374 u32 test_size = 0x100; in main() local
377 pread = malloc(test_size); in main()
380 pwrite = malloc(test_size); in main()
388 for (i = 0; i < test_size; i++) in main()
402 ret = rockchip_spi_xfer(bus, cs, test_size * 8, pwrite, NULL, SPI_XFER_ONCE); in main()
412 rockchip_spi_xfer(bus, cs, test_size * 8, NULL, pread, SPI_XFER_ONCE); in main()
418 dbg_print_hex("spi_read:", pread, 4, test_size / 4); in main()
423 rockchip_spi_xfer(bus, cs, test_size * 8, pwrite, pread, SPI_XFER_ONCE); in main()
429 dbg_print_hex("spi_duplex:", pread, 4, test_size / 4); in main()
434 rockchip_spi_write_then_read(bus, cs, pwrite, 1, NULL, pread, test_size); in main()
440 dbg_print_hex("spi_write_then_read:", pread, 4, test_size / 4); in main()