Lines Matching refs:read_reg
110 read_reg(struct thermostat* th, int reg) in read_reg() function
133 tmp[1] = read_reg(th, addr); in read_fan_speed()
134 tmp[0] = read_reg(th, addr + 1); in read_fan_speed()
173 manual = read_reg(th, MANUAL_MODE[fan]); in write_fan_speed()
181 manual = read_reg(th, in write_fan_speed()
188 manual = read_reg(th, MANUAL_MODE[fan]); in write_fan_speed()
203 th->temps[i] = read_reg(th, TEMP_REG[i]); in read_sensors()
374 BUILD_SHOW_FUNC_INT(sensor1_temperature, (read_reg(th, TEMP_REG[1])))
375 BUILD_SHOW_FUNC_INT(sensor2_temperature, (read_reg(th, TEMP_REG[2])))
507 rc = read_reg(th, CONFIG_REG); in probe_thermostat()
526 th->initial_limits[i] = read_reg(th, LIMIT_REG[i]); in probe_thermostat()
537 th->pwm_inv[0] = read_reg(th, MANUAL_MODE[0]) & INVERT_MASK; in probe_thermostat()
538 th->pwm_inv[1] = read_reg(th, MANUAL_MODE[1]) & INVERT_MASK; in probe_thermostat()