Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/imu/bmi160/
Dbmi160_core.c154 struct bmi160_regs { struct
164 static struct bmi160_regs bmi160_regs[] = { argument
318 cmd = bmi160_regs[t].pmu_cmd_normal; in bmi160_set_mode()
320 cmd = bmi160_regs[t].pmu_cmd_suspend; in bmi160_set_mode()
344 return regmap_write(data->regmap, bmi160_regs[t].range, in bmi160_set_scale()
354 ret = regmap_read(data->regmap, bmi160_regs[t].range, &val); in bmi160_get_scale()
375 reg = bmi160_regs[t].data + (axis - IIO_MOD_X) * sizeof(sample); in bmi160_get_data()
401 bmi160_regs[t].config, in bmi160_set_odr()
402 bmi160_regs[t].config_odr_mask, in bmi160_set_odr()
411 ret = regmap_read(data->regmap, bmi160_regs[t].config, &val); in bmi160_get_odr()
[all …]