Lines Matching refs:exynos_adc
121 struct exynos_adc { struct
163 void (*init_hw)(struct exynos_adc *info); argument
164 void (*exit_hw)(struct exynos_adc *info);
165 void (*clear_irq)(struct exynos_adc *info);
166 void (*start_conv)(struct exynos_adc *info, unsigned long addr);
169 static void exynos_adc_unprepare_clk(struct exynos_adc *info) in exynos_adc_unprepare_clk()
176 static int exynos_adc_prepare_clk(struct exynos_adc *info) in exynos_adc_prepare_clk()
199 static void exynos_adc_disable_clk(struct exynos_adc *info) in exynos_adc_disable_clk()
206 static int exynos_adc_enable_clk(struct exynos_adc *info) in exynos_adc_enable_clk()
229 static void exynos_adc_v1_init_hw(struct exynos_adc *info) in exynos_adc_v1_init_hw()
247 static void exynos_adc_v1_exit_hw(struct exynos_adc *info) in exynos_adc_v1_exit_hw()
259 static void exynos_adc_v1_clear_irq(struct exynos_adc *info) in exynos_adc_v1_clear_irq()
264 static void exynos_adc_v1_start_conv(struct exynos_adc *info, in exynos_adc_v1_start_conv()
310 static void exynos_adc_s3c2416_start_conv(struct exynos_adc *info, in exynos_adc_s3c2416_start_conv()
336 static void exynos_adc_s3c2443_start_conv(struct exynos_adc *info, in exynos_adc_s3c2443_start_conv()
357 static void exynos_adc_s3c64xx_start_conv(struct exynos_adc *info, in exynos_adc_s3c64xx_start_conv()
387 static void exynos_adc_v2_init_hw(struct exynos_adc *info) in exynos_adc_v2_init_hw()
405 static void exynos_adc_v2_exit_hw(struct exynos_adc *info) in exynos_adc_v2_exit_hw()
417 static void exynos_adc_v2_clear_irq(struct exynos_adc *info) in exynos_adc_v2_clear_irq()
422 static void exynos_adc_v2_start_conv(struct exynos_adc *info, in exynos_adc_v2_start_conv()
461 static void exynos_adc_exynos7_init_hw(struct exynos_adc *info) in exynos_adc_exynos7_init_hw()
540 struct exynos_adc *info = iio_priv(indio_dev); in exynos_read_raw()
585 struct exynos_adc *info = iio_priv(indio_dev); in exynos_read_s3c64xx_ts()
621 struct exynos_adc *info = dev_id; in exynos_adc_isr()
651 struct exynos_adc *info = dev_id; in exynos_ts_isr()
686 struct exynos_adc *info = iio_priv(indio_dev); in exynos_adc_reg_access()
735 struct exynos_adc *info = input_get_drvdata(dev); in exynos_adc_ts_open()
745 struct exynos_adc *info = input_get_drvdata(dev); in exynos_adc_ts_close()
751 static int exynos_adc_ts_init(struct exynos_adc *info) in exynos_adc_ts_init()
792 struct exynos_adc *info = NULL; in exynos_adc_probe()
800 indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(struct exynos_adc)); in exynos_adc_probe()
952 struct exynos_adc *info = iio_priv(indio_dev); in exynos_adc_remove()
974 struct exynos_adc *info = iio_priv(indio_dev); in exynos_adc_suspend()
987 struct exynos_adc *info = iio_priv(indio_dev); in exynos_adc_resume()