Searched refs:ih (Results 1 – 4 of 4) sorted by relevance
35 struct Image_header *ih; in booti_setup() local41 ih = (struct Image_header *)map_sysmem(image, 0); in booti_setup()43 if (ih->magic != le32_to_cpu(LINUX_ARM64_IMAGE_MAGIC)) { in booti_setup()53 if (ih->image_size == 0) { in booti_setup()58 image_size = le64_to_cpu(ih->image_size); in booti_setup()59 text_offset = le64_to_cpu(ih->text_offset); in booti_setup()70 if (!force_reloc && (le64_to_cpu(ih->flags) & BIT(3))) in booti_setup()77 unmap_sysmem(ih); in booti_setup()
86 struct image_header *ih = NULL; in spl_ymodem_load_image() local103 ih = (struct image_header *)addr; in spl_ymodem_load_image()115 ret = spl_parse_image_header(spl_image, ih); in spl_ymodem_load_image()137 ih = (struct image_header *)buf; in spl_ymodem_load_image()138 ret = spl_parse_image_header(spl_image, ih); in spl_ymodem_load_image()142 if (ih->ih_comp == IH_COMP_GZIP) in spl_ymodem_load_image()148 ih = (struct image_header *)addr; in spl_ymodem_load_image()168 (ih->ih_comp == IH_COMP_GZIP)) { in spl_ymodem_load_image()169 if (gunzip((void *)(spl_image->load_addr + sizeof(*ih)), in spl_ymodem_load_image()171 (void *)(CONFIG_SYS_LOAD_ADDR + sizeof(*ih)), in spl_ymodem_load_image()
252 #define ih_version(ih) (__le16_to_cpu((ih)->ih_version)) argument254 #define IH_KEY_OFFSET(ih) (ih_version(ih) == ITEM_VERSION_1 \ argument255 ? __le32_to_cpu((ih)->ih_key.u.v1.k_offset) \256 : offset_v2_k_offset(&((ih)->ih_key.u.v2)))258 #define IH_KEY_ISTYPE(ih, type) (ih_version(ih) == ITEM_VERSION_1 \ argument259 ? __le32_to_cpu((ih)->ih_key.u.v1.k_uniqueness) == V1_##type \260 : offset_v2_k_type(&((ih)->ih_key.u.v2)) == V2_##type)306 #define stat_data_v1(ih) (ih_version(ih) == ITEM_VERSION_1) argument342 #define stat_data_v2(ih) (ih_version(ih) == ITEM_VERSION_2) argument
62 if (stat_data_v1 (ih)) { in sd_print_item()431 struct item_head *ih = INFO->current_ih + 1; in next_key() local493 ih = ITEMHEAD; in next_key()496 INFO->current_ih = ih; in next_key()526 struct item_head *ih; in search_stat() local564 ih = ITEMHEAD; in search_stat()567 if (__le32_to_cpu(ih->ih_key.k_dir_id) == dir_id in search_stat()568 && __le32_to_cpu(ih->ih_key.k_objectid) == objectid in search_stat()569 && __le32_to_cpu(ih->ih_key.u.v1.k_offset) == 0 in search_stat()575 INFO->current_ih = ih; in search_stat()[all …]
Completed in 11 milliseconds