tag | line | file | source code |
bus | 85 | arch/alpha/kernel/alcor.c | static int mk_conf_addr(unsigned char bus, unsigned char device_fn, |
bus | 92 | arch/alpha/kernel/alcor.c | bus, device_fn, where, pci_addr, type1)); |
bus | 94 | arch/alpha/kernel/alcor.c | if (bus == 0) { |
bus | 109 | arch/alpha/kernel/alcor.c | addr = (bus << 16) | (device_fn << 8) | (where); |
bus | 263 | arch/alpha/kernel/alcor.c | int pcibios_read_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 272 | arch/alpha/kernel/alcor.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1) < 0) { |
bus | 284 | arch/alpha/kernel/alcor.c | int pcibios_read_config_word (unsigned char bus, unsigned char device_fn, |
bus | 297 | arch/alpha/kernel/alcor.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1)) { |
bus | 308 | arch/alpha/kernel/alcor.c | int pcibios_read_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 320 | arch/alpha/kernel/alcor.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1)) { |
bus | 329 | arch/alpha/kernel/alcor.c | int pcibios_write_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 336 | arch/alpha/kernel/alcor.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1) < 0) { |
bus | 345 | arch/alpha/kernel/alcor.c | int pcibios_write_config_word (unsigned char bus, unsigned char device_fn, |
bus | 352 | arch/alpha/kernel/alcor.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1) < 0) { |
bus | 361 | arch/alpha/kernel/alcor.c | int pcibios_write_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 368 | arch/alpha/kernel/alcor.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1) < 0) { |
bus | 85 | arch/alpha/kernel/apecs.c | static int mk_conf_addr(unsigned char bus, unsigned char device_fn, |
bus | 92 | arch/alpha/kernel/apecs.c | bus, device_fn, where, pci_addr, type1)); |
bus | 94 | arch/alpha/kernel/apecs.c | if (bus == 0) { |
bus | 109 | arch/alpha/kernel/apecs.c | addr = (bus << 16) | (device_fn << 8) | (where); |
bus | 280 | arch/alpha/kernel/apecs.c | int pcibios_read_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 289 | arch/alpha/kernel/apecs.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1) < 0) { |
bus | 301 | arch/alpha/kernel/apecs.c | int pcibios_read_config_word (unsigned char bus, unsigned char device_fn, |
bus | 314 | arch/alpha/kernel/apecs.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1)) { |
bus | 325 | arch/alpha/kernel/apecs.c | int pcibios_read_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 337 | arch/alpha/kernel/apecs.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1)) { |
bus | 346 | arch/alpha/kernel/apecs.c | int pcibios_write_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 353 | arch/alpha/kernel/apecs.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1) < 0) { |
bus | 362 | arch/alpha/kernel/apecs.c | int pcibios_write_config_word (unsigned char bus, unsigned char device_fn, |
bus | 369 | arch/alpha/kernel/apecs.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1) < 0) { |
bus | 378 | arch/alpha/kernel/apecs.c | int pcibios_write_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 385 | arch/alpha/kernel/apecs.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr, &type1) < 0) { |
bus | 116 | arch/alpha/kernel/bios32.c | struct pci_bus *bus; |
bus | 119 | arch/alpha/kernel/bios32.c | bus = dev->bus; |
bus | 120 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
bus | 124 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, cmd); |
bus | 135 | arch/alpha/kernel/bios32.c | struct pci_bus *bus; |
bus | 140 | arch/alpha/kernel/bios32.c | bus = dev->bus; |
bus | 141 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
bus | 148 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, reg, |
bus | 150 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bus->number, dev->devfn, reg, &base); |
bus | 173 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
bus | 253 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
bus | 272 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, |
bus | 275 | arch/alpha/kernel/bios32.c | bus->number, PCI_SLOT(dev->devfn), dev->vendor, dev->device, dev->class)); |
bus | 279 | arch/alpha/kernel/bios32.c | static void layout_bus(struct pci_bus *bus) |
bus | 285 | arch/alpha/kernel/bios32.c | DBG_DEVS(("layout_bus: starting bus %d\n", bus->number)); |
bus | 287 | arch/alpha/kernel/bios32.c | if (!bus->devices && !bus->children) |
bus | 306 | arch/alpha/kernel/bios32.c | for (dev = bus->devices; dev; dev = dev->sibling) { |
bus | 315 | arch/alpha/kernel/bios32.c | DBG_DEVS(("layout_bus: starting bus %d devices\n", bus->number)); |
bus | 317 | arch/alpha/kernel/bios32.c | for (dev = bus->devices; dev; dev = dev->sibling) { |
bus | 325 | arch/alpha/kernel/bios32.c | DBG_DEVS(("layout_bus: starting bus %d children\n", bus->number)); |
bus | 327 | arch/alpha/kernel/bios32.c | for (child = bus->children; child; child = child->next) { |
bus | 336 | arch/alpha/kernel/bios32.c | if (bus->self) { |
bus | 337 | arch/alpha/kernel/bios32.c | struct pci_dev *bridge = bus->self; |
bus | 342 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bridge->bus->number, bridge->devfn, |
bus | 345 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 352 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 357 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 362 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 370 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 383 | arch/alpha/kernel/bios32.c | unsigned short index, unsigned char *bus, |
bus | 393 | arch/alpha/kernel/bios32.c | *bus = dev->bus->number; |
bus | 408 | arch/alpha/kernel/bios32.c | unsigned char *bus, unsigned char *devfn) |
bus | 417 | arch/alpha/kernel/bios32.c | *bus = dev->bus->number; |
bus | 537 | arch/alpha/kernel/bios32.c | if (dev->bus->number != 0) { |
bus | 540 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
bus | 549 | arch/alpha/kernel/bios32.c | curr = curr->bus->self ; |
bus | 550 | arch/alpha/kernel/bios32.c | } while (curr->bus->self) ; |
bus | 557 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
bus | 564 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
bus | 571 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
bus | 762 | arch/alpha/kernel/bios32.c | if (dev->bus->number != 0) { |
bus | 768 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
bus | 777 | arch/alpha/kernel/bios32.c | curr = curr->bus->self ; |
bus | 778 | arch/alpha/kernel/bios32.c | } while (curr->bus->self) ; |
bus | 785 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
bus | 799 | arch/alpha/kernel/bios32.c | dev->bus->number, PCI_SLOT(dev->devfn), dev->vendor, dev->device, |
bus | 805 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
bus | 827 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
bus | 90 | arch/alpha/kernel/lca.c | static int mk_conf_addr(unsigned char bus, unsigned char device_fn, |
bus | 95 | arch/alpha/kernel/lca.c | if (bus == 0) { |
bus | 110 | arch/alpha/kernel/lca.c | addr = (bus << 16) | (device_fn << 8) | where; |
bus | 189 | arch/alpha/kernel/lca.c | int pcibios_read_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 197 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr) < 0) { |
bus | 206 | arch/alpha/kernel/lca.c | int pcibios_read_config_word (unsigned char bus, unsigned char device_fn, |
bus | 217 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr)) { |
bus | 226 | arch/alpha/kernel/lca.c | int pcibios_read_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 236 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr)) { |
bus | 245 | arch/alpha/kernel/lca.c | int pcibios_write_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 251 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr) < 0) { |
bus | 260 | arch/alpha/kernel/lca.c | int pcibios_write_config_word (unsigned char bus, unsigned char device_fn, |
bus | 266 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr) < 0) { |
bus | 275 | arch/alpha/kernel/lca.c | int pcibios_write_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 281 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr) < 0) { |
bus | 209 | arch/i386/kernel/bios32.c | unsigned char *bus, unsigned char *device_fn) |
bus | 224 | arch/i386/kernel/bios32.c | *bus = (bx >> 8) & 0xff; |
bus | 231 | arch/i386/kernel/bios32.c | unsigned short index, unsigned char *bus, unsigned char *device_fn) |
bus | 247 | arch/i386/kernel/bios32.c | *bus = (bx >> 8) & 0xff; |
bus | 252 | arch/i386/kernel/bios32.c | int pcibios_read_config_byte(unsigned char bus, |
bus | 256 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 271 | arch/i386/kernel/bios32.c | int pcibios_read_config_word (unsigned char bus, |
bus | 275 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 290 | arch/i386/kernel/bios32.c | int pcibios_read_config_dword (unsigned char bus, |
bus | 294 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 309 | arch/i386/kernel/bios32.c | int pcibios_write_config_byte (unsigned char bus, |
bus | 313 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 328 | arch/i386/kernel/bios32.c | int pcibios_write_config_word (unsigned char bus, |
bus | 332 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 347 | arch/i386/kernel/bios32.c | int pcibios_write_config_dword (unsigned char bus, |
bus | 351 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 53 | arch/ppc/kernel/pci.c | pcibios_read_config_dword (unsigned char bus, |
bus | 60 | arch/ppc/kernel/pci.c | _printk("PCI Read config dword[%d.%d.%x] = ", bus, dev, offset); |
bus | 62 | arch/ppc/kernel/pci.c | if ((bus != 0) || (dev < 11) || (dev > 16)) |
bus | 82 | arch/ppc/kernel/pci.c | pcibios_read_config_word (unsigned char bus, |
bus | 89 | arch/ppc/kernel/pci.c | _printk("PCI Read config word[%d.%d.%x] = ", bus, dev, offset); |
bus | 91 | arch/ppc/kernel/pci.c | if ((bus != 0) || (dev < 11) || (dev > 16)) |
bus | 111 | arch/ppc/kernel/pci.c | pcibios_read_config_byte (unsigned char bus, |
bus | 118 | arch/ppc/kernel/pci.c | _printk("PCI Read config byte[%d.%d.%x] = ", bus, dev, offset); |
bus | 120 | arch/ppc/kernel/pci.c | if ((bus != 0) || (dev < 11) || (dev > 16)) |
bus | 140 | arch/ppc/kernel/pci.c | pcibios_write_config_dword (unsigned char bus, |
bus | 148 | arch/ppc/kernel/pci.c | _printk("PCI Write config dword[%d.%d.%x] = %x\n", bus, dev, offset, _val); |
bus | 150 | arch/ppc/kernel/pci.c | if ((bus != 0) || (dev < 11) || (dev > 16)) |
bus | 162 | arch/ppc/kernel/pci.c | pcibios_write_config_word (unsigned char bus, |
bus | 170 | arch/ppc/kernel/pci.c | _printk("PCI Write config word[%d.%d.%x] = %x\n", bus, dev, offset, _val); |
bus | 172 | arch/ppc/kernel/pci.c | if ((bus != 0) || (dev < 11) || (dev > 16)) |
bus | 184 | arch/ppc/kernel/pci.c | pcibios_write_config_byte (unsigned char bus, |
bus | 192 | arch/ppc/kernel/pci.c | _printk("PCI Write config byte[%d.%d.%x] = %x\n", bus, dev, offset, _val); |
bus | 194 | arch/ppc/kernel/pci.c | if ((bus != 0) || (dev < 11) || (dev > 16)) |
bus | 207 | arch/ppc/kernel/pci.c | unsigned short index, unsigned char *bus, |
bus | 222 | arch/ppc/kernel/pci.c | *bus = 0; |
bus | 234 | arch/ppc/kernel/pci.c | unsigned char *bus, unsigned char *dev) |
bus | 3123 | drivers/block/ide.c | byte fn, bus; |
bus | 3127 | drivers/block/ide.c | for (index = 0; !pcibios_find_device (vendor, device, index, &bus, &fn); ++index) { |
bus | 3128 | drivers/block/ide.c | init (bus, fn + func_adj); |
bus | 34 | drivers/block/rz1000.c | void init_rz1000 (byte bus, byte fn) |
bus | 40 | drivers/block/rz1000.c | if ((rc = pcibios_read_config_word (bus, fn, PCI_COMMAND, ®))) { |
bus | 45 | drivers/block/rz1000.c | if ((rc = pcibios_read_config_word(bus, fn, 0x40, ®)) |
bus | 46 | drivers/block/rz1000.c | || (rc = pcibios_write_config_word(bus, fn, 0x40, reg & 0xdfff))) |
bus | 378 | drivers/block/triton.c | void ide_init_triton (byte bus, byte fn) |
bus | 385 | drivers/block/triton.c | printk("ide: 430FX (Triton) on PCI bus %d function %d\n", bus, fn); |
bus | 389 | drivers/block/triton.c | if ((rc = pcibios_read_config_word(bus, fn, 0x04, &pcicmd))) |
bus | 403 | drivers/block/triton.c | if ((rc = pcibios_read_config_dword(bus, fn, 0x20, &bmiba))) |
bus | 414 | drivers/block/triton.c | if ((rc = pcibios_write_config_word(bus, fn, 0x04, pcicmd&~1))) |
bus | 416 | drivers/block/triton.c | rc = pcibios_write_config_dword(bus, fn, 0x20, DEFAULT_BMIBA|1); |
bus | 417 | drivers/block/triton.c | if (pcibios_write_config_word(bus, fn, 0x04, pcicmd|5) || rc) |
bus | 426 | drivers/block/triton.c | if ((rc = pcibios_read_config_dword(bus, fn, 0x40, &timings))) |
bus | 491 | drivers/net/de4x5.c | int bus; /* EISA or PCI */ |
bus | 531 | drivers/net/de4x5.c | int bus; |
bus | 537 | drivers/net/de4x5.c | } bus; |
bus | 710 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 730 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 741 | drivers/net/de4x5.c | if (lp->bus == EISA) { |
bus | 756 | drivers/net/de4x5.c | tmpbus = lp->bus; |
bus | 782 | drivers/net/de4x5.c | lp->bus = tmpbus; |
bus | 852 | drivers/net/de4x5.c | request_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE : |
bus | 878 | drivers/net/de4x5.c | ((lp->bus == PCI) ? "PCI BIOS" : "EISA CNFG")); |
bus | 1565 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1570 | drivers/net/de4x5.c | lp->bus = EISA; |
bus | 1634 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1640 | drivers/net/de4x5.c | lp->bus = PCI; |
bus | 3036 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 3057 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 3064 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 3090 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 4095 | drivers/net/de4x5.c | release_region(p->base_addr, (lp->bus == PCI ? |
bus | 4109 | drivers/net/de4x5.c | (lp->bus == PCI ? |
bus | 16 | drivers/net/de4x5.h | #define DE4X5_BMR iobase+(0x000 << lp->bus) /* Bus Mode Register */ |
bus | 17 | drivers/net/de4x5.h | #define DE4X5_TPD iobase+(0x008 << lp->bus) /* Transmit Poll Demand Reg */ |
bus | 18 | drivers/net/de4x5.h | #define DE4X5_RPD iobase+(0x010 << lp->bus) /* Receive Poll Demand Reg */ |
bus | 19 | drivers/net/de4x5.h | #define DE4X5_RRBA iobase+(0x018 << lp->bus) /* RX Ring Base Address Reg */ |
bus | 20 | drivers/net/de4x5.h | #define DE4X5_TRBA iobase+(0x020 << lp->bus) /* TX Ring Base Address Reg */ |
bus | 21 | drivers/net/de4x5.h | #define DE4X5_STS iobase+(0x028 << lp->bus) /* Status Register */ |
bus | 22 | drivers/net/de4x5.h | #define DE4X5_OMR iobase+(0x030 << lp->bus) /* Operation Mode Register */ |
bus | 23 | drivers/net/de4x5.h | #define DE4X5_IMR iobase+(0x038 << lp->bus) /* Interrupt Mask Register */ |
bus | 24 | drivers/net/de4x5.h | #define DE4X5_MFC iobase+(0x040 << lp->bus) /* Missed Frame Counter */ |
bus | 25 | drivers/net/de4x5.h | #define DE4X5_APROM iobase+(0x048 << lp->bus) /* Ethernet Address PROM */ |
bus | 26 | drivers/net/de4x5.h | #define DE4X5_BROM iobase+(0x048 << lp->bus) /* Boot ROM Register */ |
bus | 27 | drivers/net/de4x5.h | #define DE4X5_SROM iobase+(0x048 << lp->bus) /* Serial ROM Register */ |
bus | 28 | drivers/net/de4x5.h | #define DE4X5_MII iobase+(0x048 << lp->bus) /* MII Interface Register */ |
bus | 29 | drivers/net/de4x5.h | #define DE4X5_DDR iobase+(0x050 << lp->bus) /* Data Diagnostic Register */ |
bus | 30 | drivers/net/de4x5.h | #define DE4X5_FDR iobase+(0x058 << lp->bus) /* Full Duplex Register */ |
bus | 31 | drivers/net/de4x5.h | #define DE4X5_GPT iobase+(0x058 << lp->bus) /* General Purpose Timer Reg.*/ |
bus | 32 | drivers/net/de4x5.h | #define DE4X5_GEP iobase+(0x060 << lp->bus) /* General Purpose Register */ |
bus | 33 | drivers/net/de4x5.h | #define DE4X5_SISR iobase+(0x060 << lp->bus) /* SIA Status Register */ |
bus | 34 | drivers/net/de4x5.h | #define DE4X5_SICR iobase+(0x068 << lp->bus) /* SIA Connectivity Register */ |
bus | 35 | drivers/net/de4x5.h | #define DE4X5_STRR iobase+(0x070 << lp->bus) /* SIA TX/RX Register */ |
bus | 36 | drivers/net/de4x5.h | #define DE4X5_SIGR iobase+(0x078 << lp->bus) /* SIA General Register */ |
bus | 138 | drivers/net/hp100.c | u_char bus; |
bus | 190 | drivers/net/hp100.c | static int hp100_probe1( struct device *dev, int ioaddr, int bus ); |
bus | 300 | drivers/net/hp100.c | static int hp100_probe1( struct device *dev, int ioaddr, int bus ) |
bus | 318 | drivers/net/hp100.c | if ( bus != HP100_BUS_PCI ) /* don't check PCI cards again */ |
bus | 386 | drivers/net/hp100.c | if ( bus == HP100_BUS_ISA && ( (u_long)mem_ptr_phys & ~0xfffff ) != 0 ) |
bus | 391 | drivers/net/hp100.c | if ( mem_mapped && bus == HP100_BUS_PCI ) |
bus | 447 | drivers/net/hp100.c | switch ( bus ) { |
bus | 881 | drivers/net/sunlance.c | struct linux_sbus *bus; |
bus | 886 | drivers/net/sunlance.c | for_each_sbus (bus) { |
bus | 887 | drivers/net/sunlance.c | for_each_sbusdev (sdev, bus) { |
bus | 531 | drivers/pci/pci.c | static void burst_bridge(unsigned char bus, unsigned char devfn, |
bus | 547 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
bus | 551 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
bus | 560 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
bus | 583 | drivers/pci/pci.c | unsigned int l, class_rev, bus, devfn; |
bus | 589 | drivers/pci/pci.c | bus = dev->bus->number; |
bus | 592 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, PCI_CLASS_REVISION, &class_rev); |
bus | 593 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_VENDOR_ID, &vendor); |
bus | 594 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_DEVICE_ID, &device); |
bus | 595 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_STATUS, &status); |
bus | 596 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_BIST, &bist); |
bus | 597 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_LATENCY_TIMER, &latency); |
bus | 598 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MIN_GNT, &min_gnt); |
bus | 599 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MAX_LAT, &max_lat); |
bus | 604 | drivers/pci/pci.c | bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); |
bus | 674 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
bus | 701 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
bus | 760 | drivers/pci/pci.c | static unsigned int scan_bus(struct pci_bus *bus, unsigned long *mem_startp) |
bus | 769 | drivers/pci/pci.c | printk("...scan_bus(busno=%d,mem=%p)\n", bus->number, *mem_startp); |
bus | 772 | drivers/pci/pci.c | max = bus->secondary; |
bus | 775 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
bus | 782 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, |
bus | 791 | drivers/pci/pci.c | dev->bus = bus; |
bus | 816 | drivers/pci/pci.c | burst_bridge(bus->number, devfn, |
bus | 822 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 824 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 826 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 829 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 833 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
bus | 837 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, |
bus | 845 | drivers/pci/pci.c | dev->sibling = bus->devices; |
bus | 846 | drivers/pci/pci.c | bus->devices = dev; |
bus | 856 | drivers/pci/pci.c | child->next = bus->children; |
bus | 857 | drivers/pci/pci.c | bus->children = child; |
bus | 859 | drivers/pci/pci.c | child->parent = bus; |
bus | 866 | drivers/pci/pci.c | child->primary = bus->secondary; |
bus | 872 | drivers/pci/pci.c | pcibios_read_config_word(bus->number, devfn, |
bus | 874 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
bus | 876 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
bus | 881 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, 0x18, |
bus | 887 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
bus | 900 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
bus | 902 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
bus | 521 | drivers/scsi/53c7,8xx.c | int bus; |
bus | 610 | drivers/scsi/53c7,8xx.c | overrides[commandline_current].data.pci.bus = ints[1]; |
bus | 1408 | drivers/scsi/53c7,8xx.c | unsigned char bus, unsigned char device_fn, long long options) { |
bus | 1422 | drivers/scsi/53c7,8xx.c | bus, (int) (device_fn & 0xf8) >> 3, |
bus | 1431 | drivers/scsi/53c7,8xx.c | if ((error = pcibios_read_config_word (bus, device_fn, PCI_VENDOR_ID, |
bus | 1433 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_word (bus, device_fn, PCI_DEVICE_ID, |
bus | 1435 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_word (bus, device_fn, PCI_COMMAND, |
bus | 1437 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_dword (bus, device_fn, |
bus | 1439 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_dword (bus, device_fn, |
bus | 1441 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_byte (bus, device_fn, PCI_CLASS_REVISION, |
bus | 1443 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_byte (bus, device_fn, PCI_INTERRUPT_LINE, |
bus | 1528 | drivers/scsi/53c7,8xx.c | (int) irq, DMA_NONE, 1, bus, device_fn, options); |
bus | 1562 | drivers/scsi/53c7,8xx.c | (unsigned char) overrides[current_override].data.pci.bus, |
bus | 2419 | drivers/scsi/advansys.c | uchar bus; |
bus | 2748 | drivers/scsi/advansys.c | int bus; |
bus | 2806 | drivers/scsi/advansys.c | for (bus = 0; bus < ASC_NUM_BUS; bus++) { |
bus | 2809 | drivers/scsi/advansys.c | bus, asc_bus_name[bus]); |
bus | 2817 | drivers/scsi/advansys.c | switch (asc_bus[bus]) { |
bus | 2821 | drivers/scsi/advansys.c | iop = AscSearchIOPortAddr(iop, asc_bus[bus]); |
bus | 2857 | drivers/scsi/advansys.c | if (asc_bus[bus] == ASC_IS_ISA && |
bus | 2880 | drivers/scsi/advansys.c | iop = AscSearchIOPortAddr(iop, asc_bus[bus]); |
bus | 2932 | drivers/scsi/advansys.c | boardp->bus_type = asc_bus[bus]; |
bus | 4166 | drivers/scsi/advansys.c | pciData.bus = pciDevice->busNumber; |
bus | 4215 | drivers/scsi/advansys.c | pciData.bus = pciDevice->busNumber; |
bus | 4239 | drivers/scsi/advansys.c | ulong lbus = pciData->bus; |
bus | 4262 | drivers/scsi/advansys.c | outp(0xCFA, pciData->bus); |
bus | 4313 | drivers/scsi/advansys.c | ulong lbus = pciData->bus, lslot = pciData->slot, lfunc = pciData->func; |
bus | 4333 | drivers/scsi/advansys.c | outp(0xCFA, pciData->bus); |
bus | 97 | include/asm-sparc/io.h | int bus, int rdonly) |
bus | 101 | include/asm-sparc/io.h | sun4c_mapioaddr(physaddr, virt_addr, bus, rdonly); |
bus | 106 | include/asm-sparc/io.h | srmmu_mapioaddr(physaddr, virt_addr, bus, rdonly); |
bus | 86 | include/asm-sparc/sbus.h | #define for_each_sbus(bus) \ |
bus | 87 | include/asm-sparc/sbus.h | for((bus) = SBus_chain; (bus); (bus)=(bus)->next) |
bus | 89 | include/asm-sparc/sbus.h | #define for_each_sbusdev(device, bus) \ |
bus | 90 | include/asm-sparc/sbus.h | for((device) = (bus)->devices; (device); (device)=(device)->next) |
bus | 43 | include/linux/bios32.h | unsigned char *bus, unsigned char *dev_fn); |
bus | 45 | include/linux/bios32.h | unsigned short index, unsigned char *bus, |
bus | 47 | include/linux/bios32.h | extern int pcibios_read_config_byte (unsigned char bus, unsigned char dev_fn, |
bus | 49 | include/linux/bios32.h | extern int pcibios_read_config_word (unsigned char bus, unsigned char dev_fn, |
bus | 51 | include/linux/bios32.h | extern int pcibios_read_config_dword (unsigned char bus, unsigned char dev_fn, |
bus | 53 | include/linux/bios32.h | extern int pcibios_write_config_byte (unsigned char bus, unsigned char dev_fn, |
bus | 55 | include/linux/bios32.h | extern int pcibios_write_config_word (unsigned char bus, unsigned char dev_fn, |
bus | 57 | include/linux/bios32.h | extern pcibios_write_config_dword (unsigned char bus, unsigned char dev_fn, |
bus | 590 | include/linux/pci.h | struct pci_bus *bus; /* bus this device is on */ |