Lines Matching defs:devfn
651 PCI_FUNC(pdev->devfn);
1003 * @devfn: The Linux representation of PCI slot
1009 static u32 devfn_to_wslot(int devfn)
1014 wslot.bits.dev = PCI_SLOT(devfn);
1015 wslot.bits.func = PCI_FUNC(devfn);
1287 * @devfn: Device/function
1295 static int hv_pcifront_read_config(struct pci_bus *bus, unsigned int devfn,
1302 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(devfn));
1315 * @devfn: Device/function
1323 static int hv_pcifront_write_config(struct pci_bus *bus, unsigned int devfn,
1330 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(devfn));
1450 read_blk->wslot.slot = devfn_to_wslot(pdev->devfn);
1530 write_blk->wslot.slot = devfn_to_wslot(pdev->devfn);
1582 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn));
1647 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn));
1869 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn));
2370 hv_dev = get_pcichild_wslot(hbus, devfn_to_wslot(dev->devfn));