Lines Matching defs:ivhd
548 static inline int ivhd_entry_length(u8 *ivhd)
550 u32 type = ((struct ivhd_entry *)ivhd)->type;
553 return 0x04 << (*ivhd >> 6);
556 return *((u8 *)ivhd + 21) + 22;
1915 struct ivhd_header *ivhd = (struct ivhd_header *)
1917 u8 last_type = ivhd->type;
1918 u16 devid = ivhd->devid;
1920 while (((u8 *)ivhd - base < ivrs->length) &&
1921 (ivhd->type <= ACPI_IVHD_TYPE_MAX_SUPPORTED)) {
1922 u8 *p = (u8 *) ivhd;
1924 if (ivhd->devid == devid)
1925 last_type = ivhd->type;
1926 ivhd = (struct ivhd_header *)(p + ivhd->length);
2181 amd_iommu_groups, "ivhd%d", iommu->index);