Searched refs:ADT7470_REG_CFG (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/hwmon/ |
D | adt7470.c | 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() [all …]
|