Searched refs:fan_config (Results 1 – 3 of 3) sorted by relevance
65 u8 fan_config[NR_CHANNEL]; member103 if (data->fan_config[i] in max31790_update_device()209 *val = !!(data->fan_config[channel] & MAX31790_FAN_CFG_TACH_INPUT_EN); in max31790_read_fan()223 u8 bits, fan_config; in max31790_write_fan() local253 fan_config = data->fan_config[channel]; in max31790_write_fan()255 fan_config &= ~MAX31790_FAN_CFG_TACH_INPUT_EN; in max31790_write_fan()257 fan_config |= MAX31790_FAN_CFG_TACH_INPUT_EN; in max31790_write_fan()262 if (fan_config != data->fan_config[channel]) { in max31790_write_fan()264 fan_config); in max31790_write_fan()266 data->fan_config[channel] = fan_config; in max31790_write_fan()[all …]
34 u32 fan_config[GSC_HWMON_MAX_FAN_CH + 1]; member357 hwmon->fan_config[i_fan] = HWMON_F_INPUT | in gsc_hwmon_probe()390 hwmon->fan_info.config = hwmon->fan_config; in gsc_hwmon_probe()
90 int fan_config = 0; in ucd9000_get_fan_config() local95 fan_config |= PB_FAN_2_INSTALLED; /* Use lower bit position */ in ucd9000_get_fan_config()98 fan_config |= (data->fan_data[fan][3] & 0x06) >> 1; in ucd9000_get_fan_config()100 return fan_config; in ucd9000_get_fan_config()106 int fan_config; in ucd9000_read_byte_data() local116 fan_config = ret << 4; in ucd9000_read_byte_data()120 fan_config |= ret; in ucd9000_read_byte_data()121 ret = fan_config; in ucd9000_read_byte_data()130 fan_config = ret << 4; in ucd9000_read_byte_data()134 fan_config |= ret; in ucd9000_read_byte_data()[all …]