Lines Matching defs:byte
100 #define ALPS_PS2_INTERLEAVED 0x80 /* 3-byte PS/2 packet interleaved with
101 6-byte ALPS packet */
108 * XXX This entry is suspicious. First byte has zero lower nibble,
765 * Bit 6 of byte 0 is not usually set in position packets. The only
811 * having 0x3f in the last byte. This value has never been
812 * observed in the last byte of either of the other types
897 * v4 has a 6-byte encoding for bitmap data, but this data is
951 static unsigned char alps_get_packet_id_v7(char *byte)
955 if (byte[4] & 0x40)
957 else if (byte[4] & 0x01)
959 else if ((byte[0] & 0x10) && !(byte[4] & 0x43))
961 else if (byte[1] == 0x00 && byte[4] == 0x00)
1148 static enum SS4_PACKET_ID alps_get_pkt_id_ss4_v2(unsigned char *byte)
1152 switch (byte[3] & 0x30) {
1154 if (SS4_IS_IDLE_V2(byte)) {
1508 * 6-byte packet in the stream. Timer needs to fire
1548 * There is also possibility that we got 6-byte ALPS
1549 * packet followed by 3-byte packet from trackpoint. We
1615 * Can not distinguish V8's first byte from PS/2 packet's
1655 * with closed lid, quite often smash last byte of
2069 /* Enter passthrough mode to let trackpoint enter 6byte raw mode */
2428 * This sequence changes the output from a 9-byte to an
2429 * 8-byte format. All the same data seems to be present,
2891 * The bits 0-2 of the first byte will be 1s if some buttons are