Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/
H A Dbh1770glc.c100 #define BH1770_LUX_RANGE 65535 macro
290 return min(lux, (u32)BH1770_LUX_RANGE); in bh1770_lux_raw_to_adjusted()
315 if (threshold_hi != BH1770_LUX_RANGE && threshold_hi != 0) in bh1770_lux_update_thresholds()
318 if (threshold_lo != BH1770_LUX_RANGE && threshold_lo != 0) in bh1770_lux_update_thresholds()
407 chip->lux_thres_hi_onchip = BH1770_LUX_RANGE; in bh1770_chip_on()
704 return sprintf(buf, "%d\n", BH1770_LUX_RANGE); in bh1770_lux_range_show()
1056 if (thresh > BH1770_LUX_RANGE) in bh1770_set_lux_thresh()