Searched refs:s_last (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/cmd/ |
D | flash.c | 189 int *s_first, int *s_last, in flash_fill_sect_ranges() argument 200 s_last [bank] = -1; /* last sector to erase */ in flash_fill_sect_ranges() 232 s_last[bank] = sect; in flash_fill_sect_ranges() 236 if (s_last[bank] < 0) { in flash_fill_sect_ranges() 238 s_last[bank] = s_end; in flash_fill_sect_ranges() 246 if (s_last[bank] < s_first[bank]) { in flash_fill_sect_ranges() 252 sect = s_last[bank]; in flash_fill_sect_ranges() 254 (*s_count) += s_last[bank] - s_first[bank] + 1; in flash_fill_sect_ranges() 259 } else if (s_last[bank] >= 0) { in flash_fill_sect_ranges() 397 int s_first[CONFIG_SYS_MAX_FLASH_BANKS], s_last[CONFIG_SYS_MAX_FLASH_BANKS]; in flash_sect_erase() local [all …]
|
/external/u-boot/drivers/mtd/ |
D | cfi_mtd.c | 29 int s_last = -1; in cfi_mtd_erase() local 38 s_last = sect; in cfi_mtd_erase() 42 s_last = sect; in cfi_mtd_erase() 47 if (s_first >= 0 && s_first <= s_last) { in cfi_mtd_erase() 51 error = flash_erase(fi, s_first, s_last); in cfi_mtd_erase()
|
D | pic32_flash.c | 105 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 117 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 123 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 135 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
D | st_smi.c | 531 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 537 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 542 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 553 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
D | altera_qspi.c | 83 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 92 instr.len = mtd->erasesize * (s_last + 1 - s_first); in flash_erase()
|
D | cfi_flash.c | 1055 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 1066 if (s_first < 0 || s_first > s_last) { in flash_erase() 1072 for (sect = s_first; sect <= s_last; ++sect) in flash_erase() 1082 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
/external/u-boot/board/freescale/m5253demo/ |
D | flash.c | 177 int flash_erase(flash_info_t * info, int s_first, int s_last) in flash_erase() argument 184 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 206 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 222 if ((s_last - s_first) == (CONFIG_SYS_SST_SECT - 1)) { in flash_erase() 264 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
/external/u-boot/board/cobra5272/ |
D | flash.c | 128 int flash_erase (flash_info_t * info, int s_first, int s_last) in flash_erase() argument 141 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 151 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 174 for (sect = s_first; sect <= s_last && !ctrlc (); sect++) { in flash_erase()
|
/external/u-boot/arch/arm/mach-at91/arm926ejs/ |
D | eflash.c | 205 int flash_erase (flash_info_t *info, int s_first, int s_last) in flash_erase() argument 207 debug("erase first=%d last=%d\n", s_first, s_last); in flash_erase()
|