| /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| * ADXL345/346 Three-Axis Digital Accelerometers (I2C/SPI Interface) |
| * Enter bugs at http://blackfin.uclinux.org/ |
| * Copyright (C) 2009 Michael Hennerich, Analog Devices Inc. |
| int (*read)(struct device *, unsigned char); |
| int (*read_block)(struct device *, unsigned char, int, void *); |
| int (*write)(struct device *, unsigned char, unsigned char); |
| void adxl34x_suspend(struct adxl34x *ac); |
| void adxl34x_resume(struct adxl34x *ac); |
| struct adxl34x *adxl34x_probe(struct device *dev, int irq, |
| const struct adxl34x_bus_ops *bops); |
| int adxl34x_remove(struct adxl34x *ac); |