Lines Matching refs:new_conf
157 u8 conf, new_conf, sreg, resol; in ds1621_init_client() local
159 new_conf = conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF); in ds1621_init_client()
161 new_conf &= ~DS1621_REG_CONFIG_1SHOT; in ds1621_init_client()
165 new_conf &= ~DS1621_REG_CONFIG_POLARITY; in ds1621_init_client()
167 new_conf |= DS1621_REG_CONFIG_POLARITY; in ds1621_init_client()
169 if (conf != new_conf) in ds1621_init_client()
170 i2c_smbus_write_byte_data(client, DS1621_REG_CONF, new_conf); in ds1621_init_client()
181 resol = (new_conf & DS1621_REG_CONFIG_RESOL) >> in ds1621_init_client()
202 u8 new_conf; in ds1621_update_client() local
219 new_conf = data->conf; in ds1621_update_client()
221 new_conf &= ~DS1621_ALARM_TEMP_LOW; in ds1621_update_client()
223 new_conf &= ~DS1621_ALARM_TEMP_HIGH; in ds1621_update_client()
224 if (data->conf != new_conf) in ds1621_update_client()
226 new_conf); in ds1621_update_client()