Lines Matching refs:packet
137 u8 *packet = psmouse->packet; in lifebook_process_byte() local
138 bool relative_packet = packet[0] & 0x08; in lifebook_process_byte()
146 return (packet[0] & 0xf8) == 0x00 ? in lifebook_process_byte()
151 return ((packet[2] & 0x30) << 2) == (packet[2] & 0xc0) ? in lifebook_process_byte()
154 return (packet[3] & 0xf8) == 0xc0 ? in lifebook_process_byte()
157 return (packet[4] & 0xc0) == (packet[2] & 0xc0) ? in lifebook_process_byte()
160 if (((packet[5] & 0x30) << 2) != (packet[5] & 0xc0)) in lifebook_process_byte()
162 if ((packet[5] & 0xc0) != (packet[1] & 0xc0)) in lifebook_process_byte()
175 ((packet[1] & 0x3f) << 6) | (packet[2] & 0x3f)); in lifebook_process_byte()
177 4096 - (((packet[4] & 0x3f) << 6) | (packet[5] & 0x3f))); in lifebook_process_byte()
180 (packet[1] | ((packet[0] & 0x30) << 4))); in lifebook_process_byte()
182 1024 - (packet[2] | ((packet[0] & 0xC0) << 2))); in lifebook_process_byte()
184 input_report_key(dev1, BTN_TOUCH, packet[0] & 0x04); in lifebook_process_byte()
190 psmouse_report_standard_motion(dev2, packet); in lifebook_process_byte()
192 psmouse_report_standard_buttons(dev2, packet[0]); in lifebook_process_byte()