Home
last modified time | relevance | path

Searched refs:ADT7470_REG_PWM_CFG (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/hwmon/
Dadt7470.c102 #define ADT7470_REG_PWM_CFG(x) (ADT7470_REG_PWM_CFG_BASE_ADDR + ((x) / 2)) macro
198 pwm_cfg[0] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(0)); in adt7470_read_temperatures()
199 pwm_cfg[1] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(2)); in adt7470_read_temperatures()
206 i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(0), in adt7470_read_temperatures()
208 i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(2), in adt7470_read_temperatures()
231 i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(0), pwm_cfg[0]); in adt7470_read_temperatures()
232 i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(2), pwm_cfg[1]); in adt7470_read_temperatures()
328 reg = ADT7470_REG_PWM_CFG(i); in adt7470_update_device()
879 int pwm_auto_reg = ADT7470_REG_PWM_CFG(attr->index); in pwm_auto_store()