Home
last modified time | relevance | path

Searched refs:ivhd (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iommu/amd/
H A Dinit.c527 static inline int ivhd_entry_length(u8 *ivhd) in ivhd_entry_length() argument
529 u32 type = ((struct ivhd_entry *)ivhd)->type; in ivhd_entry_length()
532 return 0x04 << (*ivhd >> 6); in ivhd_entry_length()
535 return *((u8 *)ivhd + 21) + 22; in ivhd_entry_length()
2012 struct ivhd_header *ivhd = (struct ivhd_header *) in get_highest_supported_ivhd_type() local
2014 u8 last_type = ivhd->type; in get_highest_supported_ivhd_type()
2015 u16 devid = ivhd->devid; in get_highest_supported_ivhd_type()
2017 while (((u8 *)ivhd - base < ivrs->length) && in get_highest_supported_ivhd_type()
2018 (ivhd->type <= ACPI_IVHD_TYPE_MAX_SUPPORTED)) { in get_highest_supported_ivhd_type()
2019 u8 *p = (u8 *) ivhd; in get_highest_supported_ivhd_type()
[all …]