Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dnct6775-platform.c487 bool fan3pin = false, fan4pin = false, fan4min = false; in nct6775_check_fan_inputs() local
500 fan3pin = cr2c & BIT(6); in nct6775_check_fan_inputs()
529 fan3pin = gpok; in nct6775_check_fan_inputs()
531 fan3pin = !(sio_data->sio_inb(sio_data, 0x24) & 0x40); in nct6775_check_fan_inputs()
544 pwm3pin = fan3pin; in nct6775_check_fan_inputs()
548 fan3pin = !(cr24 & 0x80); in nct6775_check_fan_inputs()
558 fan3pin = !(cr2b & 0x10); in nct6775_check_fan_inputs()
564 pwm3pin = fan3pin && (cr24 & 0x08); in nct6775_check_fan_inputs()
596 fan3pin = !(cr1c & BIT(5)); in nct6775_check_fan_inputs()
725 data->has_fan = 0x03 | (fan3pin << 2) | (fan4pin << 3) | in nct6775_check_fan_inputs()
[all …]
H A Dw83627ehf.c1294 int fan3pin, fan4pin, fan5pin, regval; in w83627ehf_check_fan_inputs() local
1305 fan3pin = 1; in w83627ehf_check_fan_inputs()
1309 fan3pin = 1; in w83627ehf_check_fan_inputs()
1315 data->has_fan |= (fan3pin << 2); in w83627ehf_check_fan_inputs()
1316 data->has_fan_min |= (fan3pin << 2); in w83627ehf_check_fan_inputs()