tag | line | file | source code |
bus | 47 | arch/alpha/kernel/lca.c | mk_conf_addr(unsigned char bus, unsigned char device_fn, |
bus | 52 | arch/alpha/kernel/lca.c | if (bus == 0) { |
bus | 67 | arch/alpha/kernel/lca.c | addr = (bus << 16) | (device_fn << 8) | where; |
bus | 129 | arch/alpha/kernel/lca.c | unsigned char *bus, unsigned char *device_fn) |
bus | 135 | arch/alpha/kernel/lca.c | pcibios_read_config_dword(dev->bus, dev->dev_fn, |
bus | 139 | arch/alpha/kernel/lca.c | *bus = dev->bus; |
bus | 152 | arch/alpha/kernel/lca.c | unsigned short index, unsigned char *bus, |
bus | 163 | arch/alpha/kernel/lca.c | pcibios_read_config_dword(dev->bus, dev->dev_fn, |
bus | 167 | arch/alpha/kernel/lca.c | *bus = dev->bus; |
bus | 179 | arch/alpha/kernel/lca.c | pcibios_read_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 187 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr) < 0) { |
bus | 200 | arch/alpha/kernel/lca.c | pcibios_read_config_word (unsigned char bus, unsigned char device_fn, |
bus | 212 | arch/alpha/kernel/lca.c | if (mk_conf_addr(bus, device_fn, where, &pci_addr)) { |
bus | 224 | arch/alpha/kernel/lca.c | 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 | 249 | arch/alpha/kernel/lca.c | pcibios_write_config_byte (unsigned char bus, unsigned char device_fn, |
bus | 256 | arch/alpha/kernel/lca.c | pcibios_write_config_word (unsigned char bus, unsigned char device_fn, |
bus | 263 | arch/alpha/kernel/lca.c | pcibios_write_config_dword (unsigned char bus, unsigned char device_fn, |
bus | 93 | arch/i386/kernel/bios32.c | unsigned char bus; |
bus | 236 | arch/i386/kernel/bios32.c | unsigned char *bus, unsigned char *device_fn) |
bus | 251 | arch/i386/kernel/bios32.c | *bus = (bx >> 8) & 0xff; |
bus | 258 | arch/i386/kernel/bios32.c | unsigned short index, unsigned char *bus, unsigned char *device_fn) |
bus | 274 | arch/i386/kernel/bios32.c | *bus = (bx >> 8) & 0xff; |
bus | 279 | arch/i386/kernel/bios32.c | int pcibios_read_config_byte(unsigned char bus, |
bus | 283 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 298 | arch/i386/kernel/bios32.c | int pcibios_read_config_word (unsigned char bus, |
bus | 302 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 317 | arch/i386/kernel/bios32.c | int pcibios_read_config_dword (unsigned char bus, |
bus | 321 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 336 | arch/i386/kernel/bios32.c | int pcibios_write_config_byte (unsigned char bus, |
bus | 340 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 355 | arch/i386/kernel/bios32.c | int pcibios_write_config_word (unsigned char bus, |
bus | 359 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 374 | arch/i386/kernel/bios32.c | int pcibios_write_config_dword (unsigned char bus, |
bus | 378 | arch/i386/kernel/bios32.c | unsigned long bx = (bus << 8) | device_fn; |
bus | 395 | arch/i386/kernel/bios32.c | unsigned char bus, device_fn; |
bus | 405 | arch/i386/kernel/bios32.c | index, &bus, &device_fn); |
bus | 409 | arch/i386/kernel/bios32.c | bus, ((device_fn & 0xf8) >> 3), (device_fn & 7)); |
bus | 413 | arch/i386/kernel/bios32.c | if (!(ret = pcibios_read_config_dword (bus, device_fn, row+col, &val))) |
bus | 452 | arch/i386/kernel/bios32.c | int multi_function(unsigned char bus,unsigned char dev_fn) |
bus | 456 | arch/i386/kernel/bios32.c | bus, dev_fn, (unsigned char) PCI_HEADER_TYPE, &header); |
bus | 462 | arch/i386/kernel/bios32.c | int interrupt_decode(unsigned char bus,unsigned char dev_fn) |
bus | 466 | arch/i386/kernel/bios32.c | bus, dev_fn, (unsigned char) PCI_INTERRUPT_LINE, &interrupt); |
bus | 473 | arch/i386/kernel/bios32.c | int bist_probe(unsigned char bus,unsigned char dev_fn) |
bus | 477 | arch/i386/kernel/bios32.c | bus, dev_fn, (unsigned char) PCI_BIST, &bist); |
bus | 484 | arch/i386/kernel/bios32.c | int revision_decode(unsigned char bus,unsigned char dev_fn) |
bus | 488 | arch/i386/kernel/bios32.c | bus, dev_fn, (unsigned char) PCI_CLASS_REVISION, &revision); |
bus | 497 | arch/i386/kernel/bios32.c | int class_decode(unsigned char bus,unsigned char dev_fn) |
bus | 502 | arch/i386/kernel/bios32.c | bus, dev_fn, (unsigned char) PCI_CLASS_REVISION, &class); |
bus | 510 | arch/i386/kernel/bios32.c | int device_decode(unsigned char bus,unsigned char dev_fn,unsigned short vendor_num) |
bus | 516 | arch/i386/kernel/bios32.c | bus, dev_fn, (unsigned char) PCI_DEVICE_ID, &device); |
bus | 524 | arch/i386/kernel/bios32.c | int vendor_decode(unsigned char bus,unsigned char dev_fn) |
bus | 530 | arch/i386/kernel/bios32.c | bus, dev_fn, (unsigned char) PCI_VENDOR_ID, &vendor); |
bus | 540 | arch/i386/kernel/bios32.c | void burst_bridge(unsigned char bus,unsigned char dev_fn,unsigned char pos, int turn_on) |
bus | 553 | arch/i386/kernel/bios32.c | bus, dev_fn, bridge_mapping[pos+i].address, &val); |
bus | 560 | arch/i386/kernel/bios32.c | bus, dev_fn, bridge_mapping[pos+i].address, |
bus | 570 | arch/i386/kernel/bios32.c | bus, dev_fn, bridge_mapping[pos+i].address, |
bus | 586 | arch/i386/kernel/bios32.c | void probe_devices(unsigned char bus) |
bus | 598 | arch/i386/kernel/bios32.c | bus, dev_fn, (unsigned char) PCI_CLASS_REVISION, &res); |
bus | 605 | arch/i386/kernel/bios32.c | (((dev_fn & 7) == 0) || multi_function(bus,dev_fn))) { |
bus | 606 | arch/i386/kernel/bios32.c | add_pci_resource( bus, dev_fn); |
bus | 626 | arch/i386/kernel/bios32.c | void add_pci_resource(unsigned char bus, unsigned char dev_fn) |
bus | 638 | arch/i386/kernel/bios32.c | vendor_id=vendor_decode(bus,dev_fn); |
bus | 639 | arch/i386/kernel/bios32.c | device_id=device_decode(bus,dev_fn,vendor_id); |
bus | 655 | arch/i386/kernel/bios32.c | burst_bridge(bus,dev_fn,bridge_id,1); /* Burst bridge */ |
bus | 689 | arch/i386/kernel/bios32.c | new_pci->bus = bus; |
bus | 704 | arch/i386/kernel/bios32.c | pr=vendor_decode(temp->bus,temp->dev_fn); |
bus | 707 | arch/i386/kernel/bios32.c | (int)temp->bus, |
bus | 712 | arch/i386/kernel/bios32.c | pci_class[class_decode(temp->bus, temp->dev_fn)].class_name, |
bus | 714 | arch/i386/kernel/bios32.c | pci_device[device_decode(temp->bus, temp->dev_fn, pr)].device_name, |
bus | 715 | arch/i386/kernel/bios32.c | revision_decode(temp->bus, temp->dev_fn)); |
bus | 717 | arch/i386/kernel/bios32.c | if (bist_probe(temp->bus, temp->dev_fn)) |
bus | 720 | arch/i386/kernel/bios32.c | if ((pr = interrupt_decode(temp->bus, temp->dev_fn)) != 0) |
bus | 310 | drivers/net/de4x5.c | char bus; /* EISA or PCI */ |
bus | 372 | drivers/net/de4x5.c | int bus; |
bus | 374 | drivers/net/de4x5.c | } bus; |
bus | 424 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 435 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 447 | drivers/net/de4x5.c | request_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE : |
bus | 450 | drivers/net/de4x5.c | if (lp->bus == EISA) { |
bus | 464 | drivers/net/de4x5.c | tmpbus = lp->bus; |
bus | 481 | drivers/net/de4x5.c | lp->bus = tmpbus; |
bus | 557 | drivers/net/de4x5.c | if (status) release_region(iobase, (lp->bus == PCI ? |
bus | 1230 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1235 | drivers/net/de4x5.c | lp->bus = EISA; |
bus | 1278 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1283 | drivers/net/de4x5.c | lp->bus = PCI; |
bus | 1712 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1719 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 1749 | drivers/net/de4x5.c | struct bus_type *lp = &bus; |
bus | 1755 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 1773 | drivers/net/de4x5.c | if (lp->bus == PCI) { |
bus | 2048 | 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_DDR iobase+(0x050 << lp->bus) /* Data Diagnostic Register */ |
bus | 27 | drivers/net/de4x5.h | #define DE4X5_FDR iobase+(0x058 << lp->bus) /* Full Duplex Register */ |
bus | 28 | drivers/net/de4x5.h | #define DE4X5_SISR iobase+(0x060 << lp->bus) /* SIA Status Register */ |
bus | 29 | drivers/net/de4x5.h | #define DE4X5_SICR iobase+(0x068 << lp->bus) /* SIA Connectivity Register */ |
bus | 30 | drivers/net/de4x5.h | #define DE4X5_STRR iobase+(0x070 << lp->bus) /* SIA TX/RX Register */ |
bus | 31 | drivers/net/de4x5.h | #define DE4X5_SIGR iobase+(0x078 << lp->bus) /* SIA General Register */ |
bus | 327 | drivers/scsi/53c7,8xx.c | int bus; |
bus | 377 | drivers/scsi/53c7,8xx.c | overrides[commandline_current].data.pci.bus = ints[1]; |
bus | 814 | drivers/scsi/53c7,8xx.c | unsigned char bus, unsigned char device_fn, int options) { |
bus | 822 | drivers/scsi/53c7,8xx.c | bus, (int) (device_fn & 0xf8) >> 3, |
bus | 831 | drivers/scsi/53c7,8xx.c | if ((error = pcibios_read_config_word (bus, device_fn, PCI_VENDOR_ID, |
bus | 833 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_word (bus, device_fn, PCI_DEVICE_ID, |
bus | 835 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_word (bus, device_fn, PCI_COMMAND, |
bus | 837 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_dword (bus, device_fn, |
bus | 839 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_dword (bus, device_fn, |
bus | 841 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_byte (bus, device_fn, PCI_CLASS_REVISION, |
bus | 843 | drivers/scsi/53c7,8xx.c | (error = pcibios_read_config_byte (bus, device_fn, PCI_INTERRUPT_LINE, |
bus | 917 | drivers/scsi/53c7,8xx.c | (int) irq, DMA_NONE, 1, bus, device_fn, options); |
bus | 948 | drivers/scsi/53c7,8xx.c | (unsigned char) overrides[current_override].data.pci.bus, |
bus | 35 | include/linux/bios32.h | unsigned char *bus, unsigned char *device_fn); |
bus | 37 | include/linux/bios32.h | unsigned short index, unsigned char *bus, unsigned char *device_fn); |
bus | 38 | include/linux/bios32.h | extern int pcibios_read_config_byte (unsigned char bus, |
bus | 40 | include/linux/bios32.h | extern int pcibios_read_config_word (unsigned char bus, |
bus | 42 | include/linux/bios32.h | extern int pcibios_read_config_dword (unsigned char bus, |
bus | 45 | include/linux/bios32.h | extern int pcibios_write_config_byte (unsigned char bus, |
bus | 47 | include/linux/bios32.h | extern int pcibios_write_config_word (unsigned char bus, |
bus | 49 | include/linux/bios32.h | extern pcibios_write_config_dword (unsigned char bus, |
bus | 28 | include/linux/pci.h | #define PCI_CONFIG1_TUPPLE(bus, device, function, register) \ |
bus | 29 | include/linux/pci.h | (PCI_CONFIG1_ENABLE | ((bus) << 16) & 0xff0000 | \ |