Searched refs:pwrite (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/rkflash/ |
| H A D | rkflash_debug.c | 90 static u8 pwrite[max_test_sector * 512]; variable 113 pwrite32 = (u32 *)pwrite; in blk_stress_test() 115 pwrite[i] = i; in blk_stress_test() 125 blk_dwrite(block_dev, test_lba, test_sec_count, pwrite); in blk_stress_test() 128 if (pwrite[j] != pread[j]) { in blk_stress_test() 131 pwrite, in blk_stress_test() 141 pwrite[j], in blk_stress_test() 167 if (pwrite[j] != pread[j]) { in blk_stress_test() 172 pwrite[j], in blk_stress_test()
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | rkspi.c | 373 unsigned char *pread, *pwrite; in main() local 380 pwrite = malloc(test_size); in main() 381 if (!pwrite) { in main() 383 free(pwrite); in main() 389 pwrite[i] = i; in main() 402 ret = rockchip_spi_xfer(bus, cs, test_size * 8, pwrite, NULL, SPI_XFER_ONCE); in main() 423 rockchip_spi_xfer(bus, cs, test_size * 8, pwrite, pread, SPI_XFER_ONCE); in main() 434 rockchip_spi_write_then_read(bus, cs, pwrite, 1, NULL, pread, test_size); in main()
|