Searched refs:reg_lsb (Results 1 – 1 of 1) sorted by relevance
294 int reg_lsb; in bmi160_emul_backend_set_channel() local300 reg_lsb = BMI160_REG_DATA_ACC_X + (ch.chan_type - SENSOR_CHAN_ACCEL_X) * 2; in bmi160_emul_backend_set_channel()321 reg_lsb = BMI160_REG_DATA_GYR_X + (ch.chan_type - SENSOR_CHAN_GYRO_X) * 2; in bmi160_emul_backend_set_channel()345 reg_lsb = BMI160_REG_TEMPERATURE0; in bmi160_emul_backend_set_channel()369 cfg->reg[reg_lsb] = FIELD_GET(GENMASK64(7, 0), intermediate); in bmi160_emul_backend_set_channel()370 cfg->reg[reg_lsb + 1] = FIELD_GET(GENMASK64(15, 8), intermediate); in bmi160_emul_backend_set_channel()