Searched refs:sfc2 (Results 1 – 1 of 1) sorted by relevance
299 u8 sfc2; member445 static int LM93_TEMP_OFFSET_MODE_FROM_REG(u8 sfc2, int nr) in LM93_TEMP_OFFSET_MODE_FROM_REG() argument448 return sfc2 & (nr < 2 ? 0x10 : 0x20); in LM93_TEMP_OFFSET_MODE_FROM_REG()997 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in lm93_update_client_common()1457 int mode = LM93_TEMP_OFFSET_MODE_FROM_REG(data->sfc2, nr); in show_temp_auto_boost_hyst()1478 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in store_temp_auto_boost_hyst()1479 data->sfc2 |= ((nr < 2) ? 0x10 : 0x20); in store_temp_auto_boost_hyst()1480 lm93_write_byte(client, LM93_REG_SFC2, data->sfc2); in store_temp_auto_boost_hyst()1505 int mode = LM93_TEMP_OFFSET_MODE_FROM_REG(data->sfc2, nr); in show_temp_auto_offset()1529 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in store_temp_auto_offset()[all …]