Lines Matching refs:hdr
71 struct hob_header hdr;
104 struct hob_header hdr;
124 struct hob_header hdr;
136 * @hdr: A pointer to a HOB.
141 *hdr)
143 return (const struct hob_header *)((uintptr_t)hdr + hdr->len);
153 * @hdr: A pointer to a HOB.
155 * Return: true: The HOB specified by hdr is the last HOB in the HOB list.
156 * Return: false: The HOB specified by hdr is not the last HOB in the HOB list.
158 static inline bool end_of_hob(const struct hob_header *hdr)
160 return hdr->type == HOB_TYPE_EOH;
170 * @hdr: A pointer to a HOB.
174 static inline void *get_guid_hob_data(const struct hob_header *hdr)
176 return (void *)((uintptr_t)hdr + sizeof(struct hob_guid));
186 * @hdr: A pointer to a HOB.
190 static inline u16 get_guid_hob_data_size(const struct hob_header *hdr)
192 return hdr->len - sizeof(struct hob_guid);