Lines Matching refs:packet
128 memcpy(param, psmouse->packet, pktsize); in cypress_ps2_read_cmd_status()
453 unsigned char *packet = psmouse->packet; in cypress_parse_packet() local
454 unsigned char header_byte = packet[0]; in cypress_parse_packet()
470 ((packet[1] & 0x70) << 4) | packet[2]; in cypress_parse_packet()
472 ((packet[1] & 0x07) << 8) | packet[3]; in cypress_parse_packet()
474 report_data->contacts[0].z = packet[4]; in cypress_parse_packet()
478 ((packet[1] & 0x70) << 4) | packet[2]; in cypress_parse_packet()
480 ((packet[1] & 0x07) << 8) | packet[3]; in cypress_parse_packet()
482 report_data->contacts[0].z = packet[4]; in cypress_parse_packet()
485 ((packet[5] & 0xf0) << 4) | packet[6]; in cypress_parse_packet()
487 ((packet[5] & 0x0f) << 8) | packet[7]; in cypress_parse_packet()
578 unsigned char *packet = psmouse->packet; in cypress_validate_byte() local
584 if (index == 0 && (packet[0] & 0xfc) == 0) { in cypress_validate_byte()
604 if ((packet[0] & 0x08) == 0x08) in cypress_validate_byte()
607 contact_cnt = cypress_get_finger_count(packet[0]); in cypress_validate_byte()