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

/linux-4.1.27/drivers/hwmon/
H A Dadt7470.c202 u8 cfg, pwm[4], pwm_cfg[2]; adt7470_read_temperatures() local
205 pwm_cfg[0] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(0)); adt7470_read_temperatures()
206 pwm_cfg[1] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(2)); adt7470_read_temperatures()
214 pwm_cfg[0] & ~(ADT7470_PWM_AUTO_MASK)); adt7470_read_temperatures()
216 pwm_cfg[1] & ~(ADT7470_PWM_AUTO_MASK)); adt7470_read_temperatures()
238 i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(0), pwm_cfg[0]); adt7470_read_temperatures()
239 i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_CFG(2), pwm_cfg[1]); adt7470_read_temperatures()
H A Dadt7462.c230 u8 pwm_cfg[ADT7462_PWM_COUNT]; member in struct:adt7462_data
771 data->pwm_cfg[i] = i2c_smbus_read_byte_data(client, adt7462_update_device()
1327 int cfg = data->pwm_cfg[attr->index] >> ADT7462_PWM_CHANNEL_SHIFT; show_pwm_auto()
1344 int temp = data->pwm_cfg[which] & ~ADT7462_PWM_CHANNEL_MASK; set_pwm_channel()
1348 data->pwm_cfg[which] = temp; set_pwm_channel()
1384 int channel = data->pwm_cfg[attr->index] >> ADT7462_PWM_CHANNEL_SHIFT; show_pwm_auto_temp()

Completed in 75 milliseconds