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 | |
12 | struct device; |
13 | struct regmap; |
14 | |
15 | struct adxl367_ops { |
16 | int (*read_fifo)(void *context, __be16 *fifo_buf, |
17 | unsigned int fifo_entries); |
18 | }; |
19 | |
20 | int adxl367_probe(struct device *dev, const struct adxl367_ops *ops, |
21 | void *context, struct regmap *regmap, int irq); |
22 | |
23 | #endif /* _ADXL367_H_ */ |
24 | |