Home
last modified time | relevance | path

Searched refs:lidar_data (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/iio/proximity/
Dpulsedlight-lidar-lite-v2.c40 struct lidar_data { struct
44 int (*xfer)(struct lidar_data *data, u8 reg, u8 *val, int len); argument
69 static int lidar_i2c_xfer(struct lidar_data *data, u8 reg, u8 *val, int len) in lidar_i2c_xfer() argument
90 static int lidar_smbus_xfer(struct lidar_data *data, u8 reg, u8 *val, int len) in lidar_smbus_xfer()
119 static int lidar_read_byte(struct lidar_data *data, u8 reg) in lidar_read_byte()
131 static inline int lidar_write_control(struct lidar_data *data, int val) in lidar_write_control()
136 static inline int lidar_write_power(struct lidar_data *data, int val) in lidar_write_power()
142 static int lidar_read_measurement(struct lidar_data *data, u16 *reg) in lidar_read_measurement()
155 static int lidar_get_measurement(struct lidar_data *data, u16 *reg) in lidar_get_measurement()
204 struct lidar_data *data = iio_priv(indio_dev); in lidar_read_raw()
[all …]