Lines Matching refs:new_conf
68 u16 conf, new_conf; in ds620_init_client() local
70 new_conf = conf = in ds620_init_client()
74 new_conf &= ~DS620_REG_CONFIG_1SHOT; in ds620_init_client()
76 new_conf |= DS620_REG_CONFIG_PO2; in ds620_init_client()
79 new_conf &= ~DS620_REG_CONFIG_PO1; /* PO_LOW */ in ds620_init_client()
81 new_conf |= DS620_REG_CONFIG_PO1; /* PO_HIGH */ in ds620_init_client()
83 new_conf &= ~DS620_REG_CONFIG_PO2; /* always low */ in ds620_init_client()
85 new_conf |= DS620_REG_CONFIG_R1 | DS620_REG_CONFIG_R0; in ds620_init_client()
87 if (conf != new_conf) in ds620_init_client()
88 i2c_smbus_write_word_swapped(client, DS620_REG_CONF, new_conf); in ds620_init_client()
172 u16 conf, new_conf; in alarm_show() local
185 new_conf = conf = res; in alarm_show()
186 new_conf &= ~attr->index; in alarm_show()
187 if (conf != new_conf) { in alarm_show()
189 new_conf); in alarm_show()