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