Lines Matching refs:hdr
18 const struct hob_header *hdr; in dram_init() local
21 hdr = gd->arch.hob_list; in dram_init()
22 while (!end_of_hob(hdr)) { in dram_init()
23 if (hdr->type == HOB_TYPE_RES_DESC) { in dram_init()
24 res_desc = (struct hob_res_desc *)hdr; in dram_init()
30 hdr = get_next_hob(hdr); in dram_init()
68 const struct hob_header *hdr; in install_e820_map() local
71 hdr = gd->arch.hob_list; in install_e820_map()
73 while (!end_of_hob(hdr)) { in install_e820_map()
74 if (hdr->type == HOB_TYPE_RES_DESC) { in install_e820_map()
75 res_desc = (struct hob_res_desc *)hdr; in install_e820_map()
86 hdr = get_next_hob(hdr); in install_e820_map()