Lines Matching refs:ADT7470_REG_CFG
37 #define ADT7470_REG_CFG 0x40 macro
216 cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_read_temperatures()
218 i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, cfg); in adt7470_read_temperatures()
226 cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_read_temperatures()
228 i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, cfg); in adt7470_read_temperatures()
342 if (i2c_smbus_read_byte_data(client, ADT7470_REG_CFG) & in adt7470_update_device()
657 reg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in force_pwm_max_store()
662 i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, reg); in force_pwm_max_store()
711 cfg_reg_1 = i2c_smbus_read_byte_data(data->client, ADT7470_REG_CFG); in pwm1_freq_show()
749 val = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in pwm1_freq_store()
750 i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, in pwm1_freq_store()
1210 int reg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_init_client()
1216 i2c_smbus_write_byte_data(client, ADT7470_REG_CFG, reg | 3); in adt7470_init_client()