Searched full:ads1018 (Results 1 – 2 of 2) sorted by relevance
3 * Texas Instruments ADS1018 ADC driver86 struct ads1018 { struct207 * @ads1018: Device data218 static int ads1018_spi_read_exclusive(struct ads1018 *ads1018, __be16 *cnv, in ads1018_spi_read_exclusive() argument223 ads1018->xfer.cs_change = hold_cs; in ads1018_spi_read_exclusive()225 ret = spi_sync_locked(ads1018->spi, &ads1018->msg_read); in ads1018_spi_read_exclusive()230 *cnv = ads1018->rx_buf[0]; in ads1018_spi_read_exclusive()237 * @ads1018: Device data248 static int ads1018_single_shot(struct ads1018 *ads1018, in ads1018_single_shot() argument251 u8 max_drate_mode = ads1018->chip_info->num_data_rate_mode_to_hz - 1; in ads1018_single_shot()[all …]
26584 TI ADS1018 ADC DRIVER26588 F: Documentation/devicetree/bindings/iio/adc/ti,ads1018.yaml26589 F: drivers/iio/adc/ti-ads1018.c