Lines Matching refs:comp
179 void android_image_set_comp(struct andr_img_hdr *hdr, u32 comp) in android_image_set_comp() argument
181 android_kernel_comp_type = comp; in android_image_set_comp()
809 static ulong android_image_get_comp_addr(struct andr_img_hdr *hdr, int comp) in android_image_get_comp_addr() argument
823 if (comp != IH_COMP_NONE) { in android_image_get_comp_addr()
846 if (comp == IH_COMP_NONE) { in android_image_get_comp_addr()
869 void android_image_set_decomp(struct andr_img_hdr *hdr, int comp) in android_image_set_decomp() argument
873 env_set_ulong("os_comp", comp); in android_image_set_decomp()
876 if (comp != IH_COMP_NONE && comp != IH_COMP_ZIMAGE) { in android_image_set_decomp()
879 android_image_set_comp(hdr, comp); in android_image_set_decomp()
898 int comp; in android_image_memcpy_separate() local
900 comp = bootm_parse_comp((void *)(ulong)hdr + hdr->page_size); in android_image_memcpy_separate()
901 comp_addr = android_image_get_comp_addr(hdr, comp); in android_image_memcpy_separate()
928 android_image_set_decomp((void *)(*load_addr), comp); in android_image_memcpy_separate()
939 int comp, ret; in android_image_load() local
978 comp = bootm_parse_comp((void *)(ulong)hdr + hdr->page_size); in android_image_load()
979 comp_addr = android_image_get_comp_addr(hdr, comp); in android_image_load()
990 android_image_set_decomp((void *)load_address, comp); in android_image_load()