intel-irq.h 566 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  4. */
  5. #ifndef _DT_BINDINGS_INTEL_IRQ_H_
  6. #define _DT_BINDINGS_INTEL_IRQ_H_
  7. /* PCI interrupt pin */
  8. #define INTA 1
  9. #define INTB 2
  10. #define INTC 3
  11. #define INTD 4
  12. /* PIRQs */
  13. #define PIRQA 0
  14. #define PIRQB 1
  15. #define PIRQC 2
  16. #define PIRQD 3
  17. #define PIRQE 4
  18. #define PIRQF 5
  19. #define PIRQG 6
  20. #define PIRQH 7
  21. /* PCI bdf encoding */
  22. #ifndef PCI_BDF
  23. #define PCI_BDF(b, d, f) ((b) << 16 | (d) << 11 | (f) << 8)
  24. #endif
  25. #endif /* _DT_BINDINGS_INTEL_IRQ_H_ */