Searched refs:temp_add (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/hwmon/ |
H A D | w83792d.c | 274 u8 temp_add[2][6]; /* Register value */ member 530 (long)TEMP_ADD_FROM_REG(data->temp_add[nr][index], in show_temp23() 531 data->temp_add[nr][index+1])); in show_temp23() 551 data->temp_add[nr][index] = TEMP_ADD_TO_REG_HIGH(val); in store_temp23() 552 data->temp_add[nr][index+1] = TEMP_ADD_TO_REG_LOW(val); in store_temp23() 554 data->temp_add[nr][index]); in store_temp23() 556 data->temp_add[nr][index+1]); in store_temp23() 1527 data->temp_add[i][j] = w83792d_read_value( in w83792d_update_device() 1627 dev_dbg(dev, "temp_add[%d][%d] is: 0x%x\n", i, j, in w83792d_print_debug() 1628 data->temp_add[ in w83792d_print_debug() [all...] |
H A D | w83791d.c | 289 s16 temp_add[2][3]; /* fixed point value. Top 8 bits are the member 956 return sprintf(buf, "%d\n", TEMP23_FROM_REG(data->temp_add[nr][index])); in show_temp23() 976 data->temp_add[nr][index] = TEMP23_TO_REG(val); in store_temp23() 978 data->temp_add[nr][index] >> 8); in store_temp23() 980 data->temp_add[nr][index] & 0x80); in store_temp23() 1566 data->temp_add[i][j] = in w83791d_update_device() 1637 dev_dbg(dev, "temp_add[%d][%d] is: 0x%04x\n", i, j, in w83791d_print_debug() 1638 (u16) data->temp_add[i][j]); in w83791d_print_debug()
|