Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwmon/
Dw83627ehf.c335 u8 has_fan; /* some fan inputs can be disabled */ member
471 reg |= (data->has_fan & (1 << 4)) ? 1 : 0; in w83627ehf_write_fan_div()
481 reg |= (data->has_fan & (1 << 4)) ? 1 : 0; in w83627ehf_write_fan_div()
525 if (data->has_fan & ((1 << 3) | (1 << 4))) { in w83627ehf_update_fan_div()
531 if (data->has_fan & (1 << 3)) { in w83627ehf_update_fan_div()
543 if (!(data->has_fan & (1 << i))) in w83627ehf_update_pwm()
592 if (!(data->has_fan & (1 << i))) in w83627ehf_update_device()
627 if (!(data->has_fan & (1 << i))) in w83627ehf_update_device()
1139 (data->has_fan & (1 << 2)) && data->pwm_num >= 3 && in w83627ehf_attrs_visible()
1146 (data->has_fan & (1 << 3)) && data->pwm_num >= 4 && in w83627ehf_attrs_visible()
[all …]
Dw83793.c219 u16 has_fan; /* Only fan1- fan5 has own pins */ member
1687 data->has_fan = 0x1f; in w83793_probe()
1698 data->has_fan |= 0x20; in w83793_probe()
1702 data->has_fan |= 0x40; in w83793_probe()
1706 data->has_fan |= 0x80; in w83793_probe()
1716 data->has_fan |= 0x100; in w83793_probe()
1718 data->has_fan |= 0x200; in w83793_probe()
1722 data->has_fan |= 0x400; in w83793_probe()
1724 data->has_fan |= 0x800; in w83793_probe()
1728 data->has_fan |= 0x80; in w83793_probe()
[all …]
Dnct6775-i2c.c127 data->has_fan = 0x03; in nct6775_i2c_probe_init()
Dit87.c530 u8 has_fan; /* Bitfield, fans enabled */ member
773 if (!(data->has_fan & BIT(i))) in it87_update_device()
809 if ((data->has_fan & 0x07) && !has_16bit_fans(data)) { in it87_update_device()
2171 if (!(data->has_fan & BIT(i))) in it87_fan_is_visible()
2178 if (i == __ffs(data->has_fan)) in it87_fan_is_visible()
2891 if (~reg & 0x07 & data->has_fan) { in it87_check_tachometers_16bit_mode()
2946 data->has_fan = (data->fan_main_ctrl >> 4) & 0x07; in it87_init_device()
2955 data->has_fan |= BIT(3); /* fan4 enabled */ in it87_init_device()
2957 data->has_fan |= BIT(4); /* fan5 enabled */ in it87_init_device()
2959 data->has_fan |= BIT(5); /* fan6 enabled */ in it87_init_device()
[all …]
Dnct6775.h106 u8 has_fan; /* some fan inputs can be disabled */ member
Dw83795.c334 u16 has_fan; /* Enable fan14-1 or not */ member
484 if ((i & 1) == 0 && (data->has_fan & (3 << i))) in w83795_update_limits()
487 if (!(data->has_fan & (1 << i))) in w83795_update_limits()
633 if (!(data->has_fan & (1 << i))) in w83795_update_device()
2004 if (!(data->has_fan & (1 << i))) in w83795_handle_files()
2162 data->has_fan = w83795_read(client, W83795_REG_FANIN_CTRL1) in w83795_probe()
Dnct6775-core.c1178 if (data->has_fan & BIT(3)) in nct6775_update_fan_div()
1206 if (!(data->has_fan & BIT(i))) in nct6775_init_fan_div()
1521 if (!(data->has_fan & BIT(i))) in nct6775_update_device()
2049 if (!(data->has_fan & BIT(fan))) in nct6775_fan_is_visible()
4179 fls(data->has_fan)); in nct6775_probe()
Dnct6775-platform.c685 data->has_fan = 0x03 | (fan3pin << 2) | (fan4pin << 3) | in nct6775_check_fan_inputs()