Lines Matching defs:new_conf
144 u8 conf, new_conf, sreg, resol;
146 new_conf = conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF);
148 new_conf &= ~DS1621_REG_CONFIG_1SHOT;
152 new_conf &= ~DS1621_REG_CONFIG_POLARITY;
154 new_conf |= DS1621_REG_CONFIG_POLARITY;
156 if (conf != new_conf)
157 i2c_smbus_write_byte_data(client, DS1621_REG_CONF, new_conf);
168 resol = (new_conf & DS1621_REG_CONFIG_RESOL) >>
189 u8 new_conf;
206 new_conf = data->conf;
208 new_conf &= ~DS1621_ALARM_TEMP_LOW;
210 new_conf &= ~DS1621_ALARM_TEMP_HIGH;
211 if (data->conf != new_conf)
213 new_conf);