Searched refs:epf_pf (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/pci/endpoint/
H A Dpci-epf-core.c147 * @epf_pf: the physical EP function to which the virtual EP function should be
155 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf) argument
159 if (IS_ERR_OR_NULL(epf_pf) || IS_ERR_OR_NULL(epf_vf))
162 if (epf_pf->epc || epf_vf->epc || epf_vf->epf_pf)
165 if (epf_pf->sec_epc || epf_vf->sec_epc)
168 mutex_lock(&epf_pf->lock);
169 vfunc_no = find_first_zero_bit(&epf_pf->vfunction_num_map,
172 mutex_unlock(&epf_pf->lock);
176 set_bit(vfunc_no, &epf_pf
198 pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf) argument
[all...]
H A Dpci-ep-cfs.c475 struct pci_epf *epf_pf = epf_pf_group->epf; local
478 return pci_epf_add_vepf(epf_pf, epf_vf);
486 struct pci_epf *epf_pf = epf_pf_group->epf; local
489 pci_epf_remove_vepf(epf_pf, epf_vf);
/linux-master/include/linux/
H A Dpci-epf.h138 * @epf_pf: the physical EPF device to which this virtual EPF device is bound
166 struct pci_epf *epf_pf; member in struct:pci_epf
226 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);
227 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);

Completed in 113 milliseconds