File Index
Files and directories
Sign in
FILE

smi330.h

File preview with syntax highlighting.

linux-6.19.14/drivers/iio/imu/smi330/smi330.h C
 1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
 2/*
 3 * Copyright (c) 2025 Robert Bosch GmbH.
 4 */
 5#ifndef _SMI330_H
 6#define _SMI330_H
 7
 8#include <linux/iio/iio.h>
 9
10enum {
11	SMI330_SCAN_ACCEL_X,
12	SMI330_SCAN_ACCEL_Y,
13	SMI330_SCAN_ACCEL_Z,
14	SMI330_SCAN_GYRO_X,
15	SMI330_SCAN_GYRO_Y,
16	SMI330_SCAN_GYRO_Z,
17	SMI330_SCAN_TIMESTAMP,
18	SMI330_SCAN_LEN = SMI330_SCAN_TIMESTAMP,
19};
20
21extern const struct regmap_config smi330_regmap_config;
22
23int smi330_core_probe(struct device *dev, struct regmap *regmap);
24
25#endif /* _SMI330_H */
~/ Read-only file preview.