Searched refs:ech (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | attach.c | 91 static struct ubi_ec_hdr *ech; variable 832 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_peb() 870 if (ech->version != UBI_VERSION) { in scan_peb() 872 UBI_VERSION, (int)ech->version); in scan_peb() 876 ec = be64_to_cpu(ech->ec); in scan_peb() 887 ubi_dump_ec_hdr(ech); in scan_peb() 902 image_seq = be32_to_cpu(ech->image_seq); in scan_peb() 908 ubi_dump_ec_hdr(ech); in scan_peb() 1233 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_all() 1234 if (!ech) in scan_all() [all …]
|
| H A D | fastmap.c | 465 struct ubi_ec_hdr *ech; in scan_pool() local 469 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_pool() 470 if (!ech) in scan_pool() 475 kfree(ech); in scan_pool() 497 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_pool() 510 image_seq = be32_to_cpu(ech->image_seq); in scan_pool() 514 be32_to_cpu(ech->image_seq), ubi->image_seq); in scan_pool() 521 unsigned long long ec = be64_to_cpu(ech->ec); in scan_pool() 542 new_aeb->ec = be64_to_cpu(ech->ec); in scan_pool() 568 kfree(ech); in scan_pool() [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/ubispl/ |
| H A D | ubispl.c | 554 ret = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in ubi_scan_fastmap() 564 image_seq = be32_to_cpu(ech->image_seq); in ubi_scan_fastmap() 573 be32_to_cpu(ech->image_seq), ubi->image_seq); in ubi_scan_fastmap()
|