#include <linux/bitmap.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/wait.h>
#include <linux/platform_data/at91_adc.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/trigger.h>
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/triggered_buffer.h>
#include <mach/at91_adc.h>
Go to the source code of this file.
#define AT91_ADC_CHAN |
( |
|
st, |
|
|
|
ch |
|
) |
| (st->registers->channel_base + (ch * 4)) |
#define at91_adc_writel |
( |
|
st, |
|
|
|
reg, |
|
|
|
val |
|
) |
| (writel_relaxed(val, st->reg_base + reg)) |
MODULE_AUTHOR |
( |
"Maxime Ripard <maxime.ripard@free-electrons.com>" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Atmel AT91 ADC Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
at91_adc_dt_ids |
|
|
) |
| |
module_platform_driver |
( |
at91_adc_driver |
| ) |
|