Searched refs:ADT7470_REG_PWM_CFG (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | adt7470.c | 107 #define ADT7470_REG_PWM_CFG(x) (ADT7470_REG_PWM_CFG_BASE_ADDR + ((x) / 2)) macro 215 err = regmap_read(data->regmap, ADT7470_REG_PWM_CFG(0), &pwm_cfg[0]); in adt7470_read_temperatures() 218 err = regmap_read(data->regmap, ADT7470_REG_PWM_CFG(2), &pwm_cfg[1]); in adt7470_read_temperatures() 229 err = regmap_update_bits(data->regmap, ADT7470_REG_PWM_CFG(0), in adt7470_read_temperatures() 233 err = regmap_update_bits(data->regmap, ADT7470_REG_PWM_CFG(2), in adt7470_read_temperatures() 262 err = regmap_write(data->regmap, ADT7470_REG_PWM_CFG(0), pwm_cfg[0]); in adt7470_read_temperatures() 265 err = regmap_write(data->regmap, ADT7470_REG_PWM_CFG(2), pwm_cfg[1]); in adt7470_read_temperatures() 340 err = regmap_read(data->regmap, ADT7470_REG_PWM_CFG(i), &val); in adt7470_update_sensors() 841 err = regmap_update_bits(data->regmap, ADT7470_REG_PWM_CFG(channel), in adt7470_pwm_write()
|