Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/mouse/
H A Dcypress_ps2.c417 static int cypress_get_finger_count(unsigned char header_byte) in cypress_get_finger_count() argument
422 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() local
451 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()
/openbmc/qemu/crypto/
H A Dder.c89 uint8_t length_bytes = 0, header_byte; in qcrypto_der_encode_length() local
92 header_byte = src_len; in qcrypto_der_encode_length()
98 header_byte = length_bytes; in qcrypto_der_encode_length()
99 header_byte |= QCRYPTO_DER_SHORT_LEN_MASK; in qcrypto_der_encode_length()
105 *dst++ = header_byte; in qcrypto_der_encode_length()