Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/amd/
H A Dinit.c548 static inline int ivhd_entry_length(u8 *ivhd) in ivhd_entry_length() argument
550 u32 type = ((struct ivhd_entry *)ivhd)->type; in ivhd_entry_length()
553 return 0x04 << (*ivhd >> 6); in ivhd_entry_length()
556 return *((u8 *)ivhd + 21) + 22; in ivhd_entry_length()
1926 u8 last_type = ivhd->type; in get_highest_supported_ivhd_type()
1927 u16 devid = ivhd->devid; in get_highest_supported_ivhd_type()
1929 while (((u8 *)ivhd - base < ivrs->length) && in get_highest_supported_ivhd_type()
1931 u8 *p = (u8 *) ivhd; in get_highest_supported_ivhd_type()
1933 if (ivhd->devid == devid) in get_highest_supported_ivhd_type()
1934 last_type = ivhd->type; in get_highest_supported_ivhd_type()
[all …]