Searched refs:bmi160_regs (Results 1 – 1 of 1) sorted by relevance
148 struct bmi160_regs { struct158 static struct bmi160_regs bmi160_regs[] = { argument312 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