Lines Matching defs:mode
62 unsigned char mode;
107 if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode)))
117 int mode;
122 case IRQF_TRIGGER_RISING: mode = TXx9_IRCR_UP; break;
123 case IRQF_TRIGGER_FALLING: mode = TXx9_IRCR_DOWN; break;
124 case IRQF_TRIGGER_HIGH: mode = TXx9_IRCR_HIGH; break;
125 case IRQF_TRIGGER_LOW: mode = TXx9_IRCR_LOW; break;
133 cr |= (mode & 0x3) << ofs;
135 txx9irq[irq_nr].mode = mode;
155 txx9irq[i].mode = TXx9_IRCR_LOW;
164 /* setup IRC interrupt mode (Low Active) */