Lines Matching refs:devfn
25 #define CONFIG_CMD(bus, devfn, where) \ argument
26 (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
29 puv3_read_config(struct pci_bus *bus, unsigned int devfn, int where, in puv3_read_config() argument
32 writel(CONFIG_CMD(bus, devfn, where), PCICFG_ADDR); in puv3_read_config()
48 puv3_write_config(struct pci_bus *bus, unsigned int devfn, int where, in puv3_write_config() argument
51 writel(CONFIG_CMD(bus, devfn, where), PCICFG_ADDR); in puv3_write_config()
108 if (dev->devfn == 0x00) in pci_puv3_map_irq()
110 else if (dev->devfn == 0x08) in pci_puv3_map_irq()
112 else if (dev->devfn == 0x10) in pci_puv3_map_irq()
114 else if (dev->devfn == 0x18) in pci_puv3_map_irq()
118 if (dev->devfn == 0x30) in pci_puv3_map_irq()
120 else if (dev->devfn == 0x60) in pci_puv3_map_irq()
122 else if (dev->devfn == 0x58) in pci_puv3_map_irq()
127 if (dev->devfn == 0x00) in pci_puv3_map_irq()