Searched refs:read_u8_from_i2c (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Demc2103.c86 static int read_u8_from_i2c(struct i2c_client *client, u8 i2c_reg, u8 *output) read_u8_from_i2c() function
103 if (read_u8_from_i2c(client, i2c_reg, &degrees) < 0) read_temp_from_i2c()
106 if (read_u8_from_i2c(client, i2c_reg + 1, &fractional) < 0) read_temp_from_i2c()
118 if (read_u8_from_i2c(client, hi_addr, &high_byte) < 0) read_fan_from_i2c()
121 if (read_u8_from_i2c(client, lo_addr, &lo_byte) < 0) read_fan_from_i2c()
141 if (read_u8_from_i2c(client, REG_FAN_CONF1, &conf1) < 0) read_fan_config_from_i2c()
161 read_u8_from_i2c(client, REG_TEMP_MIN[i], emc2103_update_device()
163 read_u8_from_i2c(client, REG_TEMP_MAX[i], emc2103_update_device()
167 read_u8_from_i2c(client, REG_TEMP_MIN_ALARM, emc2103_update_device()
169 read_u8_from_i2c(client, REG_TEMP_MAX_ALARM, emc2103_update_device()
454 result = read_u8_from_i2c(client, REG_FAN_CONF1, &conf_reg); set_pwm_enable()

Completed in 212 milliseconds