Lines Matching refs:i8k_fan_max
78 uint i8k_fan_max; member
320 speed = (speed < 0) ? 0 : ((speed > data->i8k_fan_max) ? data->i8k_fan_max : speed); in i8k_set_fan()
617 *state = cdata->data->i8k_fan_max; in dell_smm_get_max_state()
642 if (state > data->i8k_fan_max) in dell_smm_set_cur_state()
776 *val = data->fan_nominal_speed[channel][data->i8k_fan_max] * mult; in dell_smm_read()
784 if (ret > data->i8k_fan_max) in dell_smm_read()
785 ret = data->i8k_fan_max; in dell_smm_read()
878 data->i8k_fan_max); in dell_smm_write()
1024 data->fan_nominal_speed[i] = devm_kmalloc_array(dev, data->i8k_fan_max + 1, in dell_smm_init_hwmon()
1030 for (state = 0; state <= data->i8k_fan_max; state++) { in dell_smm_init_hwmon()
1397 data->i8k_fan_max = fan_max ? : I8K_FAN_HIGH; in dell_smm_probe()
1398 data->i8k_pwm_mult = DIV_ROUND_UP(255, data->i8k_fan_max); in dell_smm_probe()