Lines Matching defs:devfn
612 * @devfn: The Linux representation of PCI slot
618 static u32 devfn_to_wslot(int devfn)
623 wslot.bits.dev = PCI_SLOT(devfn);
624 wslot.bits.func = PCI_FUNC(devfn);
795 * @devfn: Device/function
803 static int hv_pcifront_read_config(struct pci_bus *bus, unsigned int devfn,
810 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(devfn));
823 * @devfn: Device/function
831 static int hv_pcifront_write_config(struct pci_bus *bus, unsigned int devfn,
838 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(devfn));
958 read_blk->wslot.slot = devfn_to_wslot(pdev->devfn);
1038 write_blk->wslot.slot = devfn_to_wslot(pdev->devfn);
1090 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn));
1155 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn));
1249 PCI_FUNC(pdev->devfn);
1435 hpdev = get_pcichild_wslot(hbus, devfn_to_wslot(pdev->devfn));
1895 hv_dev = get_pcichild_wslot(hbus, devfn_to_wslot(dev->devfn));