Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dhid-playstation.c218 __le32 sensor_timestamp; member
432 __le16 sensor_timestamp; member
1323 uint32_t sensor_timestamp; in dualsense_parse_report() local
1417 sensor_timestamp = le32_to_cpu(ds_report->sensor_timestamp); in dualsense_parse_report()
1419 ds->sensor_timestamp_us = DIV_ROUND_CLOSEST(sensor_timestamp, 3); in dualsense_parse_report()
1424 if (ds->prev_sensor_timestamp > sensor_timestamp) in dualsense_parse_report()
1425 delta = (U32_MAX - ds->prev_sensor_timestamp + sensor_timestamp + 1); in dualsense_parse_report()
1427 delta = sensor_timestamp - ds->prev_sensor_timestamp; in dualsense_parse_report()
1430 ds->prev_sensor_timestamp = sensor_timestamp; in dualsense_parse_report()
2228 uint16_t sensor_timestamp; in dualshock4_parse_report() local
[all …]