Lines Matching defs:config
128 int config;
135 config = i2c_smbus_read_byte_data(client, THMC50_REG_CONF);
137 config &= ~THMC50_REG_CONF_nFANOFF;
139 config |= THMC50_REG_CONF_nFANOFF;
140 i2c_smbus_write_byte_data(client, THMC50_REG_CONF, config);
294 unsigned config;
309 config = i2c_smbus_read_byte_data(client, THMC50_REG_CONF);
310 if (revision < 0xc0 || (config & 0x10))
322 config |= (1 << 7);
325 config);
409 int config;
419 config = i2c_smbus_read_byte_data(client, THMC50_REG_CONF);
420 config |= 0x1; /* start the chip if it is in standby mode */
421 if (data->type == adm1022 && (config & (1 << 7)))
423 i2c_smbus_write_byte_data(client, THMC50_REG_CONF, config);