Home
last modified time | relevance | path

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

/drivers/hwmon/
Dw83793.c199 u16 has_fan; /* Only fan1- fan5 has own pins */ member
1251 data->has_fan = 0x1f; in w83793_probe()
1262 data->has_fan |= 0x20; in w83793_probe()
1266 data->has_fan |= 0x40; in w83793_probe()
1270 data->has_fan |= 0x80; in w83793_probe()
1280 data->has_fan |= 0x100; in w83793_probe()
1282 data->has_fan |= 0x200; in w83793_probe()
1286 data->has_fan |= 0x400; in w83793_probe()
1288 data->has_fan |= 0x800; in w83793_probe()
1292 data->has_fan |= 0x80; in w83793_probe()
[all …]
Dit87.c267 u8 has_fan; /* Bitfield, fans enabled */ member
1128 if (data->has_fan & (1 << 0)) { in it87_probe()
1137 if (data->has_fan & (1 << 1)) { in it87_probe()
1146 if (data->has_fan & (1 << 2)) { in it87_probe()
1155 if (data->has_fan & (1 << 3)) { in it87_probe()
1164 if (data->has_fan & (1 << 4)) { in it87_probe()
1175 if (data->has_fan & (1 << 0)) { in it87_probe()
1186 if (data->has_fan & (1 << 1)) { in it87_probe()
1197 if (data->has_fan & (1 << 2)) { in it87_probe()
1412 data->has_fan = (data->fan_main_ctrl >> 4) & 0x07; in it87_init_device()
[all …]
Ddme1737.c195 u8 has_fan; member
633 if (!(data->has_fan & (1 << ix))) { in dme1737_update_device()
1885 if (data->has_fan & (1 << ix)) { in dme1737_remove_files()
1938 if (data->has_fan & (1 << ix)) { in dme1737_create_files()
2045 data->has_fan |= (1 << 2); in dme1737_init_device()
2052 data->has_fan |= (1 << 3); in dme1737_init_device()
2068 data->has_fan |= (1 << 2); in dme1737_init_device()
2073 data->has_fan |= 0x03; in dme1737_init_device()
2081 (data->has_fan & (1 << 2)) ? "yes" : "no", in dme1737_init_device()
2082 (data->has_fan & (1 << 3)) ? "yes" : "no", in dme1737_init_device()
[all …]
Dw83627ehf.c279 u8 has_fan; /* some fan inputs can be disabled */ member
386 reg |= (data->has_fan & (1 << 4)) ? 1 : 0; in w83627ehf_write_fan_div()
396 reg |= (data->has_fan & (1 << 4)) ? 1 : 0; in w83627ehf_write_fan_div()
440 if (data->has_fan & ((1 << 3) | (1 << 4))) { in w83627ehf_update_fan_div()
446 if (data->has_fan & (1 << 3)) { in w83627ehf_update_fan_div()
477 if (!(data->has_fan & (1 << i))) in w83627ehf_update_device()
1330 data->has_fan = 0x07; /* fan1, fan2 and fan3 */ in w83627ehf_probe()
1333 data->has_fan |= (1 << 3); in w83627ehf_probe()
1335 data->has_fan |= (1 << 4); in w83627ehf_probe()
1347 if (data->has_fan & (1 << 3)) in w83627ehf_probe()
[all …]