Searched refs:epf (Results 1 - 20 of 20) sorted by relevance

/linux-master/drivers/pci/endpoint/functions/
H A DMakefile6 obj-$(CONFIG_PCI_EPF_TEST) += pci-epf-test.o
7 obj-$(CONFIG_PCI_EPF_NTB) += pci-epf-ntb.o
8 obj-$(CONFIG_PCI_EPF_VNTB) += pci-epf-vntb.o
9 obj-$(CONFIG_PCI_EPF_MHI) += pci-epf-mhi.o
H A Dpci-epf-test.c19 #include <linux/pci-epf.h>
51 struct pci_epf *epf; member in struct:pci_epf_test
128 struct pci_epf *epf = epf_test->epf; local
131 struct device *dev = &epf->dev;
217 struct pci_epf *epf = epf_test->epf; local
218 struct device *dev = &epf->dev;
224 filter.dev = epf->epc->dev.parent;
311 dev_info(&epf_test->epf
326 struct pci_epf *epf = epf_test->epf; local
421 struct pci_epf *epf = epf_test->epf; local
505 struct pci_epf *epf = epf_test->epf; local
590 struct pci_epf *epf = epf_test->epf; local
638 struct pci_epf *epf = epf_test->epf; local
689 pci_epf_test_unbind(struct pci_epf *epf) argument
710 pci_epf_test_set_bar(struct pci_epf *epf) argument
749 pci_epf_test_core_init(struct pci_epf *epf) argument
801 pci_epf_test_link_up(struct pci_epf *epf) argument
816 pci_epf_test_alloc_space(struct pci_epf *epf) argument
873 pci_epf_configure_bar(struct pci_epf *epf, const struct pci_epc_features *epc_features) argument
886 pci_epf_test_bind(struct pci_epf *epf) argument
944 pci_epf_test_probe(struct pci_epf *epf, const struct pci_epf_device_id *id) argument
[all...]
H A Dpci-epf-vntb.c9 * Based on pci-epf-ntb.c
45 #include <linux/pci-epf.h>
120 struct pci_epf *epf; member in struct:epf_ntb
213 func_no = ntb->epf->func_no;
214 vfunc_no = ntb->epf->vfunc_no;
216 ret = pci_epc_map_addr(ntb->epf->epc, func_no, vfunc_no, phys_addr, addr, size);
218 dev_err(&ntb->epf->epc->dev,
233 pci_epc_unmap_addr(ntb->epf->epc,
234 ntb->epf->func_no,
235 ntb->epf
416 struct pci_epf *epf = ntb->epf; local
735 struct pci_epf *epf; local
963 epf_ntb_add_cfs(struct pci_epf *epf, struct config_group *group) argument
1300 epf_ntb_bind(struct pci_epf *epf) argument
1360 epf_ntb_unbind(struct pci_epf *epf) argument
1388 epf_ntb_probe(struct pci_epf *epf, const struct pci_epf_device_id *id) argument
[all...]
H A Dpci-epf-mhi.c15 #include <linux/pci-epf.h>
146 struct pci_epf *epf; member in struct:pci_epf_mhi
170 struct pci_epf *epf = epf_mhi->epf; local
171 struct pci_epc *epc = epf->epc;
178 ret = pci_epc_map_addr(epc, epf->func_no, epf->vfunc_no, *paddr,
208 struct pci_epf *epf = epf_mhi->epf; local
209 struct pci_epc *epc = epf
230 struct pci_epf *epf = epf_mhi->epf; local
719 pci_epf_mhi_core_init(struct pci_epf *epf) argument
759 pci_epf_mhi_link_up(struct pci_epf *epf) argument
806 pci_epf_mhi_link_down(struct pci_epf *epf) argument
822 pci_epf_mhi_bme(struct pci_epf *epf) argument
847 pci_epf_mhi_bind(struct pci_epf *epf) argument
875 pci_epf_mhi_unbind(struct pci_epf *epf) argument
906 pci_epf_mhi_probe(struct pci_epf *epf, const struct pci_epf_device_id *id) argument
[all...]
H A Dpci-epf-ntb.c43 #include <linux/pci-epf.h>
80 struct pci_epf *epf; member in struct:epf_ntb
645 dev = &ntb->epf->dev;
791 dev = &ntb->epf->dev;
906 dev = &ntb->epf->dev;
953 struct pci_epf *epf; local
955 epf = ntb->epf;
960 pci_epf_free_space(epf, ntb_epc->reg, barno, type);
1003 struct pci_epf *epf; local
1510 struct pci_epf *epf; local
1554 struct pci_epf *epf; local
1602 struct pci_epf *epf; local
1723 struct pci_epf *epf; local
1865 epf_ntb_bind(struct pci_epf *epf) argument
1924 epf_ntb_unbind(struct pci_epf *epf) argument
2063 epf_ntb_add_cfs(struct pci_epf *epf, struct config_group *group) argument
2083 epf_ntb_probe(struct pci_epf *epf, const struct pci_epf_device_id *id) argument
[all...]
/linux-master/drivers/pci/endpoint/
H A Dpci-epf-core.c15 #include <linux/pci-epf.h>
26 * @epf: the EPF device which has lost the binding with the EPC device
31 void pci_epf_unbind(struct pci_epf *epf) argument
35 if (!epf->driver) {
36 dev_WARN(&epf->dev, "epf device not bound to driver\n");
40 mutex_lock(&epf->lock);
41 list_for_each_entry(epf_vf, &epf->pci_vepf, list) {
45 if (epf->is_bound)
46 epf
59 pci_epf_bind(struct pci_epf *epf) argument
219 pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar, enum pci_epc_interface_type type) argument
259 pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar, const struct pci_epc_features *epc_features, enum pci_epc_interface_type type) argument
406 pci_epf_destroy(struct pci_epf *epf) argument
423 struct pci_epf *epf; local
466 struct pci_epf *epf = to_pci_epf(dev); local
477 pci_epf_match_id(const struct pci_epf_device_id *id, const struct pci_epf *epf) argument
490 struct pci_epf *epf = to_pci_epf(dev); local
501 struct pci_epf *epf = to_pci_epf(dev); local
514 struct pci_epf *epf = to_pci_epf(dev); local
[all...]
H A Dpci-ep-cfs.c14 #include <linux/pci-epf.h>
28 struct pci_epf *epf; member in struct:pci_epf_group
55 struct pci_epf *epf = epf_group->epf; local
57 ret = pci_epc_add_epf(epc, epf, SECONDARY_INTERFACE);
61 ret = pci_epf_bind(epf);
63 pci_epc_remove_epf(epc, epf, SECONDARY_INTERFACE);
76 struct pci_epf *epf; local
81 epf = epf_group->epf;
116 struct pci_epf *epf = epf_group->epf; local
137 struct pci_epf *epf; local
221 struct pci_epf *epf = epf_group->epf; local
240 struct pci_epf *epf; local
531 pci_epf_type_add_cfs(struct pci_epf *epf, struct config_group *group) argument
593 struct pci_epf *epf; local
[all...]
H A Dpci-epc-core.c14 #include <linux/pci-epf.h>
586 * @epf: the endpoint function to be added
594 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf, argument
601 if (IS_ERR_OR_NULL(epc) || epf->is_vf)
604 if (type == PRIMARY_INTERFACE && epf->epc)
607 if (type == SECONDARY_INTERFACE && epf->sec_epc)
626 epf->func_no = func_no;
627 epf->epc = epc;
628 list = &epf->list;
630 epf
652 pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf, enum pci_epc_interface_type type) argument
687 struct pci_epf *epf; local
713 struct pci_epf *epf; local
739 struct pci_epf *epf; local
765 struct pci_epf *epf; local
[all...]
H A DMakefile7 obj-$(CONFIG_PCI_ENDPOINT) += pci-epc-core.o pci-epf-core.o\
/linux-master/drivers/ntb/hw/
H A DMakefile5 obj-$(CONFIG_NTB_EPF) += epf/
/linux-master/include/linux/
H A Dpci-epf.h65 int (*bind)(struct pci_epf *epf);
66 void (*unbind)(struct pci_epf *epf);
67 struct config_group *(*add_cfs)(struct pci_epf *epf,
79 int (*core_init)(struct pci_epf *epf);
80 int (*link_up)(struct pci_epf *epf);
81 int (*link_down)(struct pci_epf *epf);
82 int (*bme)(struct pci_epf *epf);
97 int (*probe)(struct pci_epf *epf,
99 void (*remove)(struct pci_epf *epf);
204 static inline void epf_set_drvdata(struct pci_epf *epf, voi argument
209 epf_get_drvdata(struct pci_epf *epf) argument
[all...]
H A Dpci-epc.h12 #include <linux/pci-epf.h>
223 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf,
229 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf,
/linux-master/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c81 struct cdns_pcie_epf *epf = &ep->epf[fn]; local
145 epf = &epf->epf[vfn - 1];
146 epf->epf_bar[bar] = epf_bar;
155 struct cdns_pcie_epf *epf = &ep->epf[fn]; local
180 epf = &epf
491 struct cdns_pcie_epf *epf; local
568 int ret, epf, last_fn; local
658 struct cdns_pcie_epf *epf; local
[all...]
H A Dpcie-cadence.h11 #include <linux/pci-epf.h>
342 * @epf: Info about virtual functions attached to the physical function
346 struct cdns_pcie_epf *epf; member in struct:cdns_pcie_epf
369 * @epf: Structure to hold info about endpoint function
385 struct cdns_pcie_epf *epf; member in struct:cdns_pcie_ep
/linux-master/drivers/pci/controller/
H A Dpcie-rockchip-ep.c17 #include <linux/pci-epf.h>
428 struct pci_epf *epf; local
432 list_for_each_entry(epf, &epc->pci_epf, list)
433 cfg |= BIT(epf->func_no);
/linux-master/drivers/dma/dw-edma/
H A Ddw-edma-pcie.c14 #include <linux/pci-epf.h>
/linux-master/drivers/misc/
H A Ddw-xdata-pcie.c11 #include <linux/pci-epf.h>
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-designware.h26 #include <linux/pci-epf.h>
H A Dpcie-designware-ep.c16 #include <linux/pci-epf.h>
/linux-master/drivers/perf/hisilicon/
H A Dhns3_pmu.c24 #include <linux/pci-epf.h>

Completed in 169 milliseconds