Lines Matching refs:trig
150 static int atpic_config_intr(struct intsrc *isrc, enum intr_trigger trig,
346 atpic_config_intr(struct intsrc *isrc, enum intr_trigger trig, in atpic_config_intr() argument
353 if (trig == INTR_TRIGGER_CONFORM) in atpic_config_intr()
354 trig = INTR_TRIGGER_EDGE; in atpic_config_intr()
358 if ((trig == INTR_TRIGGER_EDGE && pol == INTR_POLARITY_LOW) || in atpic_config_intr()
359 (trig == INTR_TRIGGER_LEVEL && pol == INTR_POLARITY_HIGH)) { in atpic_config_intr()
362 vector, trig == INTR_TRIGGER_EDGE ? "edge" : "level", in atpic_config_intr()
368 if (ai->at_trigger == trig) in atpic_config_intr()
377 trig == INTR_TRIGGER_LEVEL) { in atpic_config_intr()
387 vector, trig == INTR_TRIGGER_EDGE ? "edge/high" : in atpic_config_intr()
393 trig == INTR_TRIGGER_EDGE ? "edge/high" : "level/low"); in atpic_config_intr()
395 elcr_write_trigger(atpic_vector(isrc), trig); in atpic_config_intr()
396 ai->at_trigger = trig; in atpic_config_intr()