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 | 93 | arch/alpha/kernel/bios32.c | struct pci_bus *bus; |
bus | 96 | arch/alpha/kernel/bios32.c | bus = dev->bus; |
bus | 97 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
bus | 101 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, cmd); |
bus | 112 | arch/alpha/kernel/bios32.c | struct pci_bus *bus; |
bus | 117 | arch/alpha/kernel/bios32.c | bus = dev->bus; |
bus | 118 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
bus | 125 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, reg, |
bus | 127 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bus->number, dev->devfn, reg, &base); |
bus | 150 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
bus | 230 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
bus | 249 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, |
bus | 254 | arch/alpha/kernel/bios32.c | static void layout_bus(struct pci_bus *bus) |
bus | 260 | arch/alpha/kernel/bios32.c | if (!bus->devices && !bus->children) |
bus | 279 | arch/alpha/kernel/bios32.c | for (dev = bus->devices; dev; dev = dev->sibling) { |
bus | 288 | arch/alpha/kernel/bios32.c | for (dev = bus->devices; dev; dev = dev->sibling) { |
bus | 296 | arch/alpha/kernel/bios32.c | for (child = bus->children; child; child = child->next) { |
bus | 305 | arch/alpha/kernel/bios32.c | if (bus->self) { |
bus | 306 | arch/alpha/kernel/bios32.c | struct pci_dev *bridge = bus->self; |
bus | 311 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bridge->bus->number, bridge->devfn, |
bus | 314 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 318 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 323 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 328 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 336 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 349 | arch/alpha/kernel/bios32.c | unsigned short index, unsigned char *bus, |
bus | 359 | arch/alpha/kernel/bios32.c | *bus = dev->bus->number; |
bus | 374 | arch/alpha/kernel/bios32.c | unsigned char *bus, unsigned char *devfn) |
bus | 383 | arch/alpha/kernel/bios32.c | *bus = dev->bus->number; |
bus | 457 | arch/alpha/kernel/bios32.c | if (dev->bus->number != 0) |
bus | 461 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
bus | 467 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
bus | 474 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
bus | 661 | arch/alpha/kernel/bios32.c | if (dev->bus->number != 0) { |
bus | 663 | arch/alpha/kernel/bios32.c | dev->bus->number); |
bus | 674 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
bus | 685 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
bus | 699 | 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 | 2968 | drivers/block/ide.c | byte fn, bus; |
bus | 2972 | drivers/block/ide.c | for (index = 0; !pcibios_find_device (vendor, device, index, &bus, &fn); ++index) { |
bus | 2973 | 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 | 391 | drivers/block/triton.c | void ide_init_triton (byte bus, byte fn) |
bus | 398 | drivers/block/triton.c | printk("ide: Triton BM-IDE on PCI bus %d function %d\n", bus, fn); |
bus | 402 | drivers/block/triton.c | if ((rc = pcibios_read_config_word(bus, fn, 0x04, &pcicmd))) |
bus | 414 | drivers/block/triton.c | if ((rc = pcibios_read_config_word(bus, fn, 0x20, &bmiba))) |
bus | 423 | drivers/block/triton.c | if ((rc = pcibios_read_config_dword(bus, fn, 0x40, &timings))) |
bus | 469 | drivers/net/de4x5.c | int bus; /* EISA or PCI */ |
bus | 509 | drivers/net/de4x5.c | int bus; |
bus | 515 | drivers/net/de4x5.c | } bus; |
bus | 680 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 700 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 711 | drivers/net/de4x5.c | if (lp->bus == EISA) { |
bus | 726 | drivers/net/de4x5.c | tmpbus = lp->bus; |
bus | 752 | drivers/net/de4x5.c | lp->bus = tmpbus; |
bus | 804 | drivers/net/de4x5.c | request_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE : |
bus | 830 | drivers/net/de4x5.c | ((lp->bus == PCI) ? "PCI BIOS" : "EISA CNFG")); |
bus | 835 | drivers/net/de4x5.c | release_region(iobase, (lp->bus == PCI ? |
bus | 1510 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1515 | drivers/net/de4x5.c | lp->bus = EISA; |
bus | 1578 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1584 | drivers/net/de4x5.c | lp->bus = PCI; |
bus | 2829 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 2849 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 2856 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 2882 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 3825 | drivers/net/de4x5.c | release_region(p->base_addr, (lp->bus == PCI ? |
bus | 3839 | 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 | 714 | drivers/net/sunlance.c | struct linux_sbus *bus; |
bus | 723 | drivers/net/sunlance.c | for_each_sbus (bus){ |
bus | 724 | drivers/net/sunlance.c | for_each_sbusdev (sdev, bus){ |
bus | 509 | drivers/pci/pci.c | static void burst_bridge(unsigned char bus, unsigned char devfn, |
bus | 525 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
bus | 529 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
bus | 538 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
bus | 561 | drivers/pci/pci.c | unsigned int l, class_rev, bus, devfn; |
bus | 567 | drivers/pci/pci.c | bus = dev->bus->number; |
bus | 570 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, PCI_CLASS_REVISION, &class_rev); |
bus | 571 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_VENDOR_ID, &vendor); |
bus | 572 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_DEVICE_ID, &device); |
bus | 573 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_STATUS, &status); |
bus | 574 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_BIST, &bist); |
bus | 575 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_LATENCY_TIMER, &latency); |
bus | 576 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MIN_GNT, &min_gnt); |
bus | 577 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MAX_LAT, &max_lat); |
bus | 582 | drivers/pci/pci.c | bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); |
bus | 652 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
bus | 679 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
bus | 738 | drivers/pci/pci.c | static unsigned int scan_bus(struct pci_bus *bus, unsigned long *mem_startp) |
bus | 747 | drivers/pci/pci.c | printk("...scan_bus(busno=%d,mem=%p)\n", bus->number, *mem_startp); |
bus | 750 | drivers/pci/pci.c | max = bus->secondary; |
bus | 753 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
bus | 760 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, |
bus | 769 | drivers/pci/pci.c | dev->bus = bus; |
bus | 794 | drivers/pci/pci.c | burst_bridge(bus->number, devfn, |
bus | 800 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 802 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 804 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 807 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 811 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
bus | 815 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, |
bus | 823 | drivers/pci/pci.c | dev->sibling = bus->devices; |
bus | 824 | drivers/pci/pci.c | bus->devices = dev; |
bus | 834 | drivers/pci/pci.c | child->next = bus->children; |
bus | 835 | drivers/pci/pci.c | bus->children = child; |
bus | 837 | drivers/pci/pci.c | child->parent = bus; |
bus | 844 | drivers/pci/pci.c | child->primary = bus->secondary; |
bus | 850 | drivers/pci/pci.c | pcibios_read_config_word(bus->number, devfn, |
bus | 852 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
bus | 854 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
bus | 859 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, 0x18, |
bus | 865 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
bus | 878 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
bus | 880 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
bus | 505 | drivers/scsi/53c7,8xx.c | int bus; |
bus | 594 | drivers/scsi/53c7,8xx.c | overrides[commandline_current].data.pci.bus = ints[1]; |
bus | 1388 | drivers/scsi/53c7,8xx.c | unsigned char bus, unsigned char device_fn, long long options) { |
bus | 1402 | drivers/scsi/53c7,8xx.c | bus, (int) (device_fn & 0xf8) >> 3, |
bus | 1411 | drivers/scsi/53c7,8xx.c | if ((error = pcibios_read_config_word (bus, device_fn, PCI_VENDOR_ID, |
bus | 1413 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_word (bus, device_fn, PCI_DEVICE_ID, |
bus | 1415 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_word (bus, device_fn, PCI_COMMAND, |
bus | 1417 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_dword (bus, device_fn, |
bus | 1419 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_dword (bus, device_fn, |
bus | 1421 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_byte (bus, device_fn, PCI_CLASS_REVISION, |
bus | 1423 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_byte (bus, device_fn, PCI_INTERRUPT_LINE, |
bus | 1508 | drivers/scsi/53c7,8xx.c | (int) irq, DMA_NONE, 1, bus, device_fn, options); |
bus | 1542 | 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 | 561 | include/linux/pci.h | struct pci_bus *bus; /* bus this device is on */ |