tag | line | file | source code |
devfn | 99 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
devfn | 106 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, reg, |
devfn | 108 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bus->number, dev->devfn, reg, &base); |
devfn | 128 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
devfn | 149 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 150 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn)); |
devfn | 167 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 168 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn)); |
devfn | 192 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 193 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn), size); |
devfn | 207 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
devfn | 225 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, |
devfn | 272 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 275 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 279 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 284 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 289 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 297 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 311 | arch/alpha/kernel/bios32.c | unsigned char *devfn) |
devfn | 319 | arch/alpha/kernel/bios32.c | *devfn = dev->devfn; |
devfn | 335 | arch/alpha/kernel/bios32.c | unsigned char *bus, unsigned char *devfn) |
devfn | 343 | arch/alpha/kernel/bios32.c | *devfn = dev->devfn; |
devfn | 421 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 423 | arch/alpha/kernel/bios32.c | if (irq_tab[PCI_SLOT(dev->devfn) - min_idsel][pin] != -1) |
devfn | 424 | arch/alpha/kernel/bios32.c | dev->irq = irq_tab[PCI_SLOT(dev->devfn) - min_idsel][pin]; |
devfn | 427 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
devfn | 434 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
devfn | 611 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn) < 6 || |
devfn | 612 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn) >= 6 + sizeof(pirq_tab)/sizeof(pirq_tab[0])) |
devfn | 615 | arch/alpha/kernel/bios32.c | dev->bus->number, PCI_SLOT(dev->devfn)); |
devfn | 618 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 620 | arch/alpha/kernel/bios32.c | pirq = pirq_tab[PCI_SLOT(dev->devfn) - 6][pin]; |
devfn | 628 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
devfn | 642 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
devfn | 481 | drivers/pci/pci.c | static void burst_bridge(unsigned char bus, unsigned char devfn, |
devfn | 497 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
devfn | 501 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
devfn | 510 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
devfn | 533 | drivers/pci/pci.c | unsigned int l, class_rev, bus, devfn; |
devfn | 540 | drivers/pci/pci.c | devfn = dev->devfn; |
devfn | 542 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, PCI_CLASS_REVISION, &class_rev); |
devfn | 543 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_VENDOR_ID, &vendor); |
devfn | 544 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_DEVICE_ID, &device); |
devfn | 545 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_STATUS, &status); |
devfn | 546 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_BIST, &bist); |
devfn | 547 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_LATENCY_TIMER, &latency); |
devfn | 548 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MIN_GNT, &min_gnt); |
devfn | 549 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MAX_LAT, &max_lat); |
devfn | 554 | drivers/pci/pci.c | bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); |
devfn | 624 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
devfn | 651 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
devfn | 712 | drivers/pci/pci.c | unsigned int devfn, l, max; |
devfn | 723 | drivers/pci/pci.c | for (devfn = 0; devfn < 0xff; ++devfn) { |
devfn | 724 | drivers/pci/pci.c | if (PCI_FUNC(devfn) == 0) { |
devfn | 725 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
devfn | 732 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, |
devfn | 750 | drivers/pci/pci.c | dev->devfn = devfn; |
devfn | 766 | drivers/pci/pci.c | burst_bridge(bus->number, devfn, |
devfn | 772 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 774 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 776 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 779 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 783 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
devfn | 787 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, |
devfn | 822 | drivers/pci/pci.c | pcibios_read_config_word(bus->number, devfn, |
devfn | 824 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 826 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 831 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, 0x18, |
devfn | 837 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
devfn | 850 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
devfn | 852 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 520 | include/linux/pci.h | #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) |
devfn | 521 | include/linux/pci.h | #define PCI_FUNC(devfn) ((devfn) & 0x07) |
devfn | 534 | include/linux/pci.h | unsigned int devfn; /* encoded device & function index */ |