#include <linux/bitfield.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include "adxl313.h"
static const struct regmap_range adxl312_readable_reg_range[] = …;
static const struct regmap_range adxl313_readable_reg_range[] = …;
const struct regmap_access_table adxl312_readable_regs_table = …;
EXPORT_SYMBOL_NS_GPL(…);
const struct regmap_access_table adxl313_readable_regs_table = …;
EXPORT_SYMBOL_NS_GPL(…);
const struct regmap_access_table adxl314_readable_regs_table = …;
EXPORT_SYMBOL_NS_GPL(…);
static int adxl312_check_id(struct device *dev,
struct adxl313_data *data)
{ … }
static int adxl313_check_id(struct device *dev,
struct adxl313_data *data)
{ … }
const struct adxl313_chip_info adxl31x_chip_info[] = …;
EXPORT_SYMBOL_NS_GPL(…);
static const struct regmap_range adxl312_writable_reg_range[] = …;
static const struct regmap_range adxl313_writable_reg_range[] = …;
const struct regmap_access_table adxl312_writable_regs_table = …;
EXPORT_SYMBOL_NS_GPL(…);
const struct regmap_access_table adxl313_writable_regs_table = …;
EXPORT_SYMBOL_NS_GPL(…);
const struct regmap_access_table adxl314_writable_regs_table = …;
EXPORT_SYMBOL_NS_GPL(…);
static const int adxl313_odr_freqs[][2] = …;
#define ADXL313_ACCEL_CHANNEL(index, axis) …
static const struct iio_chan_spec adxl313_channels[] = …;
static int adxl313_set_odr(struct adxl313_data *data,
unsigned int freq1, unsigned int freq2)
{ … }
static int adxl313_read_axis(struct adxl313_data *data,
struct iio_chan_spec const *chan)
{ … }
static int adxl313_read_freq_avail(struct iio_dev *indio_dev,
struct iio_chan_spec const *chan,
const int **vals, int *type, int *length,
long mask)
{ … }
static int adxl313_read_raw(struct iio_dev *indio_dev,
struct iio_chan_spec const *chan,
int *val, int *val2, long mask)
{ … }
static int adxl313_write_raw(struct iio_dev *indio_dev,
struct iio_chan_spec const *chan,
int val, int val2, long mask)
{ … }
static const struct iio_info adxl313_info = …;
static int adxl313_setup(struct device *dev, struct adxl313_data *data,
int (*setup)(struct device *, struct regmap *))
{ … }
int adxl313_core_probe(struct device *dev,
struct regmap *regmap,
const struct adxl313_chip_info *chip_info,
int (*setup)(struct device *, struct regmap *))
{ … }
EXPORT_SYMBOL_NS_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;