vis_data 66 drivers/iio/light/ltr501.c #define LTR501_LUX_CONV(vis_coeff, vis_data, ir_coeff, ir_data) \ vis_data 67 drivers/iio/light/ltr501.c ((vis_coeff * vis_data) - (ir_coeff * ir_data)) vis_data 302 drivers/iio/light/ltr501.c static unsigned long ltr501_calculate_lux(u16 vis_data, u16 ir_data) vis_data 306 drivers/iio/light/ltr501.c if (vis_data == 0) vis_data 310 drivers/iio/light/ltr501.c ratio = DIV_ROUND_UP(ir_data * 100, ir_data + vis_data); vis_data 313 drivers/iio/light/ltr501.c lux = LTR501_LUX_CONV(1774, vis_data, -1105, ir_data); vis_data 315 drivers/iio/light/ltr501.c lux = LTR501_LUX_CONV(3772, vis_data, 1336, ir_data); vis_data 317 drivers/iio/light/ltr501.c lux = LTR501_LUX_CONV(1690, vis_data, 169, ir_data);