Lines Matching refs:lidar_data
40 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()
236 struct lidar_data *data = iio_priv(indio_dev); in lidar_trigger_handler()
258 struct lidar_data *data; in lidar_probe()
341 struct lidar_data *data = iio_priv(indio_dev); in lidar_pm_runtime_suspend()
349 struct lidar_data *data = iio_priv(indio_dev); in lidar_pm_runtime_resume()