Lines Matching defs:active
441 u8 time_enabled; /* the total time the led is active (0xff means forever) */
1105 bool active;
1110 active = !(rd[offset] >> 7);
1112 input_mt_report_slot_state(sc->touchpad, MT_TOOL_FINGER, active);
1114 if (active) {
1129 u8 active;
1135 * Bit 2 is set when a touch is active and the drag (Fn) key is pressed.
1137 * touch point is active.
1138 * Bit 4 is set when only the first touch point is active.
1139 * Bit 6 is set when only the second touch point is active.
1140 * Bits 5 and 7 are set when both touch points are active.
1152 active = (rd[offset] >> 4);
1166 input_mt_report_slot_state(sc->touchpad, MT_TOOL_FINGER, active & 0x03);
1168 if (active & 0x03) {
1183 * when the first is not active.
1185 if ((n == 0) || ((n == 1) && (active & 0x01))) {
1192 active >>= 2;
2668 * Interrupt EP and the device only becomes active when the