Lines Matching refs:vhdr
604 VFCT_IMAGE_HEADER *vhdr; in radeon_acpi_vfct_bios() local
620 vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios()
622 vhdr->PCIBus, vhdr->PCIDevice, vhdr->PCIFunction, in radeon_acpi_vfct_bios()
623 vhdr->VendorID, vhdr->DeviceID, vhdr->ImageLength); in radeon_acpi_vfct_bios()
625 if (vhdr->PCIBus != rdev->pdev->bus->number || in radeon_acpi_vfct_bios()
626 vhdr->PCIDevice != PCI_SLOT(rdev->pdev->devfn) || in radeon_acpi_vfct_bios()
627 vhdr->PCIFunction != PCI_FUNC(rdev->pdev->devfn) || in radeon_acpi_vfct_bios()
628 vhdr->VendorID != rdev->pdev->vendor || in radeon_acpi_vfct_bios()
629 vhdr->DeviceID != rdev->pdev->device) { in radeon_acpi_vfct_bios()
634 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { in radeon_acpi_vfct_bios()
639 rdev->bios = kmemdup(&vbios->VbiosContent, vhdr->ImageLength, GFP_KERNEL); in radeon_acpi_vfct_bios()