Lines Matching full:ch1
71 unsigned int ch1; member
109 s16 ch1; member
152 * The raw ch0 and ch1 values of the ambient light sensed in the last
157 * of ch1 value, to the ch0 value, is calculated. The array als_device_lux[]
159 * above the ratio we just calculated. The ch0 and ch1 multiplier constants in
165 u16 ch0, ch1; /* separated ch0/ch1 data from device */ in tsl2583_get_lux() local
217 ch1 = le16_to_cpup((const __le16 *)&buf[2]); in tsl2583_get_lux()
220 chip->als_cur_info.als_ch1 = ch1; in tsl2583_get_lux()
222 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation)) in tsl2583_get_lux()
237 ratio = (ch1 << 15) / ch0; in tsl2583_get_lux()
252 ch1lux = ((ch1 * p->ch1) + in tsl2583_get_lux()
253 (gainadj[chip->als_settings.als_gain].ch1 >> 1)) in tsl2583_get_lux()
254 / gainadj[chip->als_settings.als_gain].ch1; in tsl2583_get_lux()
539 chip->als_settings.als_device_lux[i].ch1); in in_illuminance_lux_table_show()