Lines Matching refs:read_reg
112 read_reg(struct thermostat* th, int reg)
135 tmp[1] = read_reg(th, addr);
136 tmp[0] = read_reg(th, addr + 1);
175 manual = read_reg(th, MANUAL_MODE[fan]);
183 manual = read_reg(th,
190 manual = read_reg(th, MANUAL_MODE[fan]);
205 th->temps[i] = read_reg(th, TEMP_REG[i]);
376 BUILD_SHOW_FUNC_INT(sensor1_temperature, (read_reg(th, TEMP_REG[1])))
377 BUILD_SHOW_FUNC_INT(sensor2_temperature, (read_reg(th, TEMP_REG[2])))
509 rc = read_reg(th, CONFIG_REG);
528 th->initial_limits[i] = read_reg(th, LIMIT_REG[i]);
539 th->pwm_inv[0] = read_reg(th, MANUAL_MODE[0]) & INVERT_MASK;
540 th->pwm_inv[1] = read_reg(th, MANUAL_MODE[1]) & INVERT_MASK;