Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: ce9ecca0238b140b88f43859b211c9fdfd8e5b70 authored by Linus Torvalds on 17 September 2023, 21:40:24 UTC
Linux 6.6-rc2
Tip revision: ce9ecca
adxl367.h
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (C) 2021 Analog Devices, Inc.
 * Author: Cosmin Tanislav <cosmin.tanislav@analog.com>
 */

#ifndef _ADXL367_H_
#define _ADXL367_H_

#include <linux/types.h>

struct device;
struct regmap;

struct adxl367_ops {
	int (*read_fifo)(void *context, __be16 *fifo_buf,
			 unsigned int fifo_entries);
};

int adxl367_probe(struct device *dev, const struct adxl367_ops *ops,
		  void *context, struct regmap *regmap, int irq);

#endif /* _ADXL367_H_ */
back to top