Lines Matching refs:new_conf
103 u8 conf, new_conf;
105 new_conf = conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF);
107 new_conf &= ~DS1621_REG_CONFIG_1SHOT;
111 new_conf &= ~DS1621_REG_CONFIG_POLARITY;
113 new_conf |= DS1621_REG_CONFIG_POLARITY;
115 if (conf != new_conf)
116 i2c_smbus_write_byte_data(client, DS1621_REG_CONF, new_conf);
126 u8 new_conf;
143 new_conf = data->conf;
145 new_conf &= ~DS1621_ALARM_TEMP_LOW;
147 new_conf &= ~DS1621_ALARM_TEMP_HIGH;
148 if (data->conf != new_conf)
150 new_conf);