tag | line | file | source code |
bus | 94 | arch/alpha/kernel/bios32.c | struct pci_bus *bus; |
bus | 98 | arch/alpha/kernel/bios32.c | bus = dev->bus; |
bus | 99 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
bus | 106 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, reg, |
bus | 108 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bus->number, dev->devfn, reg, &base); |
bus | 128 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
bus | 207 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
bus | 212 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, |
bus | 217 | arch/alpha/kernel/bios32.c | static void layout_bus(struct pci_bus *bus) |
bus | 223 | arch/alpha/kernel/bios32.c | if (!bus->devices && !bus->children) |
bus | 236 | arch/alpha/kernel/bios32.c | for (dev = bus->devices; dev; dev = dev->sibling) { |
bus | 244 | arch/alpha/kernel/bios32.c | for (child = bus->children; child; child = child->next) { |
bus | 253 | arch/alpha/kernel/bios32.c | if (bus->self) { |
bus | 254 | arch/alpha/kernel/bios32.c | struct pci_dev *bridge = bus->self; |
bus | 259 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bridge->bus->number, bridge->devfn, |
bus | 262 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 266 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 271 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 276 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 284 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
bus | 297 | arch/alpha/kernel/bios32.c | unsigned short index, unsigned char *bus, |
bus | 307 | arch/alpha/kernel/bios32.c | *bus = dev->bus->number; |
bus | 322 | arch/alpha/kernel/bios32.c | unsigned char *bus, unsigned char *devfn) |
bus | 331 | arch/alpha/kernel/bios32.c | *bus = dev->bus->number; |
bus | 401 | arch/alpha/kernel/bios32.c | if (dev->bus->number != 0 || |
bus | 405 | arch/alpha/kernel/bios32.c | dev->bus->number, PCI_SLOT(dev->devfn)); |
bus | 409 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
bus | 428 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
bus | 66 | arch/alpha/kernel/lca.c | static int mk_conf_addr(unsigned char bus, unsigned char device_fn, |
bus | 71 | arch/alpha/kernel/lca.c | if (bus == 0) { |
bus | 86 | arch/alpha/kernel/lca.c | addr = (bus << 16) | (device_fn << 8) | where; |
bus | 165 | arch/alpha/kernel/lca.c | int pcibios_read_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 173 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr) < 0) { |
bus | 185 | arch/alpha/kernel/lca.c | int pcibios_read_config_word (unsigned char bus, unsigned char device_fn, |
bus | 197 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr)) { |
bus | 208 | arch/alpha/kernel/lca.c | int pcibios_read_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 220 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr)) { |
bus | 232 | arch/alpha/kernel/lca.c | int pcibios_write_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 238 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr) < 0) { |
bus | 250 | arch/alpha/kernel/lca.c | int pcibios_write_config_word (unsigned char bus, unsigned char device_fn, |
bus | 256 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr) < 0) { |
bus | 268 | arch/alpha/kernel/lca.c | int pcibios_write_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 274 | 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 | 376 | drivers/net/de4x5.c | int bus; /* EISA or PCI */ |
bus | 474 | drivers/net/de4x5.c | int bus; |
bus | 480 | drivers/net/de4x5.c | } bus; |
bus | 532 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 548 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 564 | drivers/net/de4x5.c | if (lp->bus == EISA) { |
bus | 579 | drivers/net/de4x5.c | tmpbus = lp->bus; |
bus | 597 | drivers/net/de4x5.c | lp->bus = tmpbus; |
bus | 620 | drivers/net/de4x5.c | request_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE : |
bus | 700 | drivers/net/de4x5.c | if (status) release_region(iobase, (lp->bus == PCI ? |
bus | 1490 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1496 | drivers/net/de4x5.c | lp->bus = EISA; |
bus | 1514 | drivers/net/de4x5.c | lp->bus = EISA; |
bus | 1561 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1566 | drivers/net/de4x5.c | lp->bus = PCI; |
bus | 2218 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 2226 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 2262 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 2268 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 2291 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 2763 | drivers/net/de4x5.c | release_region(thisDE4X5.base_addr, (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_DDR iobase+(0x050 << lp->bus) /* Data Diagnostic Register */ |
bus | 29 | drivers/net/de4x5.h | #define DE4X5_FDR iobase+(0x058 << lp->bus) /* Full Duplex Register */ |
bus | 30 | drivers/net/de4x5.h | #define DE4X5_GPT iobase+(0x058 << lp->bus) /* General Purpose Timer Reg.*/ |
bus | 31 | drivers/net/de4x5.h | #define DE4X5_GEP iobase+(0x060 << lp->bus) /* General Purpose Register */ |
bus | 32 | drivers/net/de4x5.h | #define DE4X5_SISR iobase+(0x060 << lp->bus) /* SIA Status Register */ |
bus | 33 | drivers/net/de4x5.h | #define DE4X5_SICR iobase+(0x068 << lp->bus) /* SIA Connectivity Register */ |
bus | 34 | drivers/net/de4x5.h | #define DE4X5_STRR iobase+(0x070 << lp->bus) /* SIA TX/RX Register */ |
bus | 35 | drivers/net/de4x5.h | #define DE4X5_SIGR iobase+(0x078 << lp->bus) /* SIA General Register */ |
bus | 358 | drivers/pci/pci.c | static void burst_bridge(unsigned char bus, unsigned char devfn, |
bus | 374 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
bus | 378 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
bus | 387 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
bus | 410 | drivers/pci/pci.c | unsigned int l, class_rev, bus, devfn; |
bus | 416 | drivers/pci/pci.c | bus = dev->bus->number; |
bus | 419 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, PCI_CLASS_REVISION, &class_rev); |
bus | 420 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_VENDOR_ID, &vendor); |
bus | 421 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_DEVICE_ID, &device); |
bus | 422 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_STATUS, &status); |
bus | 423 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_BIST, &bist); |
bus | 424 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_LATENCY_TIMER, &latency); |
bus | 425 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MIN_GNT, &min_gnt); |
bus | 426 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MAX_LAT, &max_lat); |
bus | 431 | drivers/pci/pci.c | bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); |
bus | 501 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
bus | 528 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
bus | 587 | drivers/pci/pci.c | static unsigned int scan_bus(struct pci_bus *bus, unsigned long *mem_startp) |
bus | 596 | drivers/pci/pci.c | printk("...scan_bus(busno=%d,mem=%p)\n", bus->number, *mem_startp); |
bus | 599 | drivers/pci/pci.c | max = bus->secondary; |
bus | 602 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
bus | 609 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, |
bus | 618 | drivers/pci/pci.c | dev->bus = bus; |
bus | 642 | drivers/pci/pci.c | burst_bridge(bus->number, devfn, |
bus | 648 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 650 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 652 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 655 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
bus | 659 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
bus | 663 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, |
bus | 671 | drivers/pci/pci.c | dev->sibling = bus->devices; |
bus | 672 | drivers/pci/pci.c | bus->devices = dev; |
bus | 681 | drivers/pci/pci.c | child->next = bus->children; |
bus | 682 | drivers/pci/pci.c | bus->children = child; |
bus | 684 | drivers/pci/pci.c | child->parent = bus; |
bus | 691 | drivers/pci/pci.c | child->primary = bus->secondary; |
bus | 697 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
bus | 699 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
bus | 704 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, 0x18, |
bus | 710 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
bus | 723 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
bus | 304 | drivers/scsi/53c7,8xx.c | int bus; |
bus | 354 | drivers/scsi/53c7,8xx.c | overrides[commandline_current].data.pci.bus = ints[1]; |
bus | 857 | drivers/scsi/53c7,8xx.c | unsigned char bus, unsigned char device_fn, int options) { |
bus | 867 | drivers/scsi/53c7,8xx.c | bus, (int) (device_fn & 0xf8) >> 3, |
bus | 876 | drivers/scsi/53c7,8xx.c | if ((error = pcibios_read_config_word (bus, device_fn, PCI_VENDOR_ID, |
bus | 878 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_word (bus, device_fn, PCI_DEVICE_ID, |
bus | 880 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_word (bus, device_fn, PCI_COMMAND, |
bus | 882 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_dword (bus, device_fn, |
bus | 884 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_dword (bus, device_fn, |
bus | 886 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_byte (bus, device_fn, PCI_CLASS_REVISION, |
bus | 888 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_byte (bus, device_fn, PCI_INTERRUPT_LINE, |
bus | 966 | drivers/scsi/53c7,8xx.c | (int) irq, DMA_NONE, 1, bus, device_fn, options); |
bus | 996 | drivers/scsi/53c7,8xx.c | (unsigned char) overrides[current_override].data.pci.bus, |
bus | 96 | include/asm-sparc/io.h | int bus, int rdonly) |
bus | 100 | include/asm-sparc/io.h | sun4c_mapioaddr(physaddr, virt_addr, bus, rdonly); |
bus | 105 | include/asm-sparc/io.h | srmmu_mapioaddr(physaddr, virt_addr, bus, rdonly); |
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 | 372 | include/linux/pci.h | struct pci_bus *bus; /* bus this device is on */ |