Lines Matching full:sense
56 static int sense = -1; /* -1 = auto, 0 = active high, 1 = active low */ variable
343 sense != -1) { in serial_ir_irq_handler()
350 * sense could be inverted. in serial_ir_irq_handler()
359 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
367 if (!(dcd ^ sense)) { in serial_ir_irq_handler()
371 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
377 sense = sense ? 0 : 1; in serial_ir_irq_handler()
382 frbwrite(data, !(dcd ^ sense)); in serial_ir_irq_handler()
572 if (sense == -1) { in serial_ir_probe()
589 sense = nlow >= nhigh ? 1 : 0; in serial_ir_probe()
591 sense ? "low" : "high"); in serial_ir_probe()
594 sense ? "low" : "high"); in serial_ir_probe()
792 /* make sure sense is either -1, 0, or 1 */ in serial_ir_init_module()
793 if (sense != -1) in serial_ir_init_module()
794 sense = !!sense; in serial_ir_init_module()
836 module_param(sense, int, 0444);
837 MODULE_PARM_DESC(sense, "Override autodetection of IR receiver circuit (0 = active high, 1 = active…
841 MODULE_PARM_DESC(txsense, "Sense of transmitter circuit (0 = active high, 1 = active low )");