Lines Matching refs:devfn
173 static int dino_cfg_read(struct pci_bus *bus, unsigned int devfn, int where, in dino_cfg_read() argument
178 u32 v = DINO_CFG_TOK(local_bus, devfn, where & ~3); in dino_cfg_read()
182 DBG("%s: %p, %d, %d, %d\n", __func__, base_addr, devfn, where, in dino_cfg_read()
208 static int dino_cfg_write(struct pci_bus *bus, unsigned int devfn, int where, in dino_cfg_write() argument
213 u32 v = DINO_CFG_TOK(local_bus, devfn, where & ~3); in dino_cfg_write()
217 DBG("%s: %p, %d, %d, %d\n", __func__, base_addr, devfn, where, in dino_cfg_write()
522 dino_cfg_write(dev->bus, dev->devfn, in dino_card_fixup()
534 dino_cfg_read(dev->bus, dev->devfn, PCI_INTERRUPT_PIN, 1, &irq_pin); in dino_card_fixup()
540 dino_cfg_write(dev->bus, dev->devfn, PCI_INTERRUPT_LINE, 1, dev->irq); in dino_card_fixup()
623 dino_cfg_read(dev->bus, dev->devfn, in dino_fixup_bus()
628 dino_cfg_write(dev->bus, dev->devfn, in dino_fixup_bus()