Home
last modified time | relevance | path

Searched refs:s_first (Results 1 – 17 of 17) sorted by relevance

/external/u-boot/cmd/
Dflash.c189 int *s_first, int *s_last, in flash_fill_sect_ranges() argument
199 s_first[bank] = -1; /* first sector to erase */ in flash_fill_sect_ranges()
229 s_first[bank] = sect; in flash_fill_sect_ranges()
235 if (s_first[bank] >= 0) { in flash_fill_sect_ranges()
246 if (s_last[bank] < s_first[bank]) { in flash_fill_sect_ranges()
254 (*s_count) += s_last[bank] - s_first[bank] + 1; 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
403 s_first, s_last, &planned ); in flash_sect_erase()
409 if (s_first[bank]>=0) { in flash_sect_erase()
410 erased += s_last[bank] - s_first[bank] + 1; in flash_sect_erase()
[all …]
/external/u-boot/board/freescale/m5253demo/
Dflash.c177 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/
Dflash.c128 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/drivers/mtd/
Dcfi_mtd.c28 int s_first = -1; in cfi_mtd_erase() local
34 s_first = 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()
Dpic32_flash.c105 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()
Dst_smi.c531 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()
Daltera_qspi.c83 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument
91 instr.addr = mtd->erasesize * s_first; in flash_erase()
92 instr.len = mtd->erasesize * (s_last + 1 - s_first); in flash_erase()
Dcfi_flash.c1055 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/e2fsprogs/lib/e2p/
Dljs.c83 if (ntohl(jsb->s_first) != 1) in e2p_list_journal_super()
85 (unsigned int)ntohl(jsb->s_first)); in e2p_list_journal_super()
/external/u-boot/arch/arm/mach-at91/arm926ejs/
Deflash.c205 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()
/external/u-boot/fs/ext4/
Dext4_journal.h65 __be32 s_first; /* first block of log information */ member
Dext4_journal.c444 i = be32_to_cpu(jsb->s_first); in ext4fs_check_journal_state()
/external/e2fsprogs/lib/ext2fs/
Dmkjournal.c69 jsb->s_first = htonl(1); in ext2fs_create_journal_superblock()
78 jsb->s_first = htonl(ext2fs_journal_sb_start(fs->blocksize) + 1); in ext2fs_create_journal_superblock()
Dkernel-jbd.h210 __u32 s_first; /* first block of log information */ member
/external/e2fsprogs/e2fsck/
Djournal.c687 journal->j_first = ntohl(jsb->s_first); in e2fsck_journal_load()
721 jsb->s_first = htonl(1); in e2fsck_journal_reset_super()
/external/e2fsprogs/debugfs/
Dlogdump.c73 be32_to_cpu((jsb)->s_first));
Djournal.c637 journal->j_first = ntohl(jsb->s_first); in ext2fs_journal_load()