#include <linux/bitops.h>
#include <linux/bitfield.h>
#include <linux/iio/events.h>
#include <linux/iio/iio.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include "ad7091r-base.h"
const struct iio_event_spec ad7091r_events[] = …;
EXPORT_SYMBOL_NS_GPL(…);
static int ad7091r_set_channel(struct ad7091r_state *st, unsigned int channel)
{ … }
static int ad7091r_read_one(struct iio_dev *iio_dev,
unsigned int channel, unsigned int *read_val)
{ … }
static int ad7091r_read_raw(struct iio_dev *iio_dev,
struct iio_chan_spec const *chan,
int *val, int *val2, long m)
{ … }
static int ad7091r_read_event_config(struct iio_dev *indio_dev,
const struct iio_chan_spec *chan,
enum iio_event_type type,
enum iio_event_direction dir)
{ … }
static int ad7091r_write_event_config(struct iio_dev *indio_dev,
const struct iio_chan_spec *chan,
enum iio_event_type type,
enum iio_event_direction dir, int state)
{ … }
static int ad7091r_read_event_value(struct iio_dev *indio_dev,
const struct iio_chan_spec *chan,
enum iio_event_type type,
enum iio_event_direction dir,
enum iio_event_info info, int *val, int *val2)
{ … }
static int ad7091r_write_event_value(struct iio_dev *indio_dev,
const struct iio_chan_spec *chan,
enum iio_event_type type,
enum iio_event_direction dir,
enum iio_event_info info, int val, int val2)
{ … }
static const struct iio_info ad7091r_info = …;
static irqreturn_t ad7091r_event_handler(int irq, void *private)
{ … }
static void ad7091r_remove(void *data)
{ … }
int ad7091r_probe(struct device *dev, const struct ad7091r_init_info *init_info,
int irq)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
bool ad7091r_writeable_reg(struct device *dev, unsigned int reg)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
bool ad7091r_volatile_reg(struct device *dev, unsigned int reg)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;