Searched refs:reg_number (Results 1 – 2 of 2) sorted by relevance
91 int emul_bmi160_get_reg_value(const struct emul *target, int reg_number, uint8_t *out,
49 int emul_bmi160_get_reg_value(const struct emul *target, int reg_number, uint8_t *out, size_t count) in emul_bmi160_get_reg_value() argument53 if (reg_number < 0 || reg_number + count > BMI160_REG_COUNT) { in emul_bmi160_get_reg_value()57 memcpy(out, cfg->reg + reg_number, count); in emul_bmi160_get_reg_value()