Searched refs:s_first (Results 1 - 10 of 10) sorted by relevance

/u-boot/cmd/
H A Dflash.c194 int *s_first, int *s_last,
204 s_first[bank] = -1; /* first sector to erase */
232 s_first[bank] = sect;
237 if (s_first[bank] >= 0) {
247 if (s_last[bank] < s_first[bank]) {
254 (*s_count) += s_last[bank] - s_first[bank] + 1;
399 int s_first[CFI_FLASH_BANKS], s_last[CFI_FLASH_BANKS]; local
404 rcode = flash_fill_sect_ranges(addr_first, addr_last, s_first, s_last, &planned);
410 if (s_first[bank] >= 0) {
411 erased += s_last[bank] - s_first[ban
193 flash_fill_sect_ranges(ulong addr_first, ulong addr_last, int *s_first, int *s_last, int *s_count) argument
598 int s_first[CFI_FLASH_BANKS], s_last[CFI_FLASH_BANKS]; local
[all...]
/u-boot/drivers/mtd/
H A Dcfi_mtd.c29 int s_first = -1; local
35 s_first = sect;
48 if (s_first >= 0 && s_first <= s_last) {
52 error = flash_erase(fi, s_first, s_last);
H A Daltera_qspi.c86 int flash_erase(flash_info_t *info, int s_first, int s_last) argument
94 instr.addr = mtd->erasesize * s_first;
95 instr.len = mtd->erasesize * (s_last + 1 - s_first);
H A Dcfi_flash.c1056 int flash_erase(flash_info_t *info, int s_first, int s_last) argument
1067 if (s_first < 0 || s_first > s_last) {
1073 for (sect = s_first; sect <= s_last; ++sect)
1083 for (sect = s_first; sect <= s_last; sect++) {
/u-boot/board/cobra5272/
H A Dflash.c133 int flash_erase(flash_info_t *info, int s_first, int s_last) argument
146 if ((s_first < 0) || (s_first > s_last)) {
156 for (sect = s_first; sect <= s_last; ++sect) {
179 for (sect = s_first; sect <= s_last && !ctrlc (); sect++) {
/u-boot/board/freescale/m5253demo/
H A Dflash.c164 int flash_erase(flash_info_t * info, int s_first, int s_last) argument
171 if ((s_first < 0) || (s_first > s_last)) {
193 for (sect = s_first; sect <= s_last; ++sect) {
209 if ((s_last - s_first) == (CFG_SYS_SST_SECT - 1)) {
252 for (sect = s_first; sect <= s_last; sect++) {
/u-boot/fs/ext4/
H A Dext4_journal.h67 __be32 s_first; /* first block of log information */ member in struct:journal_superblock_t
H A Dext4_journal.c445 i = be32_to_cpu(jsb->s_first);
/u-boot/arch/arm/mach-at91/arm926ejs/
H A Deflash.c208 int flash_erase(flash_info_t *info, int s_first, int s_last) argument
210 debug("erase first=%d last=%d\n", s_first, s_last);
/u-boot/include/
H A Dflash.h86 int flash_erase(flash_info_t *info, int s_first, int s_last);

Completed in 189 milliseconds