Searched refs:ISL29035_ADC_DATA_BITS (Results 1 – 3 of 3) sorted by relevance
92 #define ISL29035_ADC_DATA_BITS (16 - 4 * ISL29035_ADC_RES_IDX) macro93 #define ISL29035_ADC_DATA_MASK (0xFFFF >> (16 - ISL29035_ADC_DATA_BITS))
56 val->val1 = tmp >> ISL29035_ADC_DATA_BITS; in isl29035_channel_get()58 val->val2 = tmp >> ISL29035_ADC_DATA_BITS; in isl29035_channel_get()
50 raw_val = (((uint64_t)val->val1) << ISL29035_ADC_DATA_BITS) + in isl29035_lux_processed_to_raw()51 (((uint64_t)val->val2) << ISL29035_ADC_DATA_BITS) / 1000000U; in isl29035_lux_processed_to_raw()