Lines Matching defs:read_reg
113 read_reg(struct thermostat* th, int reg)
196 tmp[1] = read_reg(th, addr);
197 tmp[0] = read_reg(th, addr + 1);
236 manual = read_reg(th, MANUAL_MODE[fan]);
244 manual = read_reg(th,
251 manual = read_reg(th, MANUAL_MODE[fan]);
266 th->temps[i] = read_reg(th, TEMP_REG[i]);
399 rc = read_reg(th, CONFIG_REG);
418 th->initial_limits[i] = read_reg(th, LIMIT_REG[i]);
431 th->pwm_inv[0] = read_reg(th, MANUAL_MODE[0]) & INVERT_MASK;
432 th->pwm_inv[1] = read_reg(th, MANUAL_MODE[1]) & INVERT_MASK;
522 BUILD_SHOW_FUNC_INT(sensor1_temperature, (read_reg(thermostat, TEMP_REG[1])))
523 BUILD_SHOW_FUNC_INT(sensor2_temperature, (read_reg(thermostat, TEMP_REG[2])))