Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/imu/bmi160/
Dbmi160_core.c149 struct bmi160_regs { struct
159 static struct bmi160_regs bmi160_regs[] = { argument
313 cmd = bmi160_regs[t].pmu_cmd_normal; in bmi160_set_mode()
315 cmd = bmi160_regs[t].pmu_cmd_suspend; in bmi160_set_mode()
339 return regmap_write(data->regmap, bmi160_regs[t].range, in bmi160_set_scale()
349 ret = regmap_read(data->regmap, bmi160_regs[t].range, &val); in bmi160_get_scale()
370 reg = bmi160_regs[t].data + (axis - IIO_MOD_X) * sizeof(sample); in bmi160_get_data()
396 bmi160_regs[t].config, in bmi160_set_odr()
397 bmi160_regs[t].config_odr_mask, in bmi160_set_odr()
406 ret = regmap_read(data->regmap, bmi160_regs[t].config, &val); in bmi160_get_odr()
[all …]