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 | 212 | arch/alpha/kernel/bios32.c | pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, |
devfn | 259 | arch/alpha/kernel/bios32.c | pcibios_read_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 262 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 266 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 271 | arch/alpha/kernel/bios32.c | pcibios_write_config_dword(bridge->bus->number, bridge->devfn, |
devfn | 276 | 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 | 298 | arch/alpha/kernel/bios32.c | unsigned char *devfn) |
devfn | 306 | arch/alpha/kernel/bios32.c | *devfn = dev->devfn; |
devfn | 322 | arch/alpha/kernel/bios32.c | unsigned char *bus, unsigned char *devfn) |
devfn | 330 | arch/alpha/kernel/bios32.c | *devfn = dev->devfn; |
devfn | 402 | arch/alpha/kernel/bios32.c | PCI_SLOT(dev->devfn) < 6 || PCI_SLOT(dev->devfn) > 10) |
devfn | 405 | arch/alpha/kernel/bios32.c | dev->bus->number, PCI_SLOT(dev->devfn)); |
devfn | 409 | arch/alpha/kernel/bios32.c | pcibios_read_config_byte(dev->bus->number, dev->devfn, |
devfn | 421 | arch/alpha/kernel/bios32.c | pirq = pirq_tab[PCI_SLOT(dev->devfn) - 6][pin - 1]; |
devfn | 428 | arch/alpha/kernel/bios32.c | pcibios_write_config_byte(dev->bus->number, dev->devfn, |
devfn | 358 | drivers/pci/pci.c | static void burst_bridge(unsigned char bus, unsigned char devfn, |
devfn | 374 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
devfn | 378 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
devfn | 387 | drivers/pci/pci.c | pcibios_write_config_byte(bus, devfn, |
devfn | 410 | drivers/pci/pci.c | unsigned int l, class_rev, bus, devfn; |
devfn | 417 | drivers/pci/pci.c | devfn = dev->devfn; |
devfn | 419 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, PCI_CLASS_REVISION, &class_rev); |
devfn | 420 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_VENDOR_ID, &vendor); |
devfn | 421 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_DEVICE_ID, &device); |
devfn | 422 | drivers/pci/pci.c | pcibios_read_config_word (bus, devfn, PCI_STATUS, &status); |
devfn | 423 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_BIST, &bist); |
devfn | 424 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_LATENCY_TIMER, &latency); |
devfn | 425 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MIN_GNT, &min_gnt); |
devfn | 426 | drivers/pci/pci.c | pcibios_read_config_byte (bus, devfn, PCI_MAX_LAT, &max_lat); |
devfn | 431 | drivers/pci/pci.c | bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); |
devfn | 501 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
devfn | 528 | drivers/pci/pci.c | pcibios_read_config_dword(bus, devfn, reg, &l); |
devfn | 589 | drivers/pci/pci.c | unsigned int devfn, l, max; |
devfn | 600 | drivers/pci/pci.c | for (devfn = 0; devfn < 0xff; ++devfn) { |
devfn | 601 | drivers/pci/pci.c | if (PCI_FUNC(devfn) == 0) { |
devfn | 602 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
devfn | 609 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, PCI_VENDOR_ID, |
devfn | 627 | drivers/pci/pci.c | dev->devfn = devfn; |
devfn | 642 | drivers/pci/pci.c | burst_bridge(bus->number, devfn, |
devfn | 648 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 650 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 652 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 655 | drivers/pci/pci.c | pcibios_write_config_byte(bus->number, devfn, PCI_COMMAND, |
devfn | 659 | drivers/pci/pci.c | pcibios_read_config_byte(bus->number, devfn, |
devfn | 663 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, |
devfn | 697 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 699 | drivers/pci/pci.c | pcibios_write_config_word(bus->number, devfn, |
devfn | 704 | drivers/pci/pci.c | pcibios_read_config_dword(bus->number, devfn, 0x18, |
devfn | 710 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
devfn | 723 | drivers/pci/pci.c | pcibios_write_config_dword(bus->number, devfn, 0x18, |
devfn | 364 | include/linux/pci.h | #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) |
devfn | 365 | include/linux/pci.h | #define PCI_FUNC(devfn) ((devfn) & 0x07) |
devfn | 378 | include/linux/pci.h | unsigned int devfn; /* encoded device & function index */ |