Searched refs:bitdepth (Results 1 – 2 of 2) 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()
145 u32 bitdepth = 8; in get_tiled_8l128_plane_size() local152 bitdepth = 10; in get_tiled_8l128_plane_size()153 bytesperline = DIV_ROUND_UP(width * bitdepth, BITS_PER_BYTE); in get_tiled_8l128_plane_size()