Searched refs:als_inf (Results 1 – 2 of 2) sorted by relevance
147 struct tcs3400_als_info als_inf; member328 ir_data = (tcs3400_chip.als_inf.red + tcs3400_chip.als_inf.green + in tcs3400_read_als_data()329 tcs3400_chip.als_inf.blue - tcs3400_chip.als_inf.clear + 1) / in tcs3400_read_als_data()369 tcs3400_chip.als_inf.sat = sat; in tcs3400_cal_cpl()516 rp1 = (tcs3400_chip.als_inf.red); in tcs3400_get_lux_cct()517 gp1 = (tcs3400_chip.als_inf.green); in tcs3400_get_lux_cct()518 bp1 = (tcs3400_chip.als_inf.blue); in tcs3400_get_lux_cct()519 cp1 = (tcs3400_chip.als_inf.clear); in tcs3400_get_lux_cct()520 ir = (tcs3400_chip.als_inf.ir_data); in tcs3400_get_lux_cct()521 CPL = (tcs3400_chip.als_inf.cpl); in tcs3400_get_lux_cct()[all …]
235 struct tmd2725_als_inf als_inf; member466 tmd2725_chip.als_inf.CPL = cpl; in tmd2725_als_cal_cpl()467 tmd2725_chip.als_inf.sat = sat; in tmd2725_als_cal_cpl()570 ch0 = tmd2725_chip.als_inf.als_ch0; in tmd2725_get_lux()571 ch1 = tmd2725_chip.als_inf.als_ch1; in tmd2725_get_lux()574 lux1 = ((tmd2725_chip.als_inf.lux1_ch0_coef * ch0) - in tmd2725_get_lux()575 (tmd2725_chip.als_inf.lux1_ch1_coef * ch1)) / in tmd2725_get_lux()576 tmd2725_chip.als_inf.CPL; in tmd2725_get_lux()577 lux2 = ((tmd2725_chip.als_inf.lux2_ch0_coef * ch0) - in tmd2725_get_lux()579 tmd2725_chip.als_inf.CPL; in tmd2725_get_lux()[all …]
Completed in 7 milliseconds