Lines Matching refs:read_reg
111 read_reg(struct thermostat* th, int reg) in read_reg() function
134 tmp[1] = read_reg(th, addr); in read_fan_speed()
135 tmp[0] = read_reg(th, addr + 1); in read_fan_speed()
174 manual = read_reg(th, MANUAL_MODE[fan]); in write_fan_speed()
182 manual = read_reg(th, in write_fan_speed()
189 manual = read_reg(th, MANUAL_MODE[fan]); in write_fan_speed()
204 th->temps[i] = read_reg(th, TEMP_REG[i]); in read_sensors()
375 BUILD_SHOW_FUNC_INT(sensor1_temperature, (read_reg(th, TEMP_REG[1])))
376 BUILD_SHOW_FUNC_INT(sensor2_temperature, (read_reg(th, TEMP_REG[2])))
508 rc = read_reg(th, CONFIG_REG); in probe_thermostat()
527 th->initial_limits[i] = read_reg(th, LIMIT_REG[i]); in probe_thermostat()
538 th->pwm_inv[0] = read_reg(th, MANUAL_MODE[0]) & INVERT_MASK; in probe_thermostat()
539 th->pwm_inv[1] = read_reg(th, MANUAL_MODE[1]) & INVERT_MASK; in probe_thermostat()