Lines Matching refs:vhdr
262 VFCT_IMAGE_HEADER *vhdr; in amdgpu_acpi_vfct_bios() local
278 vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios()
280 vhdr->PCIBus, vhdr->PCIDevice, vhdr->PCIFunction, in amdgpu_acpi_vfct_bios()
281 vhdr->VendorID, vhdr->DeviceID, vhdr->ImageLength); in amdgpu_acpi_vfct_bios()
283 if (vhdr->PCIBus != adev->pdev->bus->number || in amdgpu_acpi_vfct_bios()
284 vhdr->PCIDevice != PCI_SLOT(adev->pdev->devfn) || in amdgpu_acpi_vfct_bios()
285 vhdr->PCIFunction != PCI_FUNC(adev->pdev->devfn) || in amdgpu_acpi_vfct_bios()
286 vhdr->VendorID != adev->pdev->vendor || in amdgpu_acpi_vfct_bios()
287 vhdr->DeviceID != adev->pdev->device) { in amdgpu_acpi_vfct_bios()
292 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { in amdgpu_acpi_vfct_bios()
297 adev->bios = kmemdup(&vbios->VbiosContent, vhdr->ImageLength, GFP_KERNEL); in amdgpu_acpi_vfct_bios()