Lines Matching refs:vgaInfo
153 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,
193 dm_pci_read_config8(_BE_env.vgaInfo.pcidev,
196 pci_read_config_byte(_BE_env.vgaInfo.pcidev, PCI_CLASS_PROG,
198 pci_read_config_byte(_BE_env.vgaInfo.pcidev, PCI_CLASS_DEVICE,
200 pci_read_config_byte(_BE_env.vgaInfo.pcidev,
206 if (M.x86.R_CL == _BE_env.vgaInfo.pciInfo->Interface &&
207 M.x86.R_CH == _BE_env.vgaInfo.pciInfo->SubClass &&
209 _BE_env.vgaInfo.pciInfo->BaseClass) {
222 dm_pci_read_config8(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
225 pci_read_config_byte(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
231 _BE_env.vgaInfo.pciInfo);
242 dm_pci_read_config16(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
245 pci_read_config_word(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
251 _BE_env.vgaInfo.pciInfo);
262 dm_pci_read_config32(_BE_env.vgaInfo.pcidev,
265 pci_read_config_dword(_BE_env.vgaInfo.pcidev,
271 _BE_env.vgaInfo.pciInfo);
282 dm_pci_write_config8(_BE_env.vgaInfo.pcidev,
285 pci_write_config_byte(_BE_env.vgaInfo.pcidev,
290 _BE_env.vgaInfo.pciInfo);
301 dm_pci_write_config32(_BE_env.vgaInfo.pcidev,
304 pci_write_config_word(_BE_env.vgaInfo.pcidev,
309 _BE_env.vgaInfo.pciInfo);
320 dm_pci_write_config32(_BE_env.vgaInfo.pcidev,
323 pci_write_config_dword(_BE_env.vgaInfo.pcidev,
328 _BE_env.vgaInfo.pciInfo);