Lines Matching defs:adc
530 static u32 stm32_adc_readl(struct stm32_adc *adc, u32 reg) in stm32_adc_readl()
541 static u16 stm32_adc_readw(struct stm32_adc *adc, u32 reg) in stm32_adc_readw()
546 static void stm32_adc_writel(struct stm32_adc *adc, u32 reg, u32 val) in stm32_adc_writel()
551 static void stm32_adc_set_bits(struct stm32_adc *adc, u32 reg, u32 bits) in stm32_adc_set_bits()
560 static void stm32_adc_set_bits_common(struct stm32_adc *adc, u32 reg, u32 bits) in stm32_adc_set_bits_common()
568 static void stm32_adc_clr_bits(struct stm32_adc *adc, u32 reg, u32 bits) in stm32_adc_clr_bits()
577 static void stm32_adc_clr_bits_common(struct stm32_adc *adc, u32 reg, u32 bits) in stm32_adc_clr_bits_common()
589 static void stm32_adc_conv_irq_enable(struct stm32_adc *adc) in stm32_adc_conv_irq_enable()
599 static void stm32_adc_conv_irq_disable(struct stm32_adc *adc) in stm32_adc_conv_irq_disable()
605 static void stm32_adc_ovr_irq_enable(struct stm32_adc *adc) in stm32_adc_ovr_irq_enable()
611 static void stm32_adc_ovr_irq_disable(struct stm32_adc *adc) in stm32_adc_ovr_irq_disable()
617 static void stm32_adc_set_res(struct stm32_adc *adc) in stm32_adc_set_res()
630 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_hw_stop() local
643 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_hw_start() local
668 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_int_ch_enable() local
695 static void stm32_adc_int_ch_disable(struct stm32_adc *adc) in stm32_adc_int_ch_disable()
732 struct stm32_adc *adc = iio_priv(indio_dev); in stm32f4_adc_start_conv() local
752 struct stm32_adc *adc = iio_priv(indio_dev); in stm32f4_adc_stop_conv() local
764 struct stm32_adc *adc = iio_priv(indio_dev); in stm32f4_adc_irq_clear() local
771 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_start_conv() local
792 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_stop_conv() local
809 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_irq_clear() local
816 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_exit_pwr_down() local
844 static void stm32h7_adc_enter_pwr_down(struct stm32_adc *adc) in stm32h7_adc_enter_pwr_down()
854 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_enable() local
877 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_disable() local
900 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_read_selfcalib() local
944 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_restore_selfcalib() local
1017 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_selfcalib() local
1082 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_prepare() local
1126 struct stm32_adc *adc = iio_priv(indio_dev); in stm32h7_adc_unprepare() local
1148 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_conf_scan_seq() local
1199 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_get_trig_extsel() local
1230 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_set_trig() local
1260 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_set_trig_pol() local
1270 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_get_trig_pol() local
1302 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_single_conv() local
1362 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_read_raw() local
1407 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_irq_clear() local
1415 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_threaded_isr() local
1438 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_isr() local
1489 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_set_watermark() local
1508 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_update_scan_mode() local
1555 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_debugfs_reg_access() local
1583 static unsigned int stm32_adc_dma_residue(struct stm32_adc *adc) in stm32_adc_dma_residue()
1611 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_dma_buffer_done() local
1639 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_dma_start() local
1677 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_buffer_postenable() local
1720 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_buffer_predisable() local
1750 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_trigger_handler() local
1780 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_fw_get_resolution() local
1801 static void stm32_adc_smpr_init(struct stm32_adc *adc, int channel, u32 smp_ns) in stm32_adc_smpr_init()
1830 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_chan_init_one() local
1866 static int stm32_adc_get_legacy_chan_count(struct iio_dev *indio_dev, struct stm32_adc *adc) in stm32_adc_get_legacy_chan_count()
1908 struct stm32_adc *adc, in stm32_adc_legacy_chan_init()
1995 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_populate_int_ch() local
2028 struct stm32_adc *adc, in stm32_adc_generic_chan_init()
2115 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_chan_fw_init() local
2184 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_dma_request() local
2234 struct stm32_adc *adc; in stm32_adc_probe() local
2358 struct stm32_adc *adc = iio_priv(indio_dev); in stm32_adc_remove() local