Lines Matching full:resolution
58 u8 resolution; member
62 [ID_AD7949] = { .num_channels = 8, .resolution = 14 },
63 [ID_AD7682] = { .num_channels = 4, .resolution = 16 },
64 [ID_AD7689] = { .num_channels = 8, .resolution = 16 },
74 * @resolution: resolution of the chip
86 u8 resolution; member
170 *val >>= 16 - ad7949_adc->resolution; in ad7949_spi_read_channel()
179 *val >>= 16 - ad7949_adc->resolution; in ad7949_spi_read_channel()
248 *val2 = (1 << ad7949_adc->resolution) - 1; in ad7949_spi_read_raw()
337 ad7949_adc->resolution = spec->resolution; in ad7949_spi_probe()
340 if (spi_ctrl_mask & SPI_BPW_MASK(ad7949_adc->resolution)) { in ad7949_spi_probe()
341 spi->bits_per_word = ad7949_adc->resolution; in ad7949_spi_probe()