Lines Matching +full:endpoint +full:- +full:base
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * PCI Endpoint *Controller* (EPC) header file
12 #include <linux/pci-epf.h>
17 UNKNOWN_INTERFACE = -1,
36 * struct pci_epc_map - information about EPC memory for mapping a RC PCI
44 * @phys_base: base physical address of the allocated EPC memory for mapping the
47 * @virt_base: base virtual address of the allocated EPC memory for mapping the
65 * struct pci_epc_ops - set of function pointers for performing EPC operations
78 * @set_msix: ops to set the requested number of MSI-X interrupts in the
79 * MSI-X capability register
80 * @get_msix: ops to get the number of MSI-X interrupts allocated by the RC
81 * from the MSI-X capability register
82 * @raise_irq: ops to raise a legacy, MSI or MSI-X interrupt
122 * struct pci_epc_mem_window - address window of the endpoint controller
123 * @phys_base: physical base address of the PCI address window
134 * struct pci_epc_mem - address space of the endpoint controller
135 * @window: address window of the endpoint controller
149 * struct pci_epc - represents the PCI EPC device
151 * @pci_epf: list of endpoint functions present in this EPC device
153 * @ops: function pointers for performing endpoint operations
154 * @windows: array of address space of the endpoint controller
155 * @mem: first window of the endpoint controller, which corresponds to
156 * default address space of the endpoint controller supporting
165 * @domain_nr: PCI domain number of the endpoint controller
188 * enum pci_epc_bar_type - configurability of endpoint BAR
200 * struct pci_epc_bar_desc - hardware description for a BAR
204 * should be configured as 32-bit or 64-bit, the EPF driver must
205 * configure this BAR as 64-bit. Additionally, the BAR succeeding
209 * (If BARx is a 64-bit BAR that an EPF driver is not allowed to
220 * struct pci_epc_features - features supported by a EPC device per function
222 * @msi_capable: indicate if the endpoint function has MSI capability
223 * @msix_capable: indicate if the endpoint function has MSI-X capability
246 dev_set_drvdata(&epc->dev, data); in epc_set_drvdata()
251 return dev_get_drvdata(&epc->dev); in epc_get_drvdata()
305 int pci_epc_mem_init(struct pci_epc *epc, phys_addr_t base,