We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127c66c commit 06eea7dCopy full SHA for 06eea7d
drivers/pci/endpoint/pci-epc-mem.c
@@ -115,6 +115,16 @@ int pci_epc_multi_mem_init(struct pci_epc *epc,
115
}
116
EXPORT_SYMBOL_GPL(pci_epc_multi_mem_init);
117
118
+/**
119
+ * pci_epc_mem_init() - Initialize the pci_epc_mem structure
120
+ * @epc: the EPC device that invoked pci_epc_mem_init
121
+ * @base: Physical address of the window region
122
+ * @size: Total Size of the window region
123
+ * @page_size: Page size of the window region
124
+ *
125
+ * Invoke to initialize a single pci_epc_mem structure used by the
126
+ * endpoint functions to allocate memory for mapping the PCI host memory
127
+ */
128
int pci_epc_mem_init(struct pci_epc *epc, phys_addr_t base,
129
size_t size, size_t page_size)
130
{
0 commit comments