Searched refs:w_buf (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/test/rockchip/ |
| H A D | test-storage.c | 78 char *w_buf, *r_buf; in do_test_storage() local 144 w_buf = sysmem_alloc_by_name("storage_w", blocks * dev_desc->blksz); in do_test_storage() 146 w_buf = memalign(CONFIG_SYS_CACHELINE_SIZE, blocks * dev_desc->blksz); in do_test_storage() 148 if (!w_buf) { in do_test_storage() 165 w_buf[i] = i; in do_test_storage() 173 devtype, (u32)(ulong)w_buf, sector, blocks); in do_test_storage() 183 ret = blk_dwrite(dev_desc, sector, blocks, w_buf); in do_test_storage() 226 if (w_buf[i] != r_buf[i]) { in do_test_storage() 249 sysmem_free((phys_addr_t)w_buf); in do_test_storage() 253 free(w_buf); in do_test_storage()
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | meson_gx_mmc.c | 150 pdata->w_buf = calloc(data_size, sizeof(char)); in meson_mmc_setup_addr() 151 data_addr = (ulong) pdata->w_buf; in meson_mmc_setup_addr() 152 memcpy(pdata->w_buf, data->src, data_size); in meson_mmc_setup_addr() 206 free(pdata->w_buf); in meson_dm_mmc_send_cmd()
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-meson/ |
| H A D | sd_emmc.h | 86 void *w_buf; member
|