Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/input/
H A Dadc_key.c14 int t, down_threshold = -1, up_threshold; in adc_key_ofdata_to_platdata() local
53 else if (t < voltage && t > down_threshold) in adc_key_ofdata_to_platdata()
54 down_threshold = t; in adc_key_ofdata_to_platdata()
60 down_threshold = voltage - volt_margin; in adc_key_ofdata_to_platdata()
71 if (down_threshold < 0) in adc_key_ofdata_to_platdata()
74 uc_key->min = down_threshold + (voltage - down_threshold) / 2; in adc_key_ofdata_to_platdata()
H A Dspl_adc_key.c37 int t, down_threshold = -1, up_threshold; in key_read() local
107 else if (t < voltage && t > down_threshold) in key_read()
108 down_threshold = t; in key_read()
114 down_threshold = voltage - volt_margin; in key_read()
122 if (down_threshold < 0) in key_read()
125 min = down_threshold + (voltage - down_threshold) / 2; in key_read()