Searched refs:sfc2 (Results 1 – 1 of 1) sorted by relevance
287 u8 sfc2; member433 static int LM93_TEMP_OFFSET_MODE_FROM_REG(u8 sfc2, int nr) in LM93_TEMP_OFFSET_MODE_FROM_REG() argument436 return sfc2 & (nr < 2 ? 0x10 : 0x20); in LM93_TEMP_OFFSET_MODE_FROM_REG()989 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in lm93_update_client_common()1407 int mode = LM93_TEMP_OFFSET_MODE_FROM_REG(data->sfc2, nr); in temp_auto_boost_hyst_show()1428 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in temp_auto_boost_hyst_store()1429 data->sfc2 |= ((nr < 2) ? 0x10 : 0x20); in temp_auto_boost_hyst_store()1430 lm93_write_byte(client, LM93_REG_SFC2, data->sfc2); in temp_auto_boost_hyst_store()1449 int mode = LM93_TEMP_OFFSET_MODE_FROM_REG(data->sfc2, nr); in temp_auto_offset_show()1473 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in temp_auto_offset_store()[all …]