Searched refs:PCI_DEVFN (Results 1 – 4 of 4) sorted by relevance
485 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro513 return (PCI_DEVFN(slot, func)); in wslot_to_devfn()1685 devfn = PCI_DEVFN(pci_get_slot(child), in vmbus_pcib_alloc_resource()1744 unsigned int devfn = PCI_DEVFN(slot, func); in vmbus_pcib_read_config()1764 unsigned int devfn = PCI_DEVFN(slot, func); in vmbus_pcib_write_config()1868 devfn = PCI_DEVFN(pci_get_slot(child), pci_get_function(child)); in vmbus_pcib_map_msi()
94 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
317 pdev->devfn = PCI_DEVFN(pci_get_slot(dev), pci_get_function(dev)); in lkpifill_pci_dev()
2107 softc->dev_fn = PCI_DEVFN(softc->slot, softc->function); in bnxt_attach_pre()