Searched refs:ch_scale (Results 1 – 1 of 1) sorted by relevance
98 uint32_t ch_scale; member194 channel0 = (data->ch0 * data->ch_scale) >> TSL2561_CH_SCALE; in tsl2561_channel_get()195 channel1 = (data->ch1 * data->ch_scale) >> TSL2561_CH_SCALE; in tsl2561_channel_get()276 data->ch_scale = TSL2561_CHSCALE_TINT0; in tsl2561_sensor_setup()280 data->ch_scale = TSL2561_CHSCALE_TINT1; in tsl2561_sensor_setup()284 data->ch_scale = (1 << TSL2561_CH_SCALE); in tsl2561_sensor_setup()296 data->ch_scale = data->ch_scale << 4; in tsl2561_sensor_setup()