Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwmon/
Dw83793.c233 u16 has_fan; /* Only fan1- fan5 has own pins */ member
1716 data->has_fan = 0x1f; in w83793_probe()
1727 data->has_fan |= 0x20; in w83793_probe()
1731 data->has_fan |= 0x40; in w83793_probe()
1735 data->has_fan |= 0x80; in w83793_probe()
1745 data->has_fan |= 0x100; in w83793_probe()
1747 data->has_fan |= 0x200; in w83793_probe()
1751 data->has_fan |= 0x400; in w83793_probe()
1753 data->has_fan |= 0x800; in w83793_probe()
1757 data->has_fan |= 0x80; in w83793_probe()
[all …]
Dw83627ehf.c471 u8 has_fan; /* some fan inputs can be disabled */ member
638 reg |= (data->has_fan & (1 << 4)) ? 1 : 0; in w83627ehf_write_fan_div()
648 reg |= (data->has_fan & (1 << 4)) ? 1 : 0; in w83627ehf_write_fan_div()
701 if (data->has_fan & (1<<3)) in nct6775_update_fan_div()
718 if (data->has_fan & ((1 << 3) | (1 << 4))) { in w83627ehf_update_fan_div()
724 if (data->has_fan & (1 << 3)) { in w83627ehf_update_fan_div()
767 if (!(data->has_fan & (1 << i))) in w83627ehf_update_pwm()
829 if (!(data->has_fan & (1 << i))) in w83627ehf_update_device()
868 if (!(data->has_fan & (1 << i))) in w83627ehf_update_device()
1974 data->has_fan = 0x03; /* fan1 and fan2 */ in w83627ehf_check_fan_inputs()
[all …]
Dit87.c539 u8 has_fan; /* Bitfield, fans enabled */ member
782 if (!(data->has_fan & BIT(i))) in it87_update_device()
818 if ((data->has_fan & 0x07) && !has_16bit_fans(data)) { in it87_update_device()
2180 if (!(data->has_fan & BIT(i))) in it87_fan_is_visible()
2187 if (i == __ffs(data->has_fan)) in it87_fan_is_visible()
2900 if (~reg & 0x07 & data->has_fan) { in it87_check_tachometers_16bit_mode()
2955 data->has_fan = (data->fan_main_ctrl >> 4) & 0x07; in it87_init_device()
2964 data->has_fan |= BIT(3); /* fan4 enabled */ in it87_init_device()
2966 data->has_fan |= BIT(4); /* fan5 enabled */ in it87_init_device()
2968 data->has_fan |= BIT(5); /* fan6 enabled */ in it87_init_device()
[all …]
Dw83795.c347 u16 has_fan; /* Enable fan14-1 or not */ member
497 if ((i & 1) == 0 && (data->has_fan & (3 << i))) in w83795_update_limits()
500 if (!(data->has_fan & (1 << i))) in w83795_update_limits()
646 if (!(data->has_fan & (1 << i))) in w83795_update_device()
2017 if (!(data->has_fan & (1 << i))) in w83795_handle_files()
2174 data->has_fan = w83795_read(client, W83795_REG_FANIN_CTRL1) in w83795_probe()
Dnct6775.c1052 u8 has_fan; /* some fan inputs can be disabled */ member
1413 if (data->has_fan & BIT(3)) in nct6775_update_fan_div()
1435 if (!(data->has_fan & BIT(i))) in nct6775_init_fan_div()
1688 if (!(data->has_fan & BIT(i))) in nct6775_update_device()
2151 if (!(data->has_fan & BIT(fan))) in nct6775_fan_is_visible()
3577 data->has_fan = 0x03 | (fan3pin << 2) | (fan4pin << 3) | in nct6775_check_fan_inputs()
4326 fls(data->has_fan)); in nct6775_probe()