Lines Matching full:vrefint
102 { "vrefint", STM32_ADC_INT_CH_VREFINT },
144 * @vrefint_cal: vrefint calibration value from nvmem
145 * @vrefint_data: vrefint actual value
167 * @ccr_vref: common register & vrefint bitfield
201 * @ts_vrefint_ns: vrefint minimum sampling time in ns
240 * @vrefint: internal reference voltage data
267 struct stm32_adc_vrefint vrefint; member
682 dev_dbg(&indio_dev->dev, "Enable VREFInt\n"); in stm32_adc_int_ch_enable()
1377 *val = STM32_ADC_VREFINT_VOLTAGE * adc->vrefint.vrefint_cal / *val; in stm32_adc_read_raw()
1808 * For vrefint channel, ensure that the sampling time cannot in stm32_adc_smpr_init()
1996 u16 vrefint; in stm32_adc_populate_int_ch() local
2006 /* Get calibration data for vrefint channel */ in stm32_adc_populate_int_ch()
2007 ret = nvmem_cell_read_u16(&indio_dev->dev, "vrefint", &vrefint); in stm32_adc_populate_int_ch()
2013 dev_dbg(&indio_dev->dev, "vrefint calibration not found. Skip vrefint channel\n"); in stm32_adc_populate_int_ch()
2015 } else if (!vrefint) { in stm32_adc_populate_int_ch()
2016 dev_dbg(&indio_dev->dev, "Null vrefint calibration value. Skip vrefint channel\n"); in stm32_adc_populate_int_ch()
2020 adc->vrefint.vrefint_cal = vrefint; in stm32_adc_populate_int_ch()