| /linux/drivers/pci/endpoint/ |
| A D | pci-epf-core.c | 39 if (!epf->driver) { in pci_epf_type_add_cfs() 48 epf_type_group = epf->driver->ops->add_cfs(epf, group); in pci_epf_type_add_cfs() 77 if (epf->is_bound) in pci_epf_unbind() 78 epf->driver->ops->unbind(epf); in pci_epf_unbind() 117 epc = epf->epc; in pci_epf_bind() 161 ret = epf->driver->ops->bind(epf); in pci_epf_bind() 447 epf = kzalloc(sizeof(*epf), GFP_KERNEL); in pci_epf_create() 448 if (!epf) in pci_epf_create() 454 kfree(epf); in pci_epf_create() 480 return epf; in pci_epf_create() [all …]
|
| A D | pci-ep-cfs.c | 54 struct pci_epf *epf = epf_group->epf; in pci_secondary_epc_epf_link() local 80 epf = epf_group->epf; in pci_secondary_epc_epf_unlink() 115 struct pci_epf *epf = epf_group->epf; in pci_primary_epc_epf_link() local 141 epf = epf_group->epf; in pci_primary_epc_epf_unlink() 217 struct pci_epf *epf = epf_group->epf; in pci_epc_epf_link() local 243 epf = epf_group->epf; in pci_epc_epf_unlink() 319 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 330 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 344 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ 358 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ [all …]
|
| A D | pci-epc-core.c | 632 epf->func_no = func_no; in pci_epc_add_epf() 633 epf->epc = epc; in pci_epc_add_epf() 634 list = &epf->list; in pci_epc_add_epf() 636 epf->sec_epc_func_no = func_no; in pci_epc_add_epf() 637 epf->sec_epc = epc; in pci_epc_add_epf() 638 list = &epf->sec_epc_list; in pci_epc_add_epf() 664 if (!epc || IS_ERR(epc) || !epf) in pci_epc_remove_epf() 668 func_no = epf->func_no; in pci_epc_remove_epf() 669 list = &epf->list; in pci_epc_remove_epf() 672 list = &epf->sec_epc_list; in pci_epc_remove_epf() [all …]
|
| A D | built-in.a | 5 pci-epf-core.o/
|
| A D | Makefile | 7 obj-$(CONFIG_PCI_ENDPOINT) += pci-epc-core.o pci-epf-core.o\
|
| A D | .built-in.a.cmd | 1 …/pci-ep-cfs.o drivers/pci/endpoint/pci-epc-core.o drivers/pci/endpoint/pci-epf-core.o drivers/pci/…
|
| A D | .pci-epf-core.o.cmd | 1 …epf-core.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin… 3 source_drivers/pci/endpoint/pci-epf-core.o := drivers/pci/endpoint/pci-epf-core.c 5 deps_drivers/pci/endpoint/pci-epf-core.o := \ 1034 include/linux/pci-epf.h \ 1105 drivers/pci/endpoint/pci-epf-core.o: $(deps_drivers/pci/endpoint/pci-epf-core.o) 1107 $(deps_drivers/pci/endpoint/pci-epf-core.o):
|
| A D | .pci-ep-cfs.o.cmd | 893 include/linux/pci-epf.h \
|
| /linux/drivers/pci/endpoint/functions/ |
| A D | pci-epf-test.c | 112 struct pci_epf *epf = epf_test->epf; in pci_epf_test_data_transfer() local 159 struct pci_epf *epf = epf_test->epf; in pci_epf_test_init_dma_chan() local 236 struct pci_epf *epf = epf_test->epf; in pci_epf_test_copy() local 319 struct pci_epf *epf = epf_test->epf; in pci_epf_test_read() local 407 struct pci_epf *epf = epf_test->epf; in pci_epf_test_write() local 494 struct pci_epf *epf = epf_test->epf; in pci_epf_test_raise_irq() local 504 pci_epc_raise_irq(epc, epf->func_no, epf->vfunc_no, in pci_epf_test_raise_irq() 508 pci_epc_raise_irq(epc, epf->func_no, epf->vfunc_no, in pci_epf_test_raise_irq() 512 pci_epc_raise_irq(epc, epf->func_no, epf->vfunc_no, in pci_epf_test_raise_irq() 528 struct pci_epf *epf = epf_test->epf; in pci_epf_test_cmd_handler() local [all …]
|
| A D | pci-epf-ntb.c | 80 struct pci_epf *epf; member 955 epf = ntb->epf; in epf_ntb_config_spad_bar_free() 1009 epf = ntb->epf; in epf_ntb_config_spad_bar_alloc() 1010 dev = &epf->dev; in epf_ntb_config_spad_bar_alloc() 1515 epf = ntb->epf; in epf_ntb_epc_destroy_interface() 1563 epf = ntb->epf; in epf_ntb_epc_create_interface() 1606 epf = ntb->epf; in epf_ntb_epc_create() 1607 dev = &epf->dev; in epf_ntb_epc_create() 1728 epf = ntb->epf; in epf_ntb_epc_init_interface() 1729 dev = &epf->dev; in epf_ntb_epc_init_interface() [all …]
|
| A D | Makefile | 6 obj-$(CONFIG_PCI_EPF_TEST) += pci-epf-test.o 7 obj-$(CONFIG_PCI_EPF_NTB) += pci-epf-ntb.o
|
| /linux/include/linux/ |
| A D | pci-epf.h | 69 int (*bind)(struct pci_epf *epf); 70 void (*unbind)(struct pci_epf *epf); 71 struct config_group *(*add_cfs)(struct pci_epf *epf, 87 int (*probe)(struct pci_epf *epf); 88 void (*remove)(struct pci_epf *epf); 193 dev_set_drvdata(&epf->dev, data); in epf_set_drvdata() 196 static inline void *epf_get_drvdata(struct pci_epf *epf) in epf_get_drvdata() argument 198 return dev_get_drvdata(&epf->dev); in epf_get_drvdata() 202 void pci_epf_destroy(struct pci_epf *epf); 210 int pci_epf_bind(struct pci_epf *epf); [all …]
|
| A D | pci-epc.h | 209 int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf, 213 void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf,
|
| /linux/drivers/pci/controller/cadence/ |
| A D | pcie-cadence-ep.c | 80 struct cdns_pcie_epf *epf = &ep->epf[fn]; in cdns_pcie_ep_set_bar() local 144 epf = &epf->epf[vfn - 1]; in cdns_pcie_ep_set_bar() 154 struct cdns_pcie_epf *epf = &ep->epf[fn]; in cdns_pcie_ep_clear_bar() local 179 epf = &epf->epf[vfn - 1]; in cdns_pcie_ep_clear_bar() 497 epf = &ep->epf[fn]; in cdns_pcie_ep_send_msix_irq() 499 epf = &epf->epf[vfn - 1]; in cdns_pcie_ep_send_msix_irq() 675 ep->epf = devm_kcalloc(dev, epc->max_functions, sizeof(*ep->epf), in cdns_pcie_ep_setup() 677 if (!ep->epf) in cdns_pcie_ep_setup() 689 epf = &ep->epf[i]; in cdns_pcie_ep_setup() 692 epf->epf = devm_kcalloc(dev, epc->max_vfs[i], in cdns_pcie_ep_setup() [all …]
|
| A D | pcie-cadence.h | 335 struct cdns_pcie_epf *epf; member 373 struct cdns_pcie_epf *epf; member
|
| /linux/Documentation/PCI/endpoint/ |
| A D | pci-ntb-howto.rst | 9 This document is a guide to help users use pci-epf-ntb function driver 40 # ls /sys/bus/pci-epf/drivers 49 Creating pci-epf-ntb Device 53 pci-epf-ntb device, the following commands can be used:: 59 The "mkdir func1" above creates the pci-epf-ntb function device that will 66 baseclass_code deviceid msi_interrupts pci-epf-ntb.0 72 when the device is bound to the driver. The pci-epf-ntb driver populates 81 Configuring pci-epf-ntb Device 111 Binding pci-epf-ntb Device to EP Controller 120 # ln -s controllers/2900000.pcie-ep/ functions/pci-epf-ntb/func1/primary [all …]
|
| A D | pci-test-howto.rst | 9 This document is a guide to help users use pci-epf-test function driver 35 # ls /sys/bus/pci-epf/drivers 44 Creating pci-epf-test Device 48 pci-epf-test device, the following commands can be used:: 54 The "mkdir func1" above creates the pci-epf-test function device that will 66 when the device is bound to the driver. The pci-epf-test driver populates 75 Configuring pci-epf-test Device 78 The user can configure the pci-epf-test device using configfs entry. In order 88 Binding pci-epf-test Device to EP Controller
|
| /linux/drivers/ntb/hw/ |
| A D | Makefile | 5 obj-$(CONFIG_NTB_EPF) += epf/
|
| A D | Kconfig | 5 source "drivers/ntb/hw/epf/Kconfig"
|
| /linux/drivers/pci/controller/ |
| A D | pcie-rockchip-ep.c | 494 struct pci_epf *epf; in rockchip_pcie_ep_start() local 498 list_for_each_entry(epf, &epc->pci_epf, list) in rockchip_pcie_ep_start() 499 cfg |= BIT(epf->func_no); in rockchip_pcie_ep_start()
|
| /linux/drivers/pci/ |
| A D | built-in.a | 43 endpoint/pci-epf-core.o/
|
| /linux/drivers/pci/controller/dwc/ |
| A D | .pci-layerscape.o.cmd | 1147 include/linux/pci-epf.h \
|
| A D | .pcie-designware-host.o.cmd | 1132 include/linux/pci-epf.h \
|
| A D | .pcie-designware.o.cmd | 1138 include/linux/pci-epf.h \
|
| A D | .pcie-visconti.o.cmd | 1163 include/linux/pci-epf.h \
|