Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/hwmon/
Dadt7470.c239 u8 cfg, pwm[4], pwm_cfg[2]; in adt7470_read_temperatures() local
242 pwm_cfg[0] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(0)); in adt7470_read_temperatures()
243 pwm_cfg[1] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(2)); in adt7470_read_temperatures()
251 pwm_cfg[0] & ~(ADT7470_PWM_AUTO_MASK)); in adt7470_read_temperatures()
253 pwm_cfg[1] & ~(ADT7470_PWM_AUTO_MASK)); in adt7470_read_temperatures()
275 i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(0), pwm_cfg[0]); in adt7470_read_temperatures()
276 i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(2), pwm_cfg[1]); in adt7470_read_temperatures()
Dadt7462.c232 u8 pwm_cfg[ADT7462_PWM_COUNT]; member
797 data->pwm_cfg[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device()
1354 int cfg = data->pwm_cfg[attr->index] >> ADT7462_PWM_CHANNEL_SHIFT; in show_pwm_auto()
1371 int temp = data->pwm_cfg[which] & ~ADT7462_PWM_CHANNEL_MASK; in set_pwm_channel()
1375 data->pwm_cfg[which] = temp; in set_pwm_channel()
1411 int channel = data->pwm_cfg[attr->index] >> ADT7462_PWM_CHANNEL_SHIFT; in show_pwm_auto_temp()