Searched refs:header_byte (Results 1 – 1 of 1) sorted by relevance
378 static int cypress_get_finger_count(u8 header_byte) in cypress_get_finger_count() argument383 bits6_7 = header_byte >> 6; in cypress_get_finger_count()389 if (header_byte & ABS_HSCROLL_BIT) { in cypress_get_finger_count()409 u8 header_byte = packet[0]; in cypress_parse_packet() local413 report_data->contact_cnt = cypress_get_finger_count(header_byte); in cypress_parse_packet()414 report_data->tap = (header_byte & ABS_MULTIFINGER_TAP) ? 1 : 0; in cypress_parse_packet()440 report_data->left = (header_byte & BTN_LEFT_BIT) ? 1 : 0; in cypress_parse_packet()441 report_data->right = (header_byte & BTN_RIGHT_BIT) ? 1 : 0; in cypress_parse_packet()