PCI_FUNC
dev = pci_find_dbsf(domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn));
dev = pci_find_bsf(pbus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
int tmp_func_num, func_num = PCI_FUNC(pdev_in->devfn);
tmp_func_num = PCI_FUNC(tmp_rdev->en_dev->pdev->devfn);
fid = PCI_FUNC(rdev->en_dev->pdev->devfn);
if (PCI_FUNC(pdev->devfn) == 0)
wslot.bits.func = PCI_FUNC(devfn);
0, PCI_SLOT(devfn), PCI_FUNC(devfn));
return PCI_SLOT(pdev->devfn) * 8 + PCI_FUNC(pdev->devfn);
pdev->vendor, pdev->device, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)) \