Lines Matching refs:hdr
23 const struct hob_header *hdr; in fsp_scan_for_ram_size() local
26 hdr = gd->arch.hob_list; in fsp_scan_for_ram_size()
27 while (!end_of_hob(hdr)) { in fsp_scan_for_ram_size()
28 if (hdr->type == HOB_TYPE_RES_DESC) { in fsp_scan_for_ram_size()
29 res_desc = (struct hob_res_desc *)hdr; in fsp_scan_for_ram_size()
34 hdr = get_next_hob(hdr); in fsp_scan_for_ram_size()
46 const struct hob_header *hdr; in dram_init_banksize() local
78 for (bank = 1, hdr = gd->arch.hob_list; in dram_init_banksize()
79 bank < CONFIG_NR_DRAM_BANKS && !end_of_hob(hdr); in dram_init_banksize()
80 hdr = get_next_hob(hdr)) { in dram_init_banksize()
81 if (hdr->type != HOB_TYPE_RES_DESC) in dram_init_banksize()
83 res_desc = (struct hob_res_desc *)hdr; in dram_init_banksize()
123 const struct hob_header *hdr; in install_e820_map() local
128 hdr = gd->arch.hob_list; in install_e820_map()
130 while (!end_of_hob(hdr)) { in install_e820_map()
131 if (hdr->type == HOB_TYPE_RES_DESC) { in install_e820_map()
132 res_desc = (struct hob_res_desc *)hdr; in install_e820_map()
143 hdr = get_next_hob(hdr); in install_e820_map()