Lines Matching refs:ivrs_hdr
69 ACPI_IVRS_HEADER *ivrs_hdr, *end;
80 ivrs_hdr = (ACPI_IVRS_HEADER *)(ivrs + 1);
83 while (ivrs_hdr < end) {
84 if ((uint8_t *)ivrs_hdr + ivrs_hdr->Length > (uint8_t *)end) {
86 ivrs_hdr->Length);
90 switch (ivrs_hdr->Type) {
94 if (!iter(ivrs_hdr, arg))
101 if (!iter(ivrs_hdr, arg))
107 printf("AMD-Vi:Not IVHD/IVMD type(%d)", ivrs_hdr->Type);
111 ivrs_hdr = (ACPI_IVRS_HEADER *)((uint8_t *)ivrs_hdr +
112 ivrs_hdr->Length);
148 ivrs_hdr_find_iter(ACPI_IVRS_HEADER * ivrs_hdr, void *args)
153 if (ivrs_is_ivhd(ivrs_hdr->Type)) {
155 fi->ptr = ivrs_hdr;