Lines Matching refs:has_features
214 u32 has_features; member
611 if (data->has_features & HAS_VID) { in dme1737_update_device()
623 if (ix == 7 && !(data->has_features & HAS_IN7)) in dme1737_update_device()
648 if (data->has_features & HAS_TEMP_OFFSET) { in dme1737_update_device()
661 if (ix == 5 && !(data->has_features & HAS_IN7)) in dme1737_update_device()
667 if (ix == 7 && !(data->has_features & HAS_IN7)) in dme1737_update_device()
683 if (!(data->has_features & HAS_FAN(ix))) in dme1737_update_device()
708 if (!(data->has_features & HAS_PWM(ix))) in dme1737_update_device()
730 if ((ix == 2) && !(data->has_features & HAS_ZONE3)) in dme1737_update_device()
745 if (data->has_features & HAS_ZONE_HYST) { in dme1737_update_device()
2068 if (data->has_features & HAS_FAN(ix)) { in dme1737_remove_files()
2075 if (data->has_features & HAS_PWM(ix)) { in dme1737_remove_files()
2078 if ((data->has_features & HAS_PWM_MIN) && ix < 3) { in dme1737_remove_files()
2085 if (data->has_features & HAS_TEMP_OFFSET) in dme1737_remove_files()
2087 if (data->has_features & HAS_VID) in dme1737_remove_files()
2089 if (data->has_features & HAS_ZONE3) in dme1737_remove_files()
2091 if (data->has_features & HAS_ZONE_HYST) in dme1737_remove_files()
2093 if (data->has_features & HAS_IN7) in dme1737_remove_files()
2119 if (data->has_features & HAS_TEMP_OFFSET) { in dme1737_create_files()
2125 if (data->has_features & HAS_VID) { in dme1737_create_files()
2130 if (data->has_features & HAS_ZONE3) { in dme1737_create_files()
2135 if (data->has_features & HAS_ZONE_HYST) { in dme1737_create_files()
2140 if (data->has_features & HAS_IN7) { in dme1737_create_files()
2148 if (data->has_features & HAS_FAN(ix)) { in dme1737_create_files()
2158 if (data->has_features & HAS_PWM(ix)) { in dme1737_create_files()
2163 if ((data->has_features & HAS_PWM_MIN) && (ix < 3)) { in dme1737_create_files()
2185 if (data->has_features & HAS_TEMP_OFFSET) { in dme1737_create_files()
2189 if (data->has_features & HAS_ZONE3) { in dme1737_create_files()
2193 if (data->has_features & HAS_ZONE_HYST) { in dme1737_create_files()
2200 if (data->has_features & HAS_PWM(ix)) { in dme1737_create_files()
2204 if ((data->has_features & HAS_PWM_MIN) && in dme1737_create_files()
2215 if ((data->has_features & HAS_PWM(ix)) && in dme1737_create_files()
2269 data->has_features |= HAS_FAN(2); in dme1737_init_device()
2277 data->has_features |= HAS_FAN(3) | HAS_PWM(2); in dme1737_init_device()
2293 data->has_features |= HAS_FAN(0) | HAS_FAN(1) | HAS_PWM(0) | HAS_PWM(1); in dme1737_init_device()
2298 data->has_features |= HAS_TEMP_OFFSET | HAS_VID | HAS_ZONE3 | in dme1737_init_device()
2302 data->has_features |= HAS_TEMP_OFFSET | HAS_ZONE3 | in dme1737_init_device()
2306 data->has_features |= HAS_ZONE3; in dme1737_init_device()
2309 data->has_features |= HAS_FAN(2) | HAS_PWM(2) | HAS_IN7; in dme1737_init_device()
2317 (data->has_features & HAS_PWM(2)) ? "yes" : "no", in dme1737_init_device()
2318 (data->has_features & HAS_PWM(4)) ? "yes" : "no", in dme1737_init_device()
2319 (data->has_features & HAS_PWM(5)) ? "yes" : "no", in dme1737_init_device()
2320 (data->has_features & HAS_FAN(2)) ? "yes" : "no", in dme1737_init_device()
2321 (data->has_features & HAS_FAN(3)) ? "yes" : "no", in dme1737_init_device()
2322 (data->has_features & HAS_FAN(4)) ? "yes" : "no", in dme1737_init_device()
2323 (data->has_features & HAS_FAN(5)) ? "yes" : "no"); in dme1737_init_device()
2349 if ((data->has_features & HAS_PWM(ix)) && in dme1737_init_device()
2370 if (data->has_features & HAS_VID) in dme1737_init_device()
2417 data->has_features |= HAS_FAN(5); in dme1737_i2c_get_features()
2419 data->has_features |= HAS_PWM(5); in dme1737_i2c_get_features()
2421 data->has_features |= HAS_FAN(4); in dme1737_i2c_get_features()
2423 data->has_features |= HAS_PWM(4); in dme1737_i2c_get_features()