Lines Matching refs:andr_img_hdr
44 struct andr_img_hdr *hdr = NULL; in android_version_init()
109 struct andr_img_hdr *hdr = NULL; in android_image_init_resource()
147 static ulong android_image_get_kernel_addr(const struct andr_img_hdr *hdr) in android_image_get_kernel_addr()
184 void android_image_set_comp(struct andr_img_hdr *hdr, u32 comp) in android_image_set_comp()
189 u32 android_image_get_comp(const struct andr_img_hdr *hdr) in android_image_get_comp()
194 int android_image_parse_kernel_comp(const struct andr_img_hdr *hdr) in android_image_parse_kernel_comp()
215 int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, in android_image_get_kernel()
270 int android_image_check_header(const struct andr_img_hdr *hdr) in android_image_check_header()
275 ulong android_image_get_end(const struct andr_img_hdr *hdr) in android_image_get_end()
304 u32 android_image_get_ksize(const struct andr_img_hdr *hdr) in android_image_get_ksize()
309 void android_image_set_kload(struct andr_img_hdr *hdr, u32 load_address) in android_image_set_kload()
314 ulong android_image_get_kload(const struct andr_img_hdr *hdr) in android_image_get_kload()
319 int android_image_get_ramdisk(const struct andr_img_hdr *hdr, in android_image_get_ramdisk()
372 int android_image_get_fdt(const struct andr_img_hdr *hdr, in android_image_get_fdt()
425 static int image_load(img_t img, struct andr_img_hdr *hdr, in image_load()
677 static int images_load_verify(struct andr_img_hdr *hdr, ulong part_start, in images_load_verify()
703 static int android_image_separate(struct andr_img_hdr *hdr, in android_image_separate()
792 static int android_image_separate_v34(struct andr_img_hdr *hdr, in android_image_separate_v34()
835 static ulong android_image_get_comp_addr(struct andr_img_hdr *hdr, int comp) in android_image_get_comp_addr()
895 void android_image_set_decomp(struct andr_img_hdr *hdr, int comp) in android_image_set_decomp()
911 static int android_image_load_separate(struct andr_img_hdr *hdr, in android_image_load_separate()
921 int android_image_memcpy_separate(struct andr_img_hdr *hdr, ulong *load_addr) in android_image_memcpy_separate()
963 struct andr_img_hdr *hdr; in android_image_load()
992 hdr = (struct andr_img_hdr *) in android_image_load()
1028 static struct andr_img_hdr *
1032 struct andr_img_hdr *hdr; in extract_boot_image_v012_header()
1035 blk_cnt = BLK_CNT(sizeof(struct andr_img_hdr), dev_desc->blksz); in extract_boot_image_v012_header()
1036 hdr = (struct andr_img_hdr *)malloc(blk_cnt * dev_desc->blksz); in extract_boot_image_v012_header()
1144 struct andr_img_hdr *hdr, bool save_hdr) in populate_boot_info()
1254 struct andr_img_hdr *populate_andr_img_hdr(struct blk_desc *dev_desc, in populate_andr_img_hdr()
1262 struct andr_img_hdr *andr_hdr = NULL; in populate_andr_img_hdr()
1269 andr_hdr = (struct andr_img_hdr *)malloc(1 * dev_desc->blksz); in populate_andr_img_hdr()
1319 andr_hdr = (struct andr_img_hdr *) in populate_andr_img_hdr()
1320 malloc(sizeof(struct andr_img_hdr)); in populate_andr_img_hdr()
1358 void android_print_contents(const struct andr_img_hdr *hdr) in android_print_contents()