Searched refs:test_size (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | rkspi.c | 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() [all …]
|