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