Home
last modified time | relevance | path

Searched refs:reg_array_tmp (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dw83791d.c1480 u8 reg_array_tmp[3]; in w83791d_update_device() local
1510 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1513 data->fan_div[0] = (reg_array_tmp[0] >> 4) & 0x03; in w83791d_update_device()
1514 data->fan_div[1] = (reg_array_tmp[0] >> 6) & 0x03; in w83791d_update_device()
1515 data->fan_div[2] = (reg_array_tmp[1] >> 6) & 0x03; in w83791d_update_device()
1516 data->fan_div[3] = reg_array_tmp[2] & 0x07; in w83791d_update_device()
1517 data->fan_div[4] = (reg_array_tmp[2] >> 4) & 0x07; in w83791d_update_device()
1535 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1550 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1553 data->temp_tolerance[0] = reg_array_tmp[0] & 0x0f; in w83791d_update_device()
[all …]
H A Dw83792d.c1483 u8 reg_array_tmp[4], reg_tmp; in w83792d_update_device() local
1534 reg_array_tmp[i] = w83792d_read_value(client, in w83792d_update_device()
1537 data->fan_div[0] = reg_array_tmp[0] & 0x07; in w83792d_update_device()
1538 data->fan_div[1] = (reg_array_tmp[0] >> 4) & 0x07; in w83792d_update_device()
1539 data->fan_div[2] = reg_array_tmp[1] & 0x07; in w83792d_update_device()
1540 data->fan_div[3] = (reg_array_tmp[1] >> 4) & 0x07; in w83792d_update_device()
1541 data->fan_div[4] = reg_array_tmp[2] & 0x07; in w83792d_update_device()
1542 data->fan_div[5] = (reg_array_tmp[2] >> 4) & 0x07; in w83792d_update_device()
1543 data->fan_div[6] = reg_array_tmp[3] & 0x07; in w83792d_update_device()