intel-irq.h 566 B

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