Lines Matching full:sense
55 static int sense = -1; /* -1 = auto, 0 = active high, 1 = active low */ variable
342 sense != -1) { in serial_ir_irq_handler()
349 * sense could be inverted. in serial_ir_irq_handler()
358 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
366 if (!(dcd ^ sense)) { in serial_ir_irq_handler()
370 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
376 sense = sense ? 0 : 1; in serial_ir_irq_handler()
381 frbwrite(data, !(dcd ^ sense)); in serial_ir_irq_handler()
571 if (sense == -1) { in serial_ir_probe()
588 sense = nlow >= nhigh ? 1 : 0; in serial_ir_probe()
590 sense ? "low" : "high"); in serial_ir_probe()
593 sense ? "low" : "high"); in serial_ir_probe()
791 /* make sure sense is either -1, 0, or 1 */ in serial_ir_init_module()
792 if (sense != -1) in serial_ir_init_module()
793 sense = !!sense; in serial_ir_init_module()
835 module_param(sense, int, 0444);
836 MODULE_PARM_DESC(sense, "Override autodetection of IR receiver circuit (0 = active high, 1 = active…
840 MODULE_PARM_DESC(txsense, "Sense of transmitter circuit (0 = active high, 1 = active low )");