Searched refs:lux_data (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/iio/light/ |
D | isl29018.c | 194 int lux_data; in isl29018_read_lux() local 197 lux_data = isl29018_read_sensor_input(chip, in isl29018_read_lux() 199 if (lux_data < 0) in isl29018_read_lux() 200 return lux_data; in isl29018_read_lux() 202 data_x_range = lux_data * chip->scale.scale + in isl29018_read_lux() 203 lux_data * chip->scale.uscale / 1000000; in isl29018_read_lux()
|
D | rohm-bu27008.c | 1093 static u64 bu27008_calc_nlux(struct bu27008_data *data, __le16 *lux_data, in bu27008_calc_nlux() argument 1100 ir = NORM_CHAN_DATA_FOR_LX_CALC(lux_data[BU27008_LUX_DATA_IR], gain_ir, time); in bu27008_calc_nlux() 1101 red = NORM_CHAN_DATA_FOR_LX_CALC(lux_data[BU27008_LUX_DATA_RED], gain, time); in bu27008_calc_nlux() 1102 green = NORM_CHAN_DATA_FOR_LX_CALC(lux_data[BU27008_LUX_DATA_GREEN], gain, time); in bu27008_calc_nlux() 1103 blue = NORM_CHAN_DATA_FOR_LX_CALC(lux_data[BU27008_LUX_DATA_BLUE], gain, time); in bu27008_calc_nlux() 1167 __le16 lux_data[BU27008_NUM_HW_CHANS]; in bu27008_read_lux() local 1176 ret = bu27008_read_lux_chans(data, time, lux_data); in bu27008_read_lux() 1180 nlux = bu27008_calc_nlux(data, lux_data, gain, gain_ir, time); in bu27008_read_lux()
|