ivhd 481 drivers/iommu/amd_iommu_init.c static inline int ivhd_entry_length(u8 *ivhd) ivhd 483 drivers/iommu/amd_iommu_init.c u32 type = ((struct ivhd_entry *)ivhd)->type; ivhd 486 drivers/iommu/amd_iommu_init.c return 0x04 << (*ivhd >> 6); ivhd 489 drivers/iommu/amd_iommu_init.c return *((u8 *)ivhd + 21) + 22; ivhd 1599 drivers/iommu/amd_iommu_init.c struct ivhd_header *ivhd = (struct ivhd_header *) ivhd 1601 drivers/iommu/amd_iommu_init.c u8 last_type = ivhd->type; ivhd 1602 drivers/iommu/amd_iommu_init.c u16 devid = ivhd->devid; ivhd 1604 drivers/iommu/amd_iommu_init.c while (((u8 *)ivhd - base < ivrs->length) && ivhd 1605 drivers/iommu/amd_iommu_init.c (ivhd->type <= ACPI_IVHD_TYPE_MAX_SUPPORTED)) { ivhd 1606 drivers/iommu/amd_iommu_init.c u8 *p = (u8 *) ivhd; ivhd 1608 drivers/iommu/amd_iommu_init.c if (ivhd->devid == devid) ivhd 1609 drivers/iommu/amd_iommu_init.c last_type = ivhd->type; ivhd 1610 drivers/iommu/amd_iommu_init.c ivhd = (struct ivhd_header *)(p + ivhd->length);