Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/sensors/lsensor/
H A Dcm3218.c177 int threshold_high, threshold_low; in set_als_int_threshold() local
181 threshold_high = als_code * (100 + change_sensitivity) / 100; in set_als_int_threshold()
182 if (threshold_high > 65535) in set_als_int_threshold()
183 threshold_high = 65535; in set_als_int_threshold()
184 status = cm3218_write(client, CM3218_REG_ADDR_ALS_WH, threshold_high); in set_als_int_threshold()
/OK3568_Linux_fs/kernel/drivers/input/sensors/psensor/
H A Dps_em3071x.c92 int threshold_high, int threshold_low) in em3071x_set_threshold() argument
104 result = sensor_write_reg(client, EM3071X_PS_H_REG, threshold_high); in em3071x_set_threshold()
114 __func__, threshold_high, threshold_low); in em3071x_set_threshold()