Lines Matching refs:tiadc_device
33 struct tiadc_device { struct
42 static unsigned int tiadc_readl(struct tiadc_device *adc, unsigned int reg) in tiadc_readl() argument
47 static void tiadc_writel(struct tiadc_device *adc, unsigned int reg, in tiadc_writel()
53 static u32 get_adc_step_mask(struct tiadc_device *adc_dev) in get_adc_step_mask()
62 static u32 get_adc_chan_step_mask(struct tiadc_device *adc_dev, in get_adc_chan_step_mask()
80 static u32 get_adc_step_bit(struct tiadc_device *adc_dev, int chan) in get_adc_step_bit()
87 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_step_config()
124 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_irq_h()
164 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_worker_h()
185 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_buffer_preenable()
202 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_buffer_postenable()
224 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_buffer_predisable()
295 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_iio_buffered_hardware_remove()
316 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_channel_init()
355 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_read_raw()
423 struct tiadc_device *adc_dev; in tiadc_probe()
437 sizeof(struct tiadc_device)); in tiadc_probe()
492 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_remove()
509 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_suspend()
527 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_resume()