Home
last modified time | relevance | path

Searched refs:bitdepth (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/misc/
Disl29003.c158 int lsb, msb, range, bitdepth; in isl29003_get_adc_value() local
175 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()