tag | line | file | source code |
devfn | 98 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
devfn | 102 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, cmd); |
devfn | 119 | arch/alpha/kernel/bios32.c | pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); |
devfn | 126 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, reg, |
devfn | 128 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bus->number, dev->devfn, reg, &base); |
devfn | 151 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
devfn | 171 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 172 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn)); |
devfn | 189 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 190 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn)); |
devfn | 216 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn), |
devfn | 217 | arch/alpha/kernel/bios32.c | PCI_FUNC(dev->devfn), size); |
devfn | 231 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bus->number, dev->devfn, |
devfn | 250 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, |
devfn | 312 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 315 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 319 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 324 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 329 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 337 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 351 | arch/alpha/kernel/bios32.c | unsigned char *devfn) |
devfn | 359 | arch/alpha/kernel/bios32.c | *devfn = dev->devfn; |
devfn | 375 | arch/alpha/kernel/bios32.c | unsigned char *bus, unsigned char *devfn) |
devfn | 383 | arch/alpha/kernel/bios32.c | *devfn = dev->devfn; |
devfn | 462 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 464 | arch/alpha/kernel/bios32.c | if (irq_tab[PCI_SLOT(dev->devfn) - min_idsel][pin] != -1) |
devfn | 465 | arch/alpha/kernel/bios32.c | dev->irq = irq_tab[PCI_SLOT(dev->devfn) - min_idsel][pin]; |
devfn | 468 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
devfn | 475 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
devfn | 667 | arch/alpha/kernel/bios32.c | if (PCI_SLOT(dev->devfn) < 6 || |
devfn | 668 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn) >= 6 + sizeof(pirq_tab)/sizeof(pirq_tab[0])) |
devfn | 672 | arch/alpha/kernel/bios32.c | dev->vendor, dev->device, PCI_SLOT(dev->devfn)); |
devfn | 675 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 677 | arch/alpha/kernel/bios32.c | pirq = pirq_tab[PCI_SLOT(dev->devfn) - 6][pin]; |
devfn | 685 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(dev->bus->number, dev->devfn, |
devfn | 699 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
devfn | 494 | drivers/pci/pci.c | static void burst_bridge(unsigned char bus, unsigned char devfn, |
devfn | 510 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
devfn | 514 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
devfn | 523 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
devfn | 546 | drivers/pci/pci.c | unsigned int l, class_rev, bus, devfn; |
devfn | 553 | drivers/pci/pci.c | devfn = dev->devfn; |
devfn | 555 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, PCI_CLASS_REVISION, &class_rev); |
devfn | 556 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_VENDOR_ID, &vendor); |
devfn | 557 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_DEVICE_ID, &device); |
devfn | 558 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_STATUS, &status); |
devfn | 559 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_BIST, &bist); |
devfn | 560 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_LATENCY_TIMER, &latency); |
devfn | 561 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MIN_GNT, &min_gnt); |
devfn | 562 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MAX_LAT, &max_lat); |
devfn | 567 | drivers/pci/pci.c | bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); |
devfn | 637 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
devfn | 664 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
devfn | 725 | drivers/pci/pci.c | unsigned int devfn, l, max; |
devfn | 736 | drivers/pci/pci.c | for (devfn = 0; devfn < 0xff; ++devfn) { |
devfn | 737 | drivers/pci/pci.c | if (PCI_FUNC(devfn) == 0) { |
devfn | 738 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
devfn | 745 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, |
devfn | 763 | drivers/pci/pci.c | dev->devfn = devfn; |
devfn | 779 | drivers/pci/pci.c | burst_bridge(bus->number, devfn, |
devfn | 785 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 787 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 789 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 792 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 796 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
devfn | 800 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, |
devfn | 835 | drivers/pci/pci.c | pcibios_read_config_word(bus->number, devfn, |
devfn | 837 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 839 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 844 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, 0x18, |
devfn | 850 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
devfn | 863 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
devfn | 865 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 534 | include/linux/pci.h | #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) |
devfn | 535 | include/linux/pci.h | #define PCI_FUNC(devfn) ((devfn) & 0x07) |
devfn | 548 | include/linux/pci.h | unsigned int devfn; /* encoded device & function index */ |