#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/regulator/consumer.h>
#include <plat/regs-adc.h>
#include <plat/adc.h>
Go to the source code of this file.
|
enum | s3c_cpu_type {
TYPE_ADCV1,
TYPE_ADCV11,
TYPE_ADCV12,
TYPE_ADCV2,
TYPE_ADCV3,
TYPE_S3C64XX,
TYPE_S5PC100,
TYPE_S5PV210,
TYPE_S3C2410,
TYPE_S3C2412,
TYPE_S3C2440,
TYPE_S3C2410,
TYPE_S3C2416,
TYPE_S3C2443,
TYPE_S3C64XX
} |
|
|
int | s3c_adc_start (struct s3c_adc_client *client, unsigned int channel, unsigned int nr_samples) |
|
| EXPORT_SYMBOL_GPL (s3c_adc_start) |
|
int | s3c_adc_read (struct s3c_adc_client *client, unsigned int ch) |
|
| EXPORT_SYMBOL_GPL (s3c_adc_read) |
|
struct s3c_adc_client * | s3c_adc_register (struct platform_device *pdev, void(*select)(struct s3c_adc_client *client, unsigned int selected), void(*conv)(struct s3c_adc_client *client, unsigned d0, unsigned d1, unsigned *samples_left), unsigned int is_ts) |
|
| EXPORT_SYMBOL_GPL (s3c_adc_register) |
|
void | s3c_adc_release (struct s3c_adc_client *client) |
|
| EXPORT_SYMBOL_GPL (s3c_adc_release) |
|
| MODULE_DEVICE_TABLE (platform, s3c_adc_driver_ids) |
|
| module_init (adc_init) |
|
Definition at line 85 of file adc.c.
#define s3c_adc_resume NULL |
#define s3c_adc_suspend NULL |
- Enumerator:
TYPE_ADCV1 |
|
TYPE_ADCV11 |
|
TYPE_ADCV12 |
|
TYPE_ADCV2 |
|
TYPE_ADCV3 |
|
TYPE_S3C64XX |
|
TYPE_S5PC100 |
|
TYPE_S5PV210 |
|
TYPE_S3C2410 |
|
TYPE_S3C2412 |
|
TYPE_S3C2440 |
|
TYPE_S3C2410 |
|
TYPE_S3C2416 |
|
TYPE_S3C2443 |
|
TYPE_S3C64XX |
|
Definition at line 42 of file adc.c.
MODULE_DEVICE_TABLE |
( |
platform |
, |
|
|
s3c_adc_driver_ids |
|
|
) |
| |