Searched refs:bitdepth (Results 1 – 1 of 1) sorted by relevance
158 int lsb, msb, range, bitdepth; in isl29003_get_adc_value() local175 bitdepth = (4 - isl29003_get_resolution(client)) * 4; in isl29003_get_adc_value()176 return (((msb << 8) | lsb) * gain_range[range]) >> bitdepth; in isl29003_get_adc_value()