Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/imu/bmi160/
A Dbmi160_core.c148 struct bmi160_regs { struct
158 static struct bmi160_regs bmi160_regs[] = { argument
312 cmd = bmi160_regs[t].pmu_cmd_normal; in bmi160_set_mode()
314 cmd = bmi160_regs[t].pmu_cmd_suspend; in bmi160_set_mode()
338 return regmap_write(data->regmap, bmi160_regs[t].range, in bmi160_set_scale()
348 ret = regmap_read(data->regmap, bmi160_regs[t].range, &val); in bmi160_get_scale()
369 reg = bmi160_regs[t].data + (axis - IIO_MOD_X) * sizeof(sample); in bmi160_get_data()
395 bmi160_regs[t].config, in bmi160_set_odr()
396 bmi160_regs[t].config_odr_mask, in bmi160_set_odr()
405 ret = regmap_read(data->regmap, bmi160_regs[t].config, &val); in bmi160_get_odr()
[all …]

Completed in 5 milliseconds