Searched refs:gPCI (Results 1 - 23 of 23) sorted by relevance

/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DDriver.h21 extern pci_module_info *gPCI;
H A DDevice.cpp37 uint32 cmdRegister = gPCI->read_pci_config(PCIInfo.bus,
41 gPCI->write_pci_config(PCIInfo.bus, PCIInfo.device,
66 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device,
68 uint32 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device,
70 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device,
75 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device,
77 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device,
82 cmdReg = gPCI->read_pci_config(fPCIInfo.bus, fPCIInfo.device,
84 gPCI->write_pci_config(fPCIInfo.bus, fPCIInfo.device,
553 result = gPCI
[all...]
H A DDriver.cpp23 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/src/add-ons/kernel/bus_managers/pci/
H A Dpci_device.cpp39 PCIDev *dev = gPCI->FindDevice(domain, bus, deviceNumber, function);
112 return gPCI->ReadConfig(device->device, offset, size);
115 gPCI->WriteConfig(device->device, offset, size, value);
118 return gPCI->FindCapability(device->device, capID, offset);
126 return gPCI->FindExtendedCapability(device->device, capID, offset);
129 return gPCI->GetPowerstate(device->device);
132 gPCI->SetPowerstate(device->device, state);
135 return gPCI->GetMSICount(device->device);
138 return gPCI->ConfigureMSI(device->device, count, startVector);
141 return gPCI
[all...]
H A Dpci_module.cpp56 status_t result = gPCI->ResolveVirtualBus(virtualBus, &domain, &bus);
60 dev = gPCI->FindDevice(domain, bus, device, function);
99 return gPCI->GetMSICount(dev);
105 return gPCI->ConfigureMSI(dev, count, startVector);
110 return gPCI->UnconfigureMSI(dev);
115 return gPCI->EnableMSI(dev);
120 return gPCI->DisableMSI(dev);
126 return gPCI->GetMSIXCount(dev);
132 return gPCI->ConfigureMSIX(dev, count, startVector);
137 return gPCI
[all...]
H A Dpci_io.cpp73 if (gPCI->LookupRange(B_IO_PORT, ioPort, domain, range, &mappedAdr) < B_OK)
H A Dpci.cpp30 PCI *gPCI; variable
39 return gPCI->GetNthInfo(index, outInfo);
51 if (gPCI->ResolveVirtualBus(virtualBus, &domain, &bus) != B_OK)
54 if (gPCI->ReadConfig(domain, bus, device, function, offset, size,
68 if (gPCI->ResolveVirtualBus(virtualBus, &domain, &bus) != B_OK)
71 gPCI->WriteConfig(domain, bus, device, function, offset, size, value);
84 if (gPCI->LookupRange(B_IO_MEMORY, childAdr, domain, range) >= B_OK)
98 if (gPCI->ResolveVirtualBus(virtualBus, &domain, &bus) != B_OK)
101 return gPCI->FindCapability(domain, bus, device, function, capID, offset);
111 if (gPCI
[all...]
H A Dpci_root.cpp112 CHECK_RET(gPCI->AddController(pciHostModule, pciHostDev, node, &domainData));
H A Dpci.h218 extern PCI *gPCI;
/haiku/src/add-ons/kernel/drivers/graphics/radeon_hd/
H A Ddriver.h35 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 Ddriver.cpp666 pci_module_info* gPCI; variable
677 for (; gPCI->get_nth_pci_info(index, &info) == B_OK; index++) {
712 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
733 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Ddriver.h22 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 Ddriver.cpp201 pci_module_info* gPCI; variable
213 for (; gPCI->get_nth_pci_info(index, &info) == B_OK; index++) {
242 for (int32 i = 0; gPCI->get_nth_pci_info(i, &info) == B_OK; i++) {
330 status_t status = get_module(B_PCI_MODULE_NAME,(module_info**)&gPCI);
351 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
H A Dintel_extreme.cpp453 if (gPCI->get_msi_count(info.pci->bus,
456 if (gPCI->configure_msi(info.pci->bus, info.pci->device,
458 && gPCI->enable_msi(info.pci->bus, info.pci->device,
624 gPCI->set_powerstate(info.pci->bus, info.pci->device, info.pci->function,
949 gPCI->disable_msi(info.pci->bus,
951 gPCI->unconfigure_msi(info.pci->bus,
/haiku/src/add-ons/kernel/drivers/graphics/3dfx/
H A Ddriver.cpp77 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,
264 while (gPCI->get_nth_pci_info(pciIndex, &pciInfo) == B_OK) {
298 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
321 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
538 gPCI->write_io_8(ioAddr, regInfo->index);
539 regInfo->value = gPCI->read_io_8(ioAddr + 1);
541 regInfo->value = gPCI->read_io_8(ioAddr);
559 gPCI
[all...]
/haiku/src/add-ons/kernel/generic/mpu401/
H A Dmpu401_priv.h55 static pci_module_info *gPCI; variable
H A Dmpu401.c416 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/src/add-ons/kernel/busses/pci/ecam/
H A DECAMPCIControllerFDT.cpp117 uint32 vendorID = gPCI->read_pci_config(bus, device, 0, PCI_vendor_id, 2);
119 uint32 headerType = gPCI->read_pci_config(bus, device, 0, PCI_header_type, 1);
140 uint32 interruptPin = gPCI->read_pci_config(bus, device, function, PCI_interrupt_pin, 1);
154 gPCI->update_interrupt_line(bus, device, function, irq);
H A Dkernel_interface.cpp11 pci_module_info* gPCI; variable
64 { B_PCI_MODULE_NAME, (module_info**)&gPCI },
H A DECAMPCIController.h173 extern pci_module_info* gPCI;
/haiku/src/add-ons/kernel/drivers/graphics/s3/
H A Ddriver.cpp109 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);
463 while (gPCI->get_nth_pci_info(pciIndex, &pciInfo) == B_OK) {
600 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
621 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
863 gsp->value = gPCI->read_io_8(gsp->offset);
866 gsp->value = gPCI->read_io_16(gsp->offset);
869 gsp->value = gPCI->read_io_32(gsp->offset);
886 gPCI
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/intel_810/
H A Ddriver.cpp76 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,
398 while (gPCI->get_nth_pci_info(pciIndex, &pciInfo) == B_OK) {
431 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
457 status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
/haiku/src/add-ons/kernel/drivers/graphics/ati/
H A Ddriver.cpp171 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,
888 while (gPCI->get_nth_pci_info(pciIndex, &pciInfo) == B_OK) {
931 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
954 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)

Completed in 280 milliseconds