Searched refs:ech (Results 1 – 3 of 3) sorted by relevance
| /openbmc/u-boot/drivers/mtd/ubi/ |
| H A D | attach.c | 90 static struct ubi_ec_hdr *ech; variable 831 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_peb() 869 if (ech->version != UBI_VERSION) { in scan_peb() 871 UBI_VERSION, (int)ech->version); in scan_peb() 875 ec = be64_to_cpu(ech->ec); in scan_peb() 886 ubi_dump_ec_hdr(ech); in scan_peb() 901 image_seq = be32_to_cpu(ech->image_seq); in scan_peb() 907 ubi_dump_ec_hdr(ech); in scan_peb() 1232 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_all() 1233 if (!ech) in scan_all() [all …]
|
| H A D | fastmap.c | 464 struct ubi_ec_hdr *ech; in scan_pool() local 468 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_pool() 469 if (!ech) in scan_pool() 474 kfree(ech); in scan_pool() 496 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_pool() 509 image_seq = be32_to_cpu(ech->image_seq); in scan_pool() 513 be32_to_cpu(ech->image_seq), ubi->image_seq); in scan_pool() 520 unsigned long long ec = be64_to_cpu(ech->ec); in scan_pool() 541 new_aeb->ec = be64_to_cpu(ech->ec); in scan_pool() 567 kfree(ech); in scan_pool() [all …]
|
| /openbmc/u-boot/drivers/mtd/ubispl/ |
| H A D | ubispl.c | 553 ret = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in ubi_scan_fastmap() 563 image_seq = be32_to_cpu(ech->image_seq); in ubi_scan_fastmap() 572 be32_to_cpu(ech->image_seq), ubi->image_seq); in ubi_scan_fastmap()
|