Home
last modified time | relevance | path

Searched refs:tiadc_device (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dti_am335x_adc.c41 struct tiadc_device { struct
54 static unsigned int tiadc_readl(struct tiadc_device *adc, unsigned int reg) in tiadc_readl() argument
59 static void tiadc_writel(struct tiadc_device *adc, unsigned int reg, in tiadc_writel()
65 static u32 get_adc_step_mask(struct tiadc_device *adc_dev) in get_adc_step_mask()
74 static u32 get_adc_chan_step_mask(struct tiadc_device *adc_dev, in get_adc_chan_step_mask()
92 static u32 get_adc_step_bit(struct tiadc_device *adc_dev, int chan) in get_adc_step_bit()
97 static int tiadc_wait_idle(struct tiadc_device *adc_dev) in tiadc_wait_idle()
108 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_step_config()
152 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_irq_h()
194 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_worker_h()
[all …]