Lines Matching refs:conf
130 u8 conf; /* Register encoding, combined */ member
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()
169 if (conf != new_conf) in ds1621_init_client()
212 data->conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF); in ds1621_update_client()
219 new_conf = data->conf; in ds1621_update_client()
224 if (data->conf != new_conf) in ds1621_update_client()
270 return sprintf(buf, "%d\n", ALARMS_FROM_REG(data->conf)); in show_alarms()
278 return sprintf(buf, "%d\n", !!(data->conf & attr->index)); in show_alarm()
307 data->conf = i2c_smbus_read_byte_data(client, DS1621_REG_CONF); in set_convrate()
308 data->conf &= ~DS1621_REG_CONFIG_RESOL; in set_convrate()
309 data->conf |= (resol << DS1621_REG_CONFIG_RESOL_SHIFT); in set_convrate()
310 i2c_smbus_write_byte_data(client, DS1621_REG_CONF, data->conf); in set_convrate()