Lines Matching refs:ch0
70 unsigned int ch0; member
108 s16 ch0; member
165 u16 ch0, ch1; /* separated ch0/ch1 data from device */ in tsl2583_get_lux() local
216 ch0 = le16_to_cpup((const __le16 *)&buf[0]); in tsl2583_get_lux()
219 chip->als_cur_info.als_ch0 = ch0; in tsl2583_get_lux()
222 if ((ch0 >= chip->als_saturation) || (ch1 >= chip->als_saturation)) in tsl2583_get_lux()
225 if (!ch0) { in tsl2583_get_lux()
237 ratio = (ch1 << 15) / ch0; in tsl2583_get_lux()
249 ch0lux = ((ch0 * p->ch0) + in tsl2583_get_lux()
250 (gainadj[chip->als_settings.als_gain].ch0 >> 1)) in tsl2583_get_lux()
251 / gainadj[chip->als_settings.als_gain].ch0; in tsl2583_get_lux()
538 chip->als_settings.als_device_lux[i].ch0, in in_illuminance_lux_table_show()