Searched refs:threshold_high (Results 1 – 2 of 2) sorted by relevance
177 int threshold_high, threshold_low; in set_als_int_threshold() local181 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()
92 int threshold_high, int threshold_low) in em3071x_set_threshold() argument104 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()