tag | line | file | source code |
devfn | 120 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
devfn | 124 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, cmd); |
devfn | 141 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
devfn | 148 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, reg, |
devfn | 150 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bus->number, dev->devfn, reg, &base); |
devfn | 173 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
devfn | 193 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 194 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn)); |
devfn | 211 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 212 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn)); |
devfn | 238 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 239 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn), size); |
devfn | 253 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
devfn | 272 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, |
devfn | 275 | arch/alpha/kernel/bios32.c | bus->number, PCI_SLOT(dev->devfn), dev->vendor, dev->device, dev->class)); |
devfn | 342 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 345 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 352 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 357 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 362 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 370 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 384 | arch/alpha/kernel/bios32.c | unsigned char *devfn) |
devfn | 392 | arch/alpha/kernel/bios32.c | *devfn = dev->devfn; |
devfn | 408 | arch/alpha/kernel/bios32.c | unsigned char *bus, unsigned char *devfn) |
devfn | 416 | arch/alpha/kernel/bios32.c | *devfn = dev->devfn; |
devfn | 540 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 547 | arch/alpha/kernel/bios32.c | pin = bridge_swizzle(pin, PCI_SLOT(curr->devfn)) ; |
devfn | 552 | arch/alpha/kernel/bios32.c | slot = PCI_SLOT(curr->devfn) ; |
devfn | 555 | arch/alpha/kernel/bios32.c | slot = PCI_SLOT(dev->devfn) ; |
devfn | 557 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 564 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
devfn | 571 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
devfn | 768 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 775 | arch/alpha/kernel/bios32.c | pin = bridge_swizzle(pin, PCI_SLOT(curr->devfn)) ; |
devfn | 780 | arch/alpha/kernel/bios32.c | slot = PCI_SLOT(curr->devfn) ; |
devfn | 783 | arch/alpha/kernel/bios32.c | slot = PCI_SLOT(dev->devfn) ; |
devfn | 785 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 799 | arch/alpha/kernel/bios32.c | dev->bus->number, PCI_SLOT(dev->devfn), dev->vendor, dev->device, |
devfn | 805 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
devfn | 827 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
devfn | 531 | drivers/pci/pci.c | static void burst_bridge(unsigned char bus, unsigned char devfn, |
devfn | 547 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
devfn | 551 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
devfn | 560 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
devfn | 583 | drivers/pci/pci.c | unsigned int l, class_rev, bus, devfn; |
devfn | 590 | drivers/pci/pci.c | devfn = dev->devfn; |
devfn | 592 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, PCI_CLASS_REVISION, &class_rev); |
devfn | 593 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_VENDOR_ID, &vendor); |
devfn | 594 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_DEVICE_ID, &device); |
devfn | 595 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_STATUS, &status); |
devfn | 596 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_BIST, &bist); |
devfn | 597 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_LATENCY_TIMER, &latency); |
devfn | 598 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MIN_GNT, &min_gnt); |
devfn | 599 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MAX_LAT, &max_lat); |
devfn | 604 | drivers/pci/pci.c | bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); |
devfn | 674 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
devfn | 701 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
devfn | 762 | drivers/pci/pci.c | unsigned int devfn, l, max; |
devfn | 773 | drivers/pci/pci.c | for (devfn = 0; devfn < 0xff; ++devfn) { |
devfn | 774 | drivers/pci/pci.c | if (PCI_FUNC(devfn) == 0) { |
devfn | 775 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
devfn | 782 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, |
devfn | 800 | drivers/pci/pci.c | dev->devfn = devfn; |
devfn | 816 | drivers/pci/pci.c | burst_bridge(bus->number, devfn, |
devfn | 822 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 824 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 826 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 829 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 833 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
devfn | 837 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, |
devfn | 872 | drivers/pci/pci.c | pcibios_read_config_word(bus->number, devfn, |
devfn | 874 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 876 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 881 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, 0x18, |
devfn | 887 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
devfn | 900 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
devfn | 902 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 582 | include/linux/pci.h | #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) |
devfn | 583 | include/linux/pci.h | #define PCI_FUNC(devfn) ((devfn) & 0x07) |
devfn | 596 | include/linux/pci.h | unsigned int devfn; /* encoded device & function index */ |