/* arch/arm/plat-samsung/include/plat/adc.h * * Copyright (c) 2008 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * S3C ADC driver information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __ASM_PLAT_ADC_H #define __ASM_PLAT_ADC_H __FILE__ struct s3c_adc_client; struct platform_device; extern int s3c_adc_start(struct s3c_adc_client *client, unsigned int channel, unsigned int nr_samples); extern int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch); extern struct s3c_adc_client * s3c_adc_register(struct platform_device *pdev, void (*select)(struct s3c_adc_client *client, unsigned selected), void (*conv)(struct s3c_adc_client *client, unsigned d0, unsigned d1, unsigned *samples_left), unsigned int is_ts); extern void s3c_adc_release(struct s3c_adc_client *client); #endif /* __ASM_PLAT_ADC_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
adc-core.h | File | 804 B | 0644 |
|
adc.h | File | 1.04 KB | 0644 |
|
cpu-freq-core.h | File | 8.9 KB | 0644 |
|
cpu-freq.h | File | 4.38 KB | 0644 |
|
cpu.h | File | 4 KB | 0644 |
|
devs.h | File | 3.53 KB | 0644 |
|
fb-s3c2410.h | File | 1.85 KB | 0644 |
|
fb.h | File | 1.07 KB | 0644 |
|
gpio-cfg-helpers.h | File | 5.65 KB | 0644 |
|
gpio-cfg.h | File | 6.34 KB | 0644 |
|
gpio-core.h | File | 4.5 KB | 0644 |
|
iic-core.h | File | 1 KB | 0644 |
|
keypad.h | File | 1.07 KB | 0644 |
|
map-base.h | File | 1.53 KB | 0644 |
|
map-s3c.h | File | 2.21 KB | 0644 |
|
map-s5p.h | File | 851 B | 0644 |
|
pm-common.h | File | 3.08 KB | 0644 |
|
pm.h | File | 2.7 KB | 0644 |
|
pwm-core.h | File | 641 B | 0644 |
|
regs-adc.h | File | 2.15 KB | 0644 |
|
regs-irqtype.h | File | 679 B | 0644 |
|
regs-spi.h | File | 1.58 KB | 0644 |
|
regs-udc.h | File | 6.04 KB | 0644 |
|
samsung-time.h | File | 803 B | 0644 |
|
sdhci.h | File | 4.62 KB | 0644 |
|
usb-phy.h | File | 663 B | 0644 |
|
wakeup-mask.h | File | 1.35 KB | 0644 |
|