Searched refs:erase_size (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/drivers/mtd/spi/ |
D | sandbox.c | 81 uint erase_size; member 289 sbsf->erase_size = sbsf->data->sector_size * in sandbox_sf_process_cmd() 292 sbsf->erase_size = 4 << 10; in sandbox_sf_process_cmd() 294 sbsf->erase_size = 64 << 10; in sandbox_sf_process_cmd() 473 if (sbsf->off & (sbsf->erase_size - 1)) { in sandbox_sf_xfer() 475 sbsf->cmd, sbsf->erase_size, in sandbox_sf_xfer() 482 sbsf->erase_size); in sandbox_sf_xfer() 493 ret = sandbox_erase_part(sbsf, sbsf->erase_size); in sandbox_sf_xfer()
|
D | spi_flash.c | 316 u32 erase_size, erase_addr; in spi_flash_cmd_erase_ops() local 320 erase_size = flash->erase_size; in spi_flash_cmd_erase_ops() 321 if (offset % erase_size || len % erase_size) { in spi_flash_cmd_erase_ops() 358 offset += erase_size; in spi_flash_cmd_erase_ops() 359 len -= erase_size; in spi_flash_cmd_erase_ops() 968 if (stm_is_locked_sr(flash, ofs - flash->erase_size, flash->erase_size, in stm_unlock() 1229 flash->erase_size = 4096 << flash->shift; in spi_flash_scan() 1234 flash->erase_size = flash->sector_size; in spi_flash_scan() 1238 flash->sector_size = flash->erase_size; in spi_flash_scan() 1310 print_size(flash->erase_size, ", total "); in spi_flash_scan()
|
D | sf_dataflash.c | 430 spi_flash->erase_size = pagesize; in add_dataflash() 435 print_size(spi_flash->erase_size, ", total "); in add_dataflash()
|
/external/u-boot/cmd/mvebu/ |
D | bubt.c | 264 (flash->erase_size - image_size % flash->erase_size); in spi_burn_image() 266 erase_bytes, erase_bytes / flash->erase_size); in spi_burn_image()
|
/external/ltp/testcases/kernel/fs/fs-bench/ |
D | modaltr.sh | 60 modprobe $MTD_RAM total_size=32768 erase_size=256
|
/external/u-boot/include/ |
D | spi_flash.h | 75 u32 erase_size; member
|
/external/u-boot/tools/env/ |
D | fw_env.c | 61 ulong erase_size; /* device erase size */ member 80 #define DEVESIZE(i) envdevices[(i)].erase_size
|