1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2021 Analog Devices, Inc.
4 * Author: Cosmin Tanislav <cosmin.tanislav@analog.com>
5 */
6
7#ifndef _ADXL367_H_
8#define _ADXL367_H_
9
10#include <linux/types.h>
11
12struct device;
13struct regmap;
14
15struct adxl367_ops {
16 int (*read_fifo)(void *context, __be16 *fifo_buf,
17 unsigned int fifo_entries);
18};
19
20int adxl367_probe(struct device *dev, const struct adxl367_ops *ops,
21 void *context, struct regmap *regmap, int irq);
22
23#endif /* _ADXL367_H_ */
24

source code of linux/drivers/iio/accel/adxl367.h