Lines Matching refs:i2c_smbus_read_byte_data
184 foo = i2c_smbus_read_byte_data(client, reg); in adt7470_read_word_data()
185 foo |= ((u16)i2c_smbus_read_byte_data(client, reg + 1) << 8); in adt7470_read_word_data()
205 pwm_cfg[0] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(0)); in adt7470_read_temperatures()
206 pwm_cfg[1] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(2)); in adt7470_read_temperatures()
210 pwm[i] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM(i)); in adt7470_read_temperatures()
223 cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_read_temperatures()
233 cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_read_temperatures()
251 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_read_temperatures()
314 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
325 data->pwm[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
334 if (i2c_smbus_read_byte_data(client, reg) & reg_mask) in adt7470_update_device()
340 cfg = i2c_smbus_read_byte_data(client, reg); in adt7470_update_device()
347 if (i2c_smbus_read_byte_data(client, ADT7470_REG_CFG) & in adt7470_update_device()
353 data->alarm = i2c_smbus_read_byte_data(client, ADT7470_REG_ALARM1); in adt7470_update_device()
355 data->alarm |= ALARM2(i2c_smbus_read_byte_data(client, in adt7470_update_device()
368 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
370 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
382 data->pwm_max[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
384 data->pwm_min[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
386 data->pwm_tmin[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
651 reg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in set_force_pwm_max()
837 reg = i2c_smbus_read_byte_data(client, pwm_auto_reg); in set_pwm_auto()
892 reg = i2c_smbus_read_byte_data(client, pwm_auto_reg); in set_pwm_auto_temp()
1199 vendor = i2c_smbus_read_byte_data(client, ADT7470_REG_VENDOR); in adt7470_detect()
1203 device = i2c_smbus_read_byte_data(client, ADT7470_REG_DEVICE); in adt7470_detect()
1207 revision = i2c_smbus_read_byte_data(client, ADT7470_REG_REVISION); in adt7470_detect()
1218 int reg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_init_client()