Searched refs:adc_data (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/iio/adc/ |
H A D | max9611.c | 295 u16 adc_data; in max9611_read_raw() local 304 &adc_data); in max9611_read_raw() 308 *val = MAX9611_TEMP_RAW(adc_data); in max9611_read_raw() 313 &adc_data); in max9611_read_raw() 317 *val = MAX9611_VOLTAGE_RAW(adc_data); in max9611_read_raw() 356 ret = max9611_read_csa_voltage(dev, &adc_data, in max9611_read_raw() 363 adc_data -= csa_gain[CSA_GAIN_OFFS_RAW]; in max9611_read_raw() 364 *val = MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw() 372 ret = max9611_read_csa_voltage(dev, &adc_data, in max9611_read_raw() 379 adc_data -= csa_gain[CSA_GAIN_OFFS_RAW]; in max9611_read_raw() [all …]
|
H A D | bcm_iproc_adc.c | 458 u16 adc_data; in iproc_adc_read_raw() local 463 err = iproc_adc_do_read(indio_dev, chan->channel, &adc_data); in iproc_adc_read_raw() 466 *val = adc_data; in iproc_adc_read_raw()
|
H A D | sun4i-gpadc-iio.c | 94 u32 adc_data; member 246 *val = info->adc_data; in sun4i_gpadc_read() 374 if (!regmap_read(info->regmap, SUN4I_GPADC_DATA, &info->adc_data)) in sun4i_gpadc_fifo_data_irq_handler()
|
/linux/drivers/input/joystick/ |
H A D | adafruit-seesaw.c | 147 __be16 adc_data; in seesaw_read_data() local 161 &adc_data, sizeof(adc_data)); in seesaw_read_data() 168 data->x = SEESAW_JOYSTICK_MAX_AXIS - be16_to_cpu(adc_data); in seesaw_read_data() 173 &adc_data, sizeof(adc_data)); in seesaw_read_data() 177 data->y = be16_to_cpu(adc_data); in seesaw_read_data()
|
/linux/drivers/comedi/drivers/ |
H A D | s626.c | 2270 u16 adc_data; in s626_initialize() 2295 adc_data = data[0]; in s626_initialize() 2296 if (adc_data != start_val) in s626_initialize()
|