/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | driver.h | 30 extern pci_module_info *gPci;
|
H A D | driver.c | 53 pci_module_info * gPci; variable 101 if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPci) < B_OK) 103 for (res = B_ERROR, i = 0; gPci->get_nth_pci_info(i, &info) == B_OK; i++) { 110 gPci = NULL; 134 if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPci) < B_OK) { 139 for (cards = 0, index = 0; gPci->get_nth_pci_info(index++, item) == B_OK; ) {
|
H A D | dvb_interface.c | 92 val = gPci->read_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_command, 2); 94 gPci->write_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_command, 2, val); 97 val = gPci->read_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_latency, 1); 99 gPci->write_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_latency, 1, PCI_LATENCY); 102 device->irq = gPci->read_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, PCI_interrupt_line, 1); 110 val = gPci->read_pci_config(device->pci_info->bus, device->pci_info->device, device->pci_info->function, 0x10, 4);
|
H A D | cx23882.c | 367 host_vendor = gPci->read_pci_config(0, 0, 0, PCI_vendor_id, 2);
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wb840/ |
H A D | device.h | 16 # define write8(address,value) (*gPci->write_io_8)((address),(value)) 17 # define write16(address,value) (*gPci->write_io_16)((address),(value)) 18 # define write32(address,value) (*gPci->write_io_32)((address),(value)) 19 # define read8(address) ((*gPci->read_io_8)(address)) 20 # define read16(address) ((*gPci->read_io_16)(address)) 21 # define read32(address) ((*gPci->read_io_32)(address)) 31 extern pci_module_info* gPci;
|
H A D | driver.h | 14 extern pci_module_info *gPci;
|
H A D | driver.c | 21 pci_module_info* gPci; variable 59 status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPci); 69 while (gPci->get_nth_pci_info(index, item) == B_OK) { 71 gPci->write_pci_config(item->bus, item->device, item->function, 72 PCI_command, 2, PCI_command_master | gPci->read_pci_config(
|
H A D | device.c | 70 data->wb_cachesize = gPci->read_pci_config(data->pciInfo->bus,
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/ |
H A D | driver.h | 28 extern pci_module_info *gPci;
|
H A D | driver.c | 33 pci_module_info *gPci; variable 123 if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPci) < B_OK) { 128 for (cards = 0, index = 0; gPci->get_nth_pci_info(index++, item) == B_OK; ) {
|
H A D | device.h | 25 extern pci_module_info *gPci;
|
H A D | if_em_osdep.h | 96 gPci->read_pci_config(dev->pciBus, dev->pciDev, dev->pciFunc, offset, size) 99 gPci->write_pci_config(dev->pciBus, dev->pciDev, dev->pciFunc, offset, size, value) 102 gPci->read_pci_config(dev->pciBus, dev->pciDev, dev->pciFunc, PCI_vendor_id, 2) 105 gPci->read_pci_config(dev->pciBus, dev->pciDev, dev->pciFunc, PCI_device_id, 2) 108 gPci->read_io_32(port) 111 gPci->write_io_32(port, value)
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl8169/ |
H A D | driver.h | 28 extern pci_module_info *gPci;
|
H A D | driver.c | 47 pci_module_info *gPci; variable 67 for (; gPci->get_nth_pci_info(index, info) == B_OK; index++) { 98 if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPci) < B_OK) 127 if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPci) < B_OK) {
|
H A D | device.h | 32 extern pci_module_info *gPci;
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/hda/ |
H A D | driver.cpp | 17 pci_module_info* gPci; variable 26 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPci) != B_OK) 29 for (i = 0; gPci->get_nth_pci_info(i, &info) == B_OK; i++) { 49 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPci) != B_OK) 54 for (i = 0; gPci->get_nth_pci_info(i, &info) == B_OK 59 if ((*gPci->reserve_device)(info.bus, info.device, info.function, "hda", 96 (*gPci->unreserve_device)(gCards[i].pci_info.bus, gCards[i].pci_info.device,
|
H A D | hda_controller.cpp | 107 uint32 originalValue = (gPci->read_pci_config)(controller->pci_info.bus, 109 (gPci->write_pci_config)(controller->pci_info.bus, 868 cmd = (gPci->read_pci_config)(controller->pci_info.bus, 883 (gPci->write_pci_config)(controller->pci_info.bus,
|
H A D | driver.h | 336 extern pci_module_info* gPci;
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | driver.cpp | 17 pci_module_info* gPci; variable 26 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPci) != B_OK) 29 for (i = 0; gPci->get_nth_pci_info(i, &info) == B_OK; i++) { 51 if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPci) != B_OK) 56 for (i = 0; gPci->get_nth_pci_info(i, &info) == B_OK
|
H A D | driver.h | 45 extern pci_module_info* gPci; 70 return gPci->read_io_8(nabmbar + reg); 75 return gPci->read_io_16(nabmbar + reg); 80 return gPci->read_io_32(nabmbar + reg); 85 gPci->write_io_8(nabmbar + reg, value); 90 gPci->write_io_16(nabmbar + reg, value); 95 gPci->write_io_32(nabmbar + reg, value);
|
H A D | geode_controller.cpp | 399 cmd = (gPci->read_pci_config)(controller->pci_info.bus, 402 (gPci->write_pci_config)(controller->pci_info.bus,
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwohci_pci.cpp | 67 extern pci_module_info *gPci; 149 val = gPci->read_pci_config(info->bus, info->device, info->function, 157 gPci->write_pci_config(info->bus, info->device, info->function, 168 latency = olatency = gPci->read_pci_config(info->bus, info->device, info->function, 173 gPci->write_pci_config(info->bus, info->device, info->function, 177 cache_line = ocache_line = gPci->read_pci_config(info->bus, info->device, 182 gPci->write_pci_config(info->bus, info->device, info->function, 189 sc->irq = gPci->read_pci_config(info->bus, info->device, info->function, 198 // val = gPci->read_pci_config(info->bus, info->device, info->function, 0x14, 4);
|
H A D | firewire_module.cpp | 35 pci_module_info *gPci; variable 154 if ((status = get_module(B_PCI_MODULE_NAME,(module_info **)&gPci)) != B_OK) { 170 for (i = 0, found = 0; (status = gPci->get_nth_pci_info(i, info)) == B_OK; i++) {
|
/haiku-fatelf/src/libs/compat/freebsd_network/ |
H A D | device.h | 45 extern pci_module_info *gPci;
|
H A D | driver.c | 98 if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPci) < B_OK) 123 for (i = 0; gPci->get_nth_pci_info(i, info) == B_OK; i++) { 155 status = get_module(B_PCI_MODULE_NAME, (module_info **)&gPci); 202 for (; gPci->get_nth_pci_info(i, info) == B_OK; i++) {
|