Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Ddell-smm-hwmon.c86 int *fan_nominal_speed[DELL_SMM_NO_FANS]; member
699 if (data->fan_nominal_speed[channel]) in dell_smm_is_visible()
772 *val = data->fan_nominal_speed[channel][0] * mult; in dell_smm_read()
776 *val = data->fan_nominal_speed[channel][data->i8k_fan_max] * mult; in dell_smm_read()
787 *val = data->fan_nominal_speed[channel][ret] * mult; in dell_smm_read()
1024 data->fan_nominal_speed[i] = devm_kmalloc_array(dev, data->i8k_fan_max + 1, in dell_smm_init_hwmon()
1025 sizeof(*data->fan_nominal_speed[i]), in dell_smm_init_hwmon()
1027 if (!data->fan_nominal_speed[i]) in dell_smm_init_hwmon()
1034 devm_kfree(dev, data->fan_nominal_speed[i]); in dell_smm_init_hwmon()
1035 data->fan_nominal_speed[i] = NULL; in dell_smm_init_hwmon()
[all …]