Lines Matching refs:sfc2

287 	u8 sfc2;  member
433 static int LM93_TEMP_OFFSET_MODE_FROM_REG(u8 sfc2, int nr) in LM93_TEMP_OFFSET_MODE_FROM_REG() argument
436 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()
1474 data->sfc2 |= ((nr < 2) ? 0x10 : 0x20); in temp_auto_offset_store()
1475 lm93_write_byte(client, LM93_REG_SFC2, data->sfc2); in temp_auto_offset_store()
1572 int mode = LM93_TEMP_OFFSET_MODE_FROM_REG(data->sfc2, nr); in temp_auto_offset_hyst_show()
1594 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in temp_auto_offset_hyst_store()
1595 data->sfc2 |= ((nr < 2) ? 0x10 : 0x20); in temp_auto_offset_hyst_store()
1596 lm93_write_byte(client, LM93_REG_SFC2, data->sfc2); in temp_auto_offset_hyst_store()
1685 if (mapping && ((data->sfc2 >> nr) & 0x01)) in fan_smart_tach_show()
1704 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in lm93_write_fan_smart_tach()
1706 data->sfc2 |= 1 << fan; in lm93_write_fan_smart_tach()
1708 data->sfc2 &= ~(1 << fan); in lm93_write_fan_smart_tach()
1709 lm93_write_byte(client, LM93_REG_SFC2, data->sfc2); in lm93_write_fan_smart_tach()
1883 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in lm93_disable_fan_smart_tach()
1884 data->sfc2 &= ~mask; in lm93_disable_fan_smart_tach()
1885 lm93_write_byte(client, LM93_REG_SFC2, data->sfc2); in lm93_disable_fan_smart_tach()