Searched refs:pwm_cfg (Results 1 – 2 of 2) sorted by relevance
195 u8 cfg, pwm[4], pwm_cfg[2]; in adt7470_read_temperatures() local198 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()207 pwm_cfg[0] & ~(ADT7470_PWM_AUTO_MASK)); in adt7470_read_temperatures()209 pwm_cfg[1] & ~(ADT7470_PWM_AUTO_MASK)); 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()
217 u8 pwm_cfg[ADT7462_PWM_COUNT]; member762 data->pwm_cfg[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device()1292 int cfg = data->pwm_cfg[attr->index] >> ADT7462_PWM_CHANNEL_SHIFT; in pwm_auto_show()1309 int temp = data->pwm_cfg[which] & ~ADT7462_PWM_CHANNEL_MASK; in set_pwm_channel()1313 data->pwm_cfg[which] = temp; in set_pwm_channel()1347 int channel = data->pwm_cfg[attr->index] >> ADT7462_PWM_CHANNEL_SHIFT; in pwm_auto_temp_show()