Searched refs:ivhd (Results 1 – 1 of 1) sorted by relevance
539 static inline int ivhd_entry_length(u8 *ivhd) in ivhd_entry_length() argument541 u32 type = ((struct ivhd_entry *)ivhd)->type; in ivhd_entry_length()544 return 0x04 << (*ivhd >> 6); in ivhd_entry_length()547 return *((u8 *)ivhd + 21) + 22; in ivhd_entry_length()1670 struct ivhd_header *ivhd = (struct ivhd_header *) in get_highest_supported_ivhd_type() local1672 u8 last_type = ivhd->type; in get_highest_supported_ivhd_type()1673 u16 devid = ivhd->devid; in get_highest_supported_ivhd_type()1675 while (((u8 *)ivhd - base < ivrs->length) && in get_highest_supported_ivhd_type()1676 (ivhd->type <= ACPI_IVHD_TYPE_MAX_SUPPORTED)) { in get_highest_supported_ivhd_type()1677 u8 *p = (u8 *) ivhd; in get_highest_supported_ivhd_type()[all …]