Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwmon/
Dw83791d.c1482 u8 reg_array_tmp[3]; in w83791d_update_device() local
1512 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1515 data->fan_div[0] = (reg_array_tmp[0] >> 4) & 0x03; in w83791d_update_device()
1516 data->fan_div[1] = (reg_array_tmp[0] >> 6) & 0x03; in w83791d_update_device()
1517 data->fan_div[2] = (reg_array_tmp[1] >> 6) & 0x03; in w83791d_update_device()
1518 data->fan_div[3] = reg_array_tmp[2] & 0x07; in w83791d_update_device()
1519 data->fan_div[4] = (reg_array_tmp[2] >> 4) & 0x07; in w83791d_update_device()
1537 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1540 data->pwm_enable[0] = (reg_array_tmp[0] >> 2) & 0x03; in w83791d_update_device()
1541 data->pwm_enable[1] = (reg_array_tmp[0] >> 4) & 0x03; in w83791d_update_device()
[all …]
Dw83792d.c1485 u8 reg_array_tmp[4], reg_tmp; in w83792d_update_device() local
1536 reg_array_tmp[i] = w83792d_read_value(client, in w83792d_update_device()
1539 data->fan_div[0] = reg_array_tmp[0] & 0x07; in w83792d_update_device()
1540 data->fan_div[1] = (reg_array_tmp[0] >> 4) & 0x07; in w83792d_update_device()
1541 data->fan_div[2] = reg_array_tmp[1] & 0x07; in w83792d_update_device()
1542 data->fan_div[3] = (reg_array_tmp[1] >> 4) & 0x07; in w83792d_update_device()
1543 data->fan_div[4] = reg_array_tmp[2] & 0x07; in w83792d_update_device()
1544 data->fan_div[5] = (reg_array_tmp[2] >> 4) & 0x07; in w83792d_update_device()
1545 data->fan_div[6] = reg_array_tmp[3] & 0x07; in w83792d_update_device()