Home
last modified time | relevance | path

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

/drivers/input/misc/
Dad714x.c703 int percent_sensor_diff; in touchpad_check_endpoint() local
706 percent_sensor_diff = (ad714x->sensor_val[hw->x_start_stage] - in touchpad_check_endpoint()
710 if (percent_sensor_diff >= LEFT_END_POINT_DETECTION_LEVEL) { in touchpad_check_endpoint()
716 if ((percent_sensor_diff < LEFT_END_POINT_DETECTION_LEVEL) && in touchpad_check_endpoint()
723 percent_sensor_diff = (ad714x->sensor_val[hw->x_end_stage] - in touchpad_check_endpoint()
727 if (percent_sensor_diff >= RIGHT_END_POINT_DETECTION_LEVEL) { in touchpad_check_endpoint()
733 if ((percent_sensor_diff < RIGHT_END_POINT_DETECTION_LEVEL) && in touchpad_check_endpoint()
740 percent_sensor_diff = (ad714x->sensor_val[hw->y_start_stage] - in touchpad_check_endpoint()
744 if (percent_sensor_diff >= TOP_END_POINT_DETECTION_LEVEL) { in touchpad_check_endpoint()
750 if ((percent_sensor_diff < TOP_END_POINT_DETECTION_LEVEL) && in touchpad_check_endpoint()
[all …]