Lines Matching full:ch1
71 unsigned int ch1;
109 s16 ch1;
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 */
217 ch1 = le16_to_cpup((const __le16 *)&buf[2]);
220 chip->als_cur_info.als_ch1 = ch1;
222 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation))
237 ratio = (ch1 << 15) / ch0;
252 ch1lux = ((ch1 * p->ch1) +
253 (gainadj[chip->als_settings.als_gain].ch1 >> 1))
254 / gainadj[chip->als_settings.als_gain].ch1;
539 chip->als_settings.als_device_lux[i].ch1);