Searched defs:adc_dev (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/iio/adc/ |
H A D | ti_am335x_adc.c | 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() local 152 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_irq_h() local 194 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_worker_h() local 216 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_dma_rx_complete() local 232 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_start_dma() local 278 struct tiadc_device *adc_dev = iio_priv(indio_dev); in tiadc_buffer_preenable() local [all …]
|
H A D | cc10001_adc.c | 66 static inline void cc10001_adc_write_reg(struct cc10001_adc_device *adc_dev, in cc10001_adc_write_reg() 72 static inline u32 cc10001_adc_read_reg(struct cc10001_adc_device *adc_dev, in cc10001_adc_read_reg() 78 static void cc10001_adc_power_up(struct cc10001_adc_device *adc_dev) in cc10001_adc_power_up() 84 static void cc10001_adc_power_down(struct cc10001_adc_device *adc_dev) in cc10001_adc_power_down() 90 static void cc10001_adc_start(struct cc10001_adc_device *adc_dev, in cc10001_adc_start() 109 struct cc10001_adc_device *adc_dev = iio_priv(indio_dev); in cc10001_adc_poll_done() local 136 struct cc10001_adc_device *adc_dev; in cc10001_adc_trigger_h() local 191 struct cc10001_adc_device *adc_dev = iio_priv(indio_dev); in cc10001_adc_read_raw_voltage() local 215 struct cc10001_adc_device *adc_dev = iio_priv(indio_dev); in cc10001_adc_read_raw() local 247 struct cc10001_adc_device *adc_dev = iio_priv(indio_dev); in cc10001_update_scan_mode() local [all …]
|
H A D | mt6577_auxadc.c | 116 struct mt6577_auxadc_device *adc_dev = iio_priv(indio_dev); in mt6577_auxadc_read() local 190 struct mt6577_auxadc_device *adc_dev = iio_priv(indio_dev); in mt6577_auxadc_read_raw() local 221 struct mt6577_auxadc_device *adc_dev = iio_priv(indio_dev); in mt6577_auxadc_resume() local 240 struct mt6577_auxadc_device *adc_dev = iio_priv(indio_dev); in mt6577_auxadc_suspend() local 251 struct mt6577_auxadc_device *adc_dev = data; in mt6577_power_off() local 259 struct mt6577_auxadc_device *adc_dev; in mt6577_auxadc_probe() local
|
H A D | mt6359-auxadc.c | 305 static void mt6358_stop_imp_conv(struct mt6359_auxadc *adc_dev) in mt6358_stop_imp_conv() 316 static int mt6358_start_imp_conv(struct mt6359_auxadc *adc_dev) in mt6358_start_imp_conv() 337 static int mt6358_read_imp(struct mt6359_auxadc *adc_dev, int *vbat, int *ibat) in mt6358_read_imp() 362 static int mt6359_read_imp(struct mt6359_auxadc *adc_dev, int *vbat, int *ibat) in mt6359_read_imp() 429 static void mt6359_auxadc_reset(struct mt6359_auxadc *adc_dev) in mt6359_auxadc_reset() 449 static int mt6359_auxadc_read_adc(struct mt6359_auxadc *adc_dev, in mt6359_auxadc_read_adc() 490 struct mt6359_auxadc *adc_dev = iio_priv(indio_dev); in mt6359_auxadc_read_raw() local 548 struct mt6359_auxadc *adc_dev; in mt6359_auxadc_probe() local
|