Searched refs:vf_index (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/platforms/pseries/ |
D | pci.c | 90 static void pseries_set_pe_num(struct pci_dev *pdev, u16 vf_index, __be16 pe_num) in pseries_set_pe_num() argument 95 pdn->pe_num_map[vf_index] = be16_to_cpu(pe_num); in pseries_set_pe_num() 99 PCI_SLOT(pci_iov_virtfn_devfn(pdev, vf_index)), in pseries_set_pe_num() 100 PCI_FUNC(pci_iov_virtfn_devfn(pdev, vf_index)), in pseries_set_pe_num() 101 pdn->pe_num_map[vf_index]); in pseries_set_pe_num() 107 int i, rc, vf_index; in pseries_associate_pes() local 118 for (vf_index = 0; vf_index < num_vfs; vf_index++) { in pseries_associate_pes() 119 pdn->pe_num_map[vf_index] = IODA_INVALID_PE; in pseries_associate_pes() 126 vf_pe_array[vf_index].bar = in pseries_associate_pes() 127 cpu_to_be64(res->start + size * vf_index); in pseries_associate_pes() [all …]
|
D | eeh_pseries.c | 722 int cur_vfs = 0, rc = 0, vf_index, bus, devfn, vf_pe_num; in pseries_call_allow_unfreeze() local 734 for (vf_index = 0; vf_index < cur_vfs; vf_index++) in pseries_call_allow_unfreeze() 735 vf_pe_array[vf_index] = in pseries_call_allow_unfreeze() 736 cpu_to_be16(pdn->pe_num_map[vf_index]); in pseries_call_allow_unfreeze() 740 for (vf_index = 0; vf_index < cur_vfs; vf_index++) { in pseries_call_allow_unfreeze() 745 vf_index); in pseries_call_allow_unfreeze() 747 vf_index); in pseries_call_allow_unfreeze() 758 vf_pe_num = physfn_pdn->pe_num_map[edev->vf_index]; in pseries_call_allow_unfreeze()
|
/arch/powerpc/platforms/powernv/ |
D | pci-sriov.c | 625 u16 vf_index; in pnv_ioda_setup_vf_PE() local 637 for (vf_index = 0; vf_index < num_vfs; vf_index++) { in pnv_ioda_setup_vf_PE() 638 int vf_devfn = pci_iov_virtfn_devfn(pdev, vf_index); in pnv_ioda_setup_vf_PE() 639 int vf_bus = pci_iov_virtfn_bus(pdev, vf_index); in pnv_ioda_setup_vf_PE() 642 pe = &iov->vf_pe_arr[vf_index]; in pnv_ioda_setup_vf_PE()
|
/arch/powerpc/kernel/ |
D | eeh_driver.c | 480 pci_iov_add_virtfn(edev->physfn, edev->vf_index); in eeh_add_virt_device() 524 pci_iov_remove_virtfn(edev->physfn, edev->vf_index); in eeh_rmv_device()
|
D | pci_dn.c | 211 edev->vf_index = i; in add_sriov_vf_pdns()
|
/arch/powerpc/include/asm/ |
D | eeh.h | 151 int vf_index; /* Index of this VF */ member
|