Searched refs:bmi160_regs (Results 1 – 1 of 1) sorted by relevance
149 struct bmi160_regs { struct159 static struct bmi160_regs bmi160_regs[] = { argument313 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 …]