Searched refs:threshold_hi (Results 1 – 1 of 1) sorted by relevance
318 u16 threshold_hi, u16 threshold_lo) in bh1770_lux_update_thresholds() argument332 if (threshold_hi != BH1770_LUX_RANGE && threshold_hi != 0) in bh1770_lux_update_thresholds()333 threshold_hi = bh1770_lux_adjusted_to_raw(chip, threshold_hi); in bh1770_lux_update_thresholds()338 if (chip->lux_thres_hi_onchip == threshold_hi && in bh1770_lux_update_thresholds()342 chip->lux_thres_hi_onchip = threshold_hi; in bh1770_lux_update_thresholds()345 data[0] = threshold_hi; in bh1770_lux_update_thresholds()346 data[1] = threshold_hi >> 8; in bh1770_lux_update_thresholds()