Searched refs:sfc2 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | lm93.c | 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 in temp_auto_offset_store() [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm93.c | 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 in temp_auto_offset_store() [all...] |
Completed in 7 milliseconds