Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * ADXL345/346 Three-Axis Digital Accelerometers (I2C/SPI Interface)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Enter bugs at http://blackfin.uclinux.org/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  * Copyright (C) 2009 Michael Hennerich, Analog Devices Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #ifndef _ADXL34X_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define _ADXL34X_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct device;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct adxl34x;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct adxl34x_bus_ops {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	u16 bustype;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	int (*read)(struct device *, unsigned char);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	int (*read_block)(struct device *, unsigned char, int, void *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	int (*write)(struct device *, unsigned char, unsigned char);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) void adxl34x_suspend(struct adxl34x *ac);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) void adxl34x_resume(struct adxl34x *ac);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) struct adxl34x *adxl34x_probe(struct device *dev, int irq,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 			      bool fifo_delay_default,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 			      const struct adxl34x_bus_ops *bops);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) int adxl34x_remove(struct adxl34x *ac);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #endif