Lines Matching defs:lsm6dsv16x_data
122 struct lsm6dsv16x_data { struct
123 const struct device *dev;
124 int16_t acc[3];
125 uint32_t acc_gain;
126 int16_t gyro[3];
127 uint32_t gyro_gain;
129 int16_t temp_sample;
132 uint8_t ext_data[LSM6DSV16X_SHUB_MAX_NUM_TARGETS][6];
133 uint16_t magn_gain;
135 struct hts221_data {
140 } hts221;
141 bool shub_inited;
142 uint8_t num_ext_dev;
143 uint8_t shub_ext[LSM6DSV16X_SHUB_MAX_NUM_TARGETS];
146 uint8_t accel_freq;
147 uint8_t accel_fs;
148 uint8_t gyro_freq;
149 uint8_t gyro_fs;
152 struct rtio_iodev_sqe *streaming_sqe;
153 struct rtio *rtio_ctx;
154 struct rtio_iodev *iodev;
155 uint64_t fifo_timestamp;
156 uint8_t fifo_status[2];
157 uint16_t fifo_count;
158 uint8_t fifo_irq;
159 uint8_t accel_batch_odr : 4;
160 uint8_t gyro_batch_odr : 4;
161 uint8_t temp_batch_odr : 2;
162 uint8_t bus_type : 2; /* I2C is 0, SPI is 1, I3C is 2 */
163 uint8_t sflp_batch_odr : 3;
164 uint8_t reserved : 1;
168 struct gpio_dt_spec *drdy_gpio;
170 struct gpio_callback gpio_cb;
171 sensor_trigger_handler_t handler_drdy_acc;
172 const struct sensor_trigger *trig_drdy_acc;
173 sensor_trigger_handler_t handler_drdy_gyr;
174 const struct sensor_trigger *trig_drdy_gyr;
198 static inline uint8_t lsm6dsv16x_bus_reg(struct lsm6dsv16x_data *data, uint8_t x) in lsm6dsv16x_bus_reg() argument