Lines Matching +full:msi +full:- +full:controller
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * PCI Endpoint *Controller* (EPC) header file
12 #include <linux/pci-epf.h>
24 * struct pci_epc_ops - set of function pointers for performing EPC operations
30 * @set_msi: ops to set the requested number of MSI interrupts in the MSI
32 * @get_msi: ops to get the number of MSI interrupts allocated by the RC from
33 * the MSI capability register
34 * @set_msix: ops to set the requested number of MSI-X interrupts in the
35 * MSI-X capability register
36 * @get_msix: ops to get the number of MSI-X interrupts allocated by the RC
37 * from the MSI-X capability register
38 * @raise_irq: ops to raise a legacy, MSI or MSI-X interrupt
69 * struct pci_epc_mem_window - address window of the endpoint controller
81 * struct pci_epc_mem - address space of the endpoint controller
82 * @window: address window of the endpoint controller
96 * struct pci_epc - represents the PCI EPC device
100 * @windows: array of address space of the endpoint controller
101 * @mem: first window of the endpoint controller, which corresponds to
102 * default address space of the endpoint controller supporting
120 /* mutex to protect against concurrent access of EP controller */
127 * struct pci_epc_features - features supported by a EPC device per function
129 * @msi_capable: indicate if the endpoint function has MSI capability
130 * @msix_capable: indicate if the endpoint function has MSI-X capability
156 dev_set_drvdata(&epc->dev, data); in epc_set_drvdata()
161 return dev_get_drvdata(&epc->dev); in epc_get_drvdata()
167 return atomic_notifier_chain_register(&epc->notifier, nb); in pci_epc_register_notifier()