/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Driver.h | 21 extern pci_module_info *gPCI;
|
H A D | Device.cpp | 36 uint32 cmdRegister = gPCI->read_pci_config(PCIInfo.bus, 40 gPCI->write_pci_config(PCIInfo.bus, PCIInfo.device, 65 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device, 67 uint32 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device, 69 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device, 74 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device, 76 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device, 81 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device, 83 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device, 552 result = gPCI [all...] |
H A D | Driver.cpp | 23 pci_module_info *gPCI = NULL; variable 38 status_t result = get_module(B_PCI_MODULE_NAME, (module_info **)&gPCI); 44 for (long i = 0; B_OK == (*gPCI->get_nth_pci_info)(i, &info); i++) { 63 status_t status = get_module(B_PCI_MODULE_NAME, (module_info **)&gPCI); 71 for (long i = 0; B_OK == (*gPCI->get_nth_pci_info)(i, &info); i++) {
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/arch/x86/ |
H A D | pci_msi.cpp | 14 extern PCI *gPCI; 25 if (gPCI->ResolveVirtualBus(virtualBus, &domain, &bus) != B_OK) 28 PCIDev *device = gPCI->FindDevice(domain, bus, _device, function); 52 status_t result = gPCI->ResolveVirtualBus(virtualBus, &domain, &bus); 56 PCIDev *device = gPCI->FindDevice(domain, bus, _device, function); 78 gPCI->WriteConfig(device, offset + PCI_msi_address, 4, 81 gPCI->WriteConfig(device, offset + PCI_msi_address_high, 4, 83 gPCI->WriteConfig(device, offset + PCI_msi_data_64bit, 2, 86 gPCI->WriteConfig(device, offset + PCI_msi_data, 2, info->data_value); 90 gPCI [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/intel_extreme/ |
H A D | driver.h | 22 extern pci_module_info* gPCI; 30 return gPCI->read_pci_config(info->bus, info->device, info->function, 38 gPCI->write_pci_config(info->bus, info->device, info->function, offset,
|
H A D | driver.cpp | 105 pci_module_info* gPCI; variable 117 for (; gPCI->get_nth_pci_info(index, &info) == B_OK; index++) { 152 status_t status = get_module(B_PCI_MODULE_NAME,(module_info**)&gPCI); 173 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/radeon_hd/ |
H A D | driver.h | 35 extern pci_module_info* gPCI; 42 return gPCI->read_pci_config(info->bus, info->device, info->function, 50 gPCI->write_pci_config(info->bus, info->device, info->function, offset,
|
H A D | driver.cpp | 325 pci_module_info* gPCI; variable 336 for (; gPCI->get_nth_pci_info(index, &info) == B_OK; index++) { 371 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI); 392 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/3dfx/ |
H A D | driver.cpp | 77 static pci_module_info* gPCI; variable 109 return gPCI->read_pci_config(info.bus, info.device, info.function, offset, 117 gPCI->write_pci_config(info.bus, info.device, info.function, offset, size, 263 while (gPCI->get_nth_pci_info(pciIndex, &pciInfo) == B_OK) { 297 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK) 320 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK) 537 gPCI->write_io_8(ioAddr, regInfo->index); 538 regInfo->value = gPCI->read_io_8(ioAddr + 1); 540 regInfo->value = gPCI->read_io_8(ioAddr); 558 gPCI [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/ |
H A D | pci_device.cpp | 71 return gPCI->ReadConfig(device->device, offset, size); 79 gPCI->WriteConfig(device->device, offset, size, value); 93 return gPCI->FindCapability(device->device, capID, offset); 122 PCIDev *dev = gPCI->FindDevice(domain, bus, deviceNumber, function);
|
H A D | pci_root.cpp | 68 if (gPCI->ResolveVirtualBus(info.bus, &domain, &bus) != B_OK) {
|
H A D | pci.cpp | 25 PCI *gPCI; variable 34 return gPCI->AddController(controller, cookie); 41 return gPCI->GetNthInfo(index, outInfo); 53 if (gPCI->ResolveVirtualBus(virtualBus, &domain, &bus) != B_OK) 56 if (gPCI->ReadConfig(domain, bus, device, function, offset, size, 70 if (gPCI->ResolveVirtualBus(virtualBus, &domain, &bus) != B_OK) 73 gPCI->WriteConfig(domain, bus, device, function, offset, size, value); 83 if (gPCI->ResolveVirtualBus(virtualBus, &domain, &bus) != B_OK) 86 return gPCI->FindCapability(domain, bus, device, function, capID, offset); 106 if (gPCI [all...] |
H A D | pci.h | 166 extern PCI *gPCI;
|
/haiku-fatelf/src/add-ons/kernel/generic/mpu401/ |
H A D | mpu401_priv.h | 55 static pci_module_info *gPCI; variable
|
H A D | mpu401.c | 416 gPCI->write_io_32(addrport + D_PTR, regptr); /*DATA or CMD */ 417 mpudatabyte = gPCI->read_io_32(addrport + D_DATA); 424 gPCI->write_io_32(addrport + D_PTR, regptr); /*DATA2 or CMD2 */ 425 mpudatabyte = gPCI->read_io_32(addrport + D_DATA); 431 mpudatabyte = gPCI->read_io_8(addrport + cmdtype); 456 gPCI->write_io_32(addrport + D_PTR, regptr); /*DATA or CMD */ 457 gPCI->write_io_32(addrport + D_DATA, mpudatabyte); 464 gPCI->write_io_32(addrport + D_PTR, regptr); /*DATA2 or CMD2 */ 465 gPCI->write_io_32(addrport + D_DATA, mpudatabyte); 471 gPCI [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/s3/ |
H A D | driver.cpp | 109 static pci_module_info* gPCI; variable 140 return gPCI->read_pci_config(info.bus, info.device, info.function, offset, size); 147 gPCI->write_pci_config(info.bus, info.device, info.function, offset, size, value); 461 while (gPCI->get_nth_pci_info(pciIndex, &pciInfo) == B_OK) { 598 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK) 619 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK) 860 gsp->value = gPCI->read_io_8(gsp->offset); 863 gsp->value = gPCI->read_io_16(gsp->offset); 866 gsp->value = gPCI->read_io_32(gsp->offset); 883 gPCI [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/config_manager/ |
H A D | config_manager.c | 18 static pci_module_info *gPCI = NULL; variable 105 if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPCI) != 0) {
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/intel_810/ |
H A D | driver.cpp | 76 static pci_module_info* gPCI; variable 130 return gPCI->read_pci_config(info.bus, info.device, info.function, offset, 138 gPCI->write_pci_config(info.bus, info.device, info.function, offset, size, 395 while (gPCI->get_nth_pci_info(pciIndex, &pciInfo) == B_OK) { 428 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI); 454 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/ati/ |
H A D | driver.cpp | 171 static pci_module_info* gPCI; variable 202 return gPCI->read_pci_config(info.bus, info.device, info.function, offset, 210 gPCI->write_pci_config(info.bus, info.device, info.function, offset, size, 869 while (gPCI->get_nth_pci_info(pciIndex, &pciInfo) == B_OK) { 912 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK) 935 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
|