Lines Matching +full:memory +full:- +full:controller
1 .. SPDX-License-Identifier: GPL-2.0
6 endpoint controller driver, endpoint function driver, and using configfs
7 interface to bind the function driver to the controller driver.
14 assign memory resources and IRQ resources, load PCI driver (based on
15 vendor ID, device ID), support other services like hot-plug, power management,
18 However the PCI controller IP integrated in some SoCs is capable of operating
22 validation, co-processor accelerator, etc.
27 The PCI Endpoint Core layer comprises 3 components: the Endpoint Controller
29 endpoint function with the endpoint controller.
31 PCI Endpoint Controller(EPC) Library
32 ------------------------------------
34 The EPC library provides APIs to be used by the controller that can operate
38 APIs for the PCI controller Driver
42 by the PCI controller driver.
46 The PCI controller driver should implement the following ops:
51 * alloc_addr_space: ops to allocate in PCI controller address space
53 * raise_irq: ops to raise a legacy, MSI or MSI-X interrupt
57 The PCI controller driver can then create a new EPC device by invoking
62 The PCI controller driver can destroy the EPC device created by either
69 they are linked has established a link with the host, the PCI controller
90 write the standard configuration header to the endpoint controller.
107 Legacy Interrupt, MSI or MSI-X Interrupt.
112 allocate memory address from EPC addr space which is required to access
118 free the memory space allocated using pci_epc_mem_alloc_addr().
123 PCI address the CPU address of local memory obtained with
129 CPU address of local memory mapped to a RC address with pci_epc_map_addr().
133 A PCI endpoint controller may impose constraints on the RC PCI addresses that
135 drivers to allocate and map controller memory while handling such
136 constraints. This function will determine the size of the memory that must be
140 well as the offset into the allocated memory to use for accessing the mapped
146 controller memory that was allocated and mapped using pci_epc_mem_map().
153 the EPF device with EPC device. pci-ep-cfs.c can be used as reference for
158 Get a reference to the PCI endpoint controller based on the device name of
159 the controller.
163 Release the reference to the PCI endpoint controller obtained using
168 Add a PCI endpoint function to a PCI endpoint controller. A PCIe device
173 Remove the PCI endpoint function from PCI endpoint controller.
187 ----------------------------------
225 APIs for the PCI Endpoint Controller Library
229 by the PCI endpoint controller library.
233 The PCI endpoint controller library invokes pci_epf_linkup() when the
241 pci-ep-cfs.c can be used as reference for using these APIs.