Lines Matching refs:new_conf
81 u16 conf, new_conf; in ds620_init_client() local
83 new_conf = conf = in ds620_init_client()
87 new_conf &= ~DS620_REG_CONFIG_1SHOT; in ds620_init_client()
89 new_conf |= DS620_REG_CONFIG_PO2; in ds620_init_client()
92 new_conf &= ~DS620_REG_CONFIG_PO1; /* PO_LOW */ in ds620_init_client()
94 new_conf |= DS620_REG_CONFIG_PO1; /* PO_HIGH */ in ds620_init_client()
96 new_conf &= ~DS620_REG_CONFIG_PO2; /* always low */ in ds620_init_client()
98 new_conf |= DS620_REG_CONFIG_R1 | DS620_REG_CONFIG_R0; in ds620_init_client()
100 if (conf != new_conf) in ds620_init_client()
101 i2c_smbus_write_word_swapped(client, DS620_REG_CONF, new_conf); in ds620_init_client()
185 u16 conf, new_conf; in show_alarm() local
198 new_conf = conf = res; in show_alarm()
199 new_conf &= ~attr->index; in show_alarm()
200 if (conf != new_conf) { in show_alarm()
202 new_conf); in show_alarm()