Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dhid-playstation.c700 static bool ps_check_crc32(uint8_t seed, uint8_t *data, size_t len, uint32_t report_crc) in ps_check_crc32() argument
707 return crc == report_crc; in ps_check_crc32()
773 uint32_t report_crc = get_unaligned_le32(&buf[crc_offset]); in ps_get_report() local
775 if (!ps_check_crc32(PS_FEATURE_CRC32_SEED, buf, crc_offset, report_crc)) { in ps_get_report()
1339 uint32_t report_crc = get_unaligned_le32(&data[size - 4]); in dualsense_parse_report() local
1341 if (!ps_check_crc32(PS_INPUT_CRC32_SEED, data, size - 4, report_crc)) { in dualsense_parse_report()
2247 uint32_t report_crc = get_unaligned_le32(&bt->crc32); in dualshock4_parse_report() local
2250 if (!ps_check_crc32(PS_INPUT_CRC32_SEED, data, size - 4, report_crc)) { in dualshock4_parse_report()