Lines Matching refs:read_reg
112 read_reg(struct thermostat* th, int reg) in read_reg() function
135 tmp[1] = read_reg(th, addr); in read_fan_speed()
136 tmp[0] = read_reg(th, addr + 1); in read_fan_speed()
175 manual = read_reg(th, MANUAL_MODE[fan]); in write_fan_speed()
183 manual = read_reg(th, in write_fan_speed()
190 manual = read_reg(th, MANUAL_MODE[fan]); in write_fan_speed()
205 th->temps[i] = read_reg(th, TEMP_REG[i]); in read_sensors()
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); in probe_thermostat()
528 th->initial_limits[i] = read_reg(th, LIMIT_REG[i]); in probe_thermostat()
539 th->pwm_inv[0] = read_reg(th, MANUAL_MODE[0]) & INVERT_MASK; in probe_thermostat()
540 th->pwm_inv[1] = read_reg(th, MANUAL_MODE[1]) & INVERT_MASK; in probe_thermostat()