Home
last modified time | relevance | path

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

/Linux-v6.1/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()
/Linux-v6.1/drivers/media/platform/amphion/
Dvpu_helpers.c145 u32 bitdepth = 8; in get_tiled_8l128_plane_size() local
152 bitdepth = 10; in get_tiled_8l128_plane_size()
153 bytesperline = DIV_ROUND_UP(width * bitdepth, BITS_PER_BYTE); in get_tiled_8l128_plane_size()