/u-boot/drivers/mtd/ubi/ |
A D | io.c | 328 static int do_sync_erase(struct ubi_device *ubi, int pnum) in do_sync_erase() 408 static int torture_peb(struct ubi_device *ubi, int pnum) in torture_peb() 494 static int nor_erase_prepare(struct ubi_device *ubi, int pnum) in nor_erase_prepare() 564 int ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture) in ubi_io_sync_erase() 606 int ubi_io_is_bad(const struct ubi_device *ubi, int pnum) in ubi_io_is_bad() 635 int ubi_io_mark_bad(const struct ubi_device *ubi, int pnum) in ubi_io_mark_bad() 728 int ubi_io_read_ec_hdr(struct ubi_device *ubi, int pnum, in ubi_io_read_ec_hdr() 837 int ubi_io_write_ec_hdr(struct ubi_device *ubi, int pnum, in ubi_io_write_ec_hdr() 1001 int ubi_io_read_vid_hdr(struct ubi_device *ubi, int pnum, in ubi_io_read_vid_hdr() 1085 int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum, in ubi_io_write_vid_hdr() [all …]
|
A D | attach.c | 118 static int add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id, in add_to_list() 159 static int add_corrupted(struct ubi_attach_info *ai, int pnum, int ec) in add_corrupted() 193 const struct ubi_ainf_volume *av, int pnum) in validate_vid_hdr() 258 int vol_id, int pnum, in add_volume() 324 int pnum, const struct ubi_vid_hdr *vid_hdr) in ubi_compare_lebs() 662 const struct ubi_attach_info *ai, int pnum, int ec) in early_erase_peb() 763 int pnum) in check_corruption() 819 int pnum, int *vid, unsigned long long *sqnum) in scan_peb() 1229 int err, pnum; in scan_all() local 1340 int err, pnum, fm_anchor = -1; in scan_fast() local [all …]
|
A D | fastmap.c | 59 static inline void set_seen(struct ubi_device *ubi, int pnum, int *seen) in set_seen() 74 int pnum, ret = 0; in self_check_seen() local 148 int pnum, int ec, int scrub) in add_aeb() 424 static void unmap_peb(struct ubi_attach_info *ai, int pnum) in unmap_peb() 471 int i, pnum, err, ret = 0; in scan_pool() local 788 int pnum = be32_to_cpu(fm_eba->pnum[j]); in ubi_attach_fastmap() local 889 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local 1365 static int erase_block(struct ubi_device *ubi, int pnum) in erase_block()
|
A D | eba.c | 322 int err, pnum, vol_id = vol->vol_id; in ubi_eba_unmap_leb() local 370 int err, pnum, scrub = 0, vol_id = vol->vol_id; in ubi_eba_read_leb() local 552 static int recover_peb(struct ubi_device *ubi, int pnum, int vol_id, int lnum, in recover_peb() 660 int err, pnum, tries = 0, vol_id = vol->vol_id; in ubi_eba_write_leb() local 793 int err, pnum, tries = 0, data_size = len, vol_id = vol->vol_id; in ubi_eba_write_leb_st() local 910 int err, pnum, old_pnum, tries = 0, vol_id = vol->vol_id; in ubi_eba_atomic_leb_change() local
|
A D | fastmap-wl.c | 261 int pnum; in get_peb_for_wl() local 329 int vol_id, pnum = fm_e->pnum; in ubi_wl_put_fm_peb() local
|
A D | wl.c | 407 static int prot_queue_del(struct ubi_device *ubi, int pnum) in prot_queue_del() 1066 int pnum = e->pnum; local 1201 int pnum, int torture) 1292 int ubi_wl_scrub_peb(struct ubi_device *ubi, int pnum) 1707 static int self_check_ec(struct ubi_device *ubi, int pnum, int ec)
|
A D | debug.c | 26 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len) in ubi_dump_flash()
|
A D | ubi-media.h | 472 __be32 pnum; member 508 __be32 pnum[0]; member
|
A D | ubi.h | 178 int pnum; member 652 int pnum; member 1067 int pnum, int offset, int len) in ubi_io_read_data() 1079 int pnum, int offset, int len) in ubi_io_write_data()
|
/u-boot/drivers/mtd/ubispl/ |
A D | ubispl.c | 40 static int ubi_io_read(struct ubi_scan_info *ubi, void *buf, int pnum, in ubi_io_read() 209 static int ubi_read_volume_table(struct ubi_scan_info *ubi, u32 pnum) in ubi_read_volume_table() 232 static int ubi_io_read_vid_hdr(struct ubi_scan_info *ubi, int pnum, in ubi_io_read_vid_hdr() 309 u32 pnum, u32 lnum) in ubi_add_peb_to_vol() 378 u32 pnum) in ubi_scan_vid_hdr() 418 static int assign_aeb_to_av(struct ubi_scan_info *ubi, u32 pnum, u32 lnum, in assign_aeb_to_av() 444 u32 pnum; in scan_pool() local 622 int pnum = be32_to_cpu(fm_eba->pnum[j]); in ubi_attach_fastmap() local 692 int i, used_blocks, pnum, ret = 0; in ubi_scan_fastmap() local 862 unsigned int pnum; in ipl_scan() local [all …]
|
/u-boot/cmd/ |
A D | legacy-mtd-utils.c | 16 u8 pnum; in get_part() local
|
A D | flash.c | 312 u8 dev_type, dev_num, pnum; in do_flerase() local 447 u8 dev_type, dev_num, pnum; in do_protect() local
|
A D | mtdparts.c | 1354 u8 type, dnum, pnum; local 1412 u8 pnum; local 1848 u8 pnum; local 1926 u8 pnum; local
|
A D | nand.c | 947 u8 pnum; in do_nandboot() local
|
/u-boot/tools/ |
A D | kwboot.c | 67 uint8_t pnum; member 353 size_t size, int pnum) in kwboot_xm_makeblock() 425 int rc, pnum, N, err; in kwboot_xmodem() local
|
/u-boot/drivers/fastboot/ |
A D | fb_nand.c | 41 u8 pnum; in fb_nand_lookup() local
|
/u-boot/fs/ubifs/ |
A D | lpt.c | 583 int i, n = c->lpt_hght - 1, pnum = parent->num, num = 0; in calc_pnode_num_from_parent() local
|