Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / linux / irqdomain_defs.h
blob36653e2ee1c92faec97d68892a4d7a0c07b9f2f4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_IRQDOMAIN_DEFS_H
3 #define _LINUX_IRQDOMAIN_DEFS_H
5 /*
6 * Should several domains have the same device node, but serve
7 * different purposes (for example one domain is for PCI/MSI, and the
8 * other for wired IRQs), they can be distinguished using a
9 * bus-specific token. Most domains are expected to only carry
10 * DOMAIN_BUS_ANY.
12 enum irq_domain_bus_token {
13 DOMAIN_BUS_ANY = 0,
14 DOMAIN_BUS_WIRED,
15 DOMAIN_BUS_GENERIC_MSI,
16 DOMAIN_BUS_PCI_MSI,
17 DOMAIN_BUS_PLATFORM_MSI,
18 DOMAIN_BUS_NEXUS,
19 DOMAIN_BUS_IPI,
20 DOMAIN_BUS_FSL_MC_MSI,
21 DOMAIN_BUS_TI_SCI_INTA_MSI,
22 DOMAIN_BUS_WAKEUP,
23 DOMAIN_BUS_VMD_MSI,
24 DOMAIN_BUS_PCI_DEVICE_MSI,
25 DOMAIN_BUS_PCI_DEVICE_MSIX,
26 DOMAIN_BUS_DMAR,
27 DOMAIN_BUS_AMDVI,
28 DOMAIN_BUS_DEVICE_MSI,
29 DOMAIN_BUS_WIRED_TO_MSI,
32 #endif /* _LINUX_IRQDOMAIN_DEFS_H */