Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dw83792d.c277 u8 pwmenable[3]; member
598 switch (data->pwmenable[nr]) { in show_pwmenable()
660 data->pwmenable[nr] = 0; /* manual mode */ in store_pwmenable()
663 data->pwmenable[nr] = 2; /* Smart Fan II */ in store_pwmenable()
666 data->pwmenable[nr] = 1; /* thermal cruise/Smart Fan I */ in store_pwmenable()
669 cfg1_tmp = data->pwmenable[0]; in store_pwmenable()
670 cfg2_tmp = (data->pwmenable[1]) << 2; in store_pwmenable()
671 cfg3_tmp = (data->pwmenable[2]) << 4; in store_pwmenable()
1517 data->pwmenable[0] = reg_tmp & 0x03; in w83792d_update_device()
1518 data->pwmenable[1] = (reg_tmp>>2) & 0x03; in w83792d_update_device()
[all …]