TRIG_BIT_OFFSET 51 drivers/irqchip/irq-csky-mpintc.c #define TRIG_VAL(trigger, irq) (trigger << TRIG_BIT_OFFSET(IRQ_OFFSET(irq))) TRIG_BIT_OFFSET 52 drivers/irqchip/irq-csky-mpintc.c #define TRIG_VAL_MSK(irq) (~(3 << TRIG_BIT_OFFSET(IRQ_OFFSET(irq))))