Lines Matching refs:data

91  * struct stm32_adc_calib - optional adc calibration data
118 * @dr: data register offset
147 * struct stm32_adc_cfg - stm32 compatible configuration data
175 * struct stm32_adc - private data of each ADC IIO instance
176 * @common: reference to ADC block common data
178 * @cfg: compatible configuration data
180 * @buffer: data buffer
184 * @bufi: data buffer index
186 * @res: data resolution (e.g. RES bitfield value)
195 * @cal: optional calibration data on some devices
228 * struct stm32_adc_info - stm32 ADC, per instance config data
771 /* Poll: wait calib data to be ready in CALFACT2 register */
816 * Write saved calibration data to shadow registers:
818 * data write. Then poll to wait for complete transfer.
832 * Read back calibration data, has two effects:
835 * - BTW, bit clear triggers a read, then check data has been
933 * Restore calibration data.
1262 static irqreturn_t stm32_adc_threaded_isr(int irq, void *data)
1264 struct iio_dev *indio_dev = data;
1285 static irqreturn_t stm32_adc_isr(int irq, void *data)
1287 struct iio_dev *indio_dev = data;
1294 * Overrun occurred on regular conversions: data for wrong
1296 * to stop processing data and print error message.
1462 static void stm32_adc_dma_buffer_done(void *data)
1464 struct iio_dev *indio_dev = data;
1859 /* Configure DMA channel to read data register */
1900 of_match_device(dev->driver->of_match_table, dev)->data;
2112 { .compatible = "st,stm32f4-adc", .data = (void *)&stm32f4_adc_cfg },
2113 { .compatible = "st,stm32h7-adc", .data = (void *)&stm32h7_adc_cfg },
2114 { .compatible = "st,stm32mp1-adc", .data = (void *)&stm32mp1_adc_cfg },