Home
last modified time | relevance | path

Searched refs:header_byte (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/input/mouse/
Dcypress_ps2.c420 static int cypress_get_finger_count(unsigned char header_byte) in cypress_get_finger_count() argument
425 bits6_7 = header_byte >> 6; in cypress_get_finger_count()
431 if (header_byte & ABS_HSCROLL_BIT) { in cypress_get_finger_count()
450 unsigned char header_byte = packet[0]; in cypress_parse_packet() local
454 report_data->contact_cnt = cypress_get_finger_count(header_byte); in cypress_parse_packet()
455 report_data->tap = (header_byte & ABS_MULTIFINGER_TAP) ? 1 : 0; in cypress_parse_packet()
481 report_data->left = (header_byte & BTN_LEFT_BIT) ? 1 : 0; in cypress_parse_packet()
482 report_data->right = (header_byte & BTN_RIGHT_BIT) ? 1 : 0; in cypress_parse_packet()