Home
last modified time | relevance | path

Searched refs:vgaInfo (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/bios_emulator/
Dbios.c153 pciSlot = ((int)_BE_env.vgaInfo.bus << 8) |
154 ((int)_BE_env.vgaInfo.device << 3) | (int)_BE_env.vgaInfo.function;
157 if (!_BE_env.vgaInfo.pciInfo)
160 pciSlot = (u16) (_BE_env.vgaInfo.pciInfo->slot.i >> 8);
173 if (M.x86.R_DX == _BE_env.vgaInfo.VendorID &&
174 M.x86.R_CX == _BE_env.vgaInfo.DeviceID && M.x86.R_SI == 0) {
176 if (M.x86.R_DX == _BE_env.vgaInfo.pciInfo->VendorID &&
177 M.x86.R_CX == _BE_env.vgaInfo.pciInfo->DeviceID &&
189 dm_pci_read_config8(_BE_env.vgaInfo.pcidev, PCI_CLASS_PROG,
191 dm_pci_read_config8(_BE_env.vgaInfo.pcidev, PCI_CLASS_DEVICE,
[all …]
Dbiosemu.c132 _BE_env.vgaInfo.function = info->function; in BE_setVGA()
133 _BE_env.vgaInfo.device = info->device; in BE_setVGA()
134 _BE_env.vgaInfo.bus = info->bus; in BE_setVGA()
135 _BE_env.vgaInfo.pcidev = info->pcidev; in BE_setVGA()
137 _BE_env.vgaInfo.pciInfo = info->pciInfo; in BE_setVGA()
139 _BE_env.vgaInfo.BIOSImage = info->BIOSImage; in BE_setVGA()
164 info->function = _BE_env.vgaInfo.function; in BE_getVGA()
165 info->device = _BE_env.vgaInfo.device; in BE_getVGA()
166 info->bus = _BE_env.vgaInfo.bus; in BE_getVGA()
167 info->pcidev = _BE_env.vgaInfo.pcidev; in BE_getVGA()
[all …]
Dbesys.c436 if ((function == _BE_env.vgaInfo.function) && in BE_accessReg()
437 (device == _BE_env.vgaInfo.device) && in BE_accessReg()
438 (bus == _BE_env.vgaInfo.bus)) { in BE_accessReg()
441 pci_read_config_byte(_BE_env.vgaInfo.pcidev, regOffset, in BE_accessReg()
445 pci_read_config_word(_BE_env.vgaInfo.pcidev, regOffset, in BE_accessReg()
449 pci_read_config_dword(_BE_env.vgaInfo.pcidev, regOffset, in BE_accessReg()
453 pci_write_config_byte(_BE_env.vgaInfo.pcidev, regOffset, in BE_accessReg()
458 pci_write_config_word(_BE_env.vgaInfo.pcidev, regOffset, in BE_accessReg()
463 pci_write_config_dword(_BE_env.vgaInfo.pcidev, in BE_accessReg()
482 _BE_env.vgaInfo.pciInfo->slot.p.Function) in BE_accessReg()
[all …]
/external/u-boot/drivers/bios_emulator/include/
Dbiosemu.h87 BE_VGAInfo vgaInfo; member