Lines Matching refs:vga_info
72 static const void *bios_ptr(const void *buf, BE_VGAInfo *vga_info, in bios_ptr() argument
80 return vga_info->BIOSImage + flat - 0xc0000; in bios_ptr()
85 static int atibios_debug_mode(BE_VGAInfo *vga_info, RMREGS *regs, in atibios_debug_mode() argument
110 debug("oem '%s'\n", (char *)bios_ptr(buffer, vga_info, in atibios_debug_mode()
112 debug("vendor '%s'\n", (char *)bios_ptr(buffer, vga_info, in atibios_debug_mode()
114 debug("product '%s'\n", (char *)bios_ptr(buffer, vga_info, in atibios_debug_mode()
116 debug("rev '%s'\n", (char *)bios_ptr(buffer, vga_info, in atibios_debug_mode()
118 modes_bios = bios_ptr(buffer, vga_info, info->modes_ptr); in atibios_debug_mode()
234 static void PCI_doBIOSPOST(struct udevice *pcidev, BE_VGAInfo *vga_info, in PCI_doBIOSPOST() argument
237 static void PCI_doBIOSPOST(pci_dev_t pcidev, BE_VGAInfo *vga_info, in PCI_doBIOSPOST()
262 BE_setVGA(vga_info); in PCI_doBIOSPOST()
268 BE_getVGA(vga_info); in PCI_doBIOSPOST()
273 atibios_debug_mode(vga_info, ®s, vesa_mode, mode_info); in PCI_doBIOSPOST()
484 int bios_len, BE_VGAInfo *vga_info, in PCI_postController() argument
488 BE_VGAInfo *vga_info, int vesa_mode, in PCI_postController()
527 vga_info->function = PCI_FUNC(bdf); in PCI_postController()
528 vga_info->device = PCI_DEV(bdf); in PCI_postController()
529 vga_info->bus = PCI_BUS(bdf); in PCI_postController()
531 vga_info->function = PCI_FUNC(pcidev); in PCI_postController()
532 vga_info->device = PCI_DEV(pcidev); in PCI_postController()
533 vga_info->bus = PCI_BUS(pcidev); in PCI_postController()
535 vga_info->pcidev = pcidev; in PCI_postController()
536 vga_info->BIOSImage = copy_of_bios; in PCI_postController()
537 vga_info->BIOSImageLen = bios_image_len; in PCI_postController()
545 PCI_doBIOSPOST(pcidev, vga_info, vesa_mode, mode_info); in PCI_postController()
548 vga_info->BIOSImageLen = copy_of_bios[2] * 512; in PCI_postController()
587 BE_VGAInfo *vga_info, int clean_up, int vesa_mode, in biosemu_run() argument
591 BE_VGAInfo *vga_info, int clean_up, int vesa_mode, in biosemu_run()
596 if (!PCI_postController(pcidev, bios_rom, bios_len, vga_info, in biosemu_run()
607 if (vga_info->BIOSImage && in biosemu_run()
608 (ulong)(vga_info->BIOSImage) != 0xc0000) in biosemu_run()
609 free(vga_info->BIOSImage); in biosemu_run()
610 free(vga_info); in biosemu_run()