Lines Matching defs:ivhd
540 static inline int ivhd_entry_length(u8 *ivhd)
542 u32 type = ((struct ivhd_entry *)ivhd)->type;
545 return 0x04 << (*ivhd >> 6);
548 return *((u8 *)ivhd + 21) + 22;
1676 struct ivhd_header *ivhd = (struct ivhd_header *)
1678 u8 last_type = ivhd->type;
1679 u16 devid = ivhd->devid;
1681 while (((u8 *)ivhd - base < ivrs->length) &&
1682 (ivhd->type <= ACPI_IVHD_TYPE_MAX_SUPPORTED)) {
1683 u8 *p = (u8 *) ivhd;
1685 if (ivhd->devid == devid)
1686 last_type = ivhd->type;
1687 ivhd = (struct ivhd_header *)(p + ivhd->length);
1910 amd_iommu_groups, "ivhd%d", iommu->index);