Searched refs:pread (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/rkflash/ |
| H A D | rkflash_debug.c | 91 static u8 pread[max_test_sector * 512]; variable 126 blk_dread(block_dev, test_lba, test_sec_count, pread); in blk_stress_test() 128 if (pwrite[j] != pread[j]) { in blk_stress_test() 135 pread, in blk_stress_test() 142 pread[j]); in blk_stress_test() 161 blk_dread(block_dev, test_lba, test_sec_count, pread); in blk_stress_test() 167 if (pwrite[j] != pread[j]) { in blk_stress_test() 173 pread[j]); in blk_stress_test()
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | rkspi.c | 373 unsigned char *pread, *pwrite; in main() local 377 pread = malloc(test_size); in main() 378 if (!pread) 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()
|