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