Lines Matching refs:vhdr
381 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios() local
389 offset += vhdr->ImageLength; in amdgpu_acpi_vfct_bios()
395 if (vhdr->ImageLength && in amdgpu_acpi_vfct_bios()
396 vhdr->PCIBus == adev->pdev->bus->number && in amdgpu_acpi_vfct_bios()
397 vhdr->PCIDevice == PCI_SLOT(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios()
398 vhdr->PCIFunction == PCI_FUNC(adev->pdev->devfn) && in amdgpu_acpi_vfct_bios()
399 vhdr->VendorID == adev->pdev->vendor && in amdgpu_acpi_vfct_bios()
400 vhdr->DeviceID == adev->pdev->device) { in amdgpu_acpi_vfct_bios()
402 vhdr->ImageLength, in amdgpu_acpi_vfct_bios()
405 if (!check_atom_bios(adev->bios, vhdr->ImageLength)) { in amdgpu_acpi_vfct_bios()
409 adev->bios_size = vhdr->ImageLength; in amdgpu_acpi_vfct_bios()