Searched refs:header_byte (Results 1 – 1 of 1) sorted by relevance
417 static int cypress_get_finger_count(unsigned char header_byte) in cypress_get_finger_count() argument422 bits6_7 = header_byte >> 6; in cypress_get_finger_count()428 if (header_byte & ABS_HSCROLL_BIT) { in cypress_get_finger_count()447 unsigned char header_byte = packet[0]; in cypress_parse_packet() local451 report_data->contact_cnt = cypress_get_finger_count(header_byte); in cypress_parse_packet()452 report_data->tap = (header_byte & ABS_MULTIFINGER_TAP) ? 1 : 0; in cypress_parse_packet()478 report_data->left = (header_byte & BTN_LEFT_BIT) ? 1 : 0; in cypress_parse_packet()479 report_data->right = (header_byte & BTN_RIGHT_BIT) ? 1 : 0; in cypress_parse_packet()