Lines Matching defs:vhdr
642 VFCT_IMAGE_HEADER *vhdr;
667 vhdr = &vbios->VbiosHeader;
669 vhdr->PCIBus, vhdr->PCIDevice, vhdr->PCIFunction,
670 vhdr->VendorID, vhdr->DeviceID, vhdr->ImageLength);
672 if (vhdr->PCIBus != rdev->ddev->pci_bus ||
673 vhdr->PCIDevice != rdev->ddev->pci_slot ||
674 vhdr->PCIFunction != rdev->ddev->pci_func ||
675 vhdr->VendorID != rdev->ddev->pci_vendor ||
676 vhdr->DeviceID != rdev->ddev->pci_device) {
681 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) {
686 rdev->bios = malloc(vhdr->ImageLength, DRM_MEM_DRIVER, M_NOWAIT);
688 memcpy(rdev->bios, &vbios->VbiosContent, vhdr->ImageLength);