mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 06:56:52 +07:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
30 lines
808 B
C
30 lines
808 B
C
/*
|
|
* contains some Q40 related interrupt definitions
|
|
*/
|
|
|
|
#define Q40_IRQ_MAX (34)
|
|
|
|
#define Q40_IRQ_SAMPLE (34)
|
|
#define Q40_IRQ_KEYBOARD (32)
|
|
#define Q40_IRQ_FRAME (33)
|
|
|
|
|
|
/* masks for interrupt regiosters*/
|
|
/* internal, IIRQ_REG */
|
|
#define Q40_IRQ_KEYB_MASK (2)
|
|
#define Q40_IRQ_SER_MASK (1<<2)
|
|
#define Q40_IRQ_FRAME_MASK (1<<3)
|
|
#define Q40_IRQ_EXT_MASK (1<<4) /* is a EIRQ */
|
|
/* eirq, EIRQ_REG */
|
|
#define Q40_IRQ3_MASK (1)
|
|
#define Q40_IRQ4_MASK (1<<1)
|
|
#define Q40_IRQ5_MASK (1<<2)
|
|
#define Q40_IRQ6_MASK (1<<3)
|
|
#define Q40_IRQ7_MASK (1<<4)
|
|
#define Q40_IRQ10_MASK (1<<5)
|
|
#define Q40_IRQ14_MASK (1<<6)
|
|
#define Q40_IRQ15_MASK (1<<7)
|
|
|
|
extern unsigned long q40_probe_irq_on (void);
|
|
extern int q40_probe_irq_off (unsigned long irqs);
|