Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/mouse/
H A Delan_i2c_core.c925 unsigned int pressure, scaled_pressure; in elan_report_contact() local
945 scaled_pressure = pressure + data->pressure_adjustment; in elan_report_contact()
946 if (scaled_pressure > ETP_MAX_PRESSURE) in elan_report_contact()
947 scaled_pressure = ETP_MAX_PRESSURE; in elan_report_contact()
953 input_report_abs(input, ABS_MT_PRESSURE, scaled_pressure); in elan_report_contact()