Lines Matching refs:adc12138
35 adc12138, enumerator
38 struct adc12138 { struct
128 static int adc12138_mode_programming(struct adc12138 *adc, u8 mode, in adc12138_mode_programming()
139 if (adc->id != adc12138) in adc12138_mode_programming()
153 static int adc12138_read_status(struct adc12138 *adc) in adc12138_read_status()
166 static int __adc12138_start_conv(struct adc12138 *adc, in __adc12138_start_conv()
178 static int adc12138_start_conv(struct adc12138 *adc, in adc12138_start_conv()
186 static int adc12138_start_and_read_conv(struct adc12138 *adc, in adc12138_start_and_read_conv()
193 static int adc12138_read_conv_data(struct adc12138 *adc, __be16 *value) in adc12138_read_conv_data()
200 static int adc12138_wait_eoc(struct adc12138 *adc, unsigned long timeout) in adc12138_wait_eoc()
208 static int adc12138_adc_conversion(struct adc12138 *adc, in adc12138_adc_conversion()
231 struct adc12138 *adc = iio_priv(iio); in adc12138_read_raw()
287 static int adc12138_init(struct adc12138 *adc) in adc12138_init()
339 struct adc12138 *adc = iio_priv(indio_dev); in adc12138_trigger_handler()
393 struct adc12138 *adc = iio_priv(indio_dev); in adc12138_eoc_handler()
403 struct adc12138 *adc; in adc12138_probe()
426 case adc12138: in adc12138_probe()
509 struct adc12138 *adc = iio_priv(indio_dev); in adc12138_remove()
530 { "adc12138", adc12138 },