Lines Matching defs:read_u8_from_i2c
73 static int read_u8_from_i2c(struct i2c_client *client, u8 i2c_reg, u8 *output)
90 if (read_u8_from_i2c(client, i2c_reg, °rees) < 0)
93 if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0)
105 if (read_u8_from_i2c(client, hi_addr, &high_byte) < 0)
108 if (read_u8_from_i2c(client, lo_addr, &lo_byte) < 0)
128 if (read_u8_from_i2c(client, REG_FAN_CONF1, &conf1) < 0)
148 read_u8_from_i2c(client, REG_TEMP_MIN[i],
150 read_u8_from_i2c(client, REG_TEMP_MAX[i],
154 read_u8_from_i2c(client, REG_TEMP_MIN_ALARM,
156 read_u8_from_i2c(client, REG_TEMP_MAX_ALARM,
445 result = read_u8_from_i2c(client, REG_FAN_CONF1, &conf_reg);