Searched refs:max_duty (Results 1 – 5 of 5) sorted by relevance
46 target = min_t(u8, target, fan->bios.max_duty); in nvkm_fan_update()189 priv->fan->bios.max_duty = 100; in nvkm_therm_fan_set_defaults()203 if (priv->fan->bios.max_duty > 100) in nvkm_therm_fan_safety_checks()204 priv->fan->bios.max_duty = 100; in nvkm_therm_fan_safety_checks()206 if (priv->fan->bios.min_duty > priv->fan->bios.max_duty) in nvkm_therm_fan_safety_checks()207 priv->fan->bios.min_duty = priv->fan->bios.max_duty; in nvkm_therm_fan_safety_checks()
74 return priv->fan->bios.max_duty; in nvkm_therm_update_linear()78 duty *= (priv->fan->bios.max_duty - priv->fan->bios.min_duty); in nvkm_therm_update_linear()200 return priv->fan->bios.max_duty; in nvkm_therm_attr_get()234 if (value > priv->fan->bios.max_duty) in nvkm_therm_attr_set()235 value = priv->fan->bios.max_duty; in nvkm_therm_attr_set()243 priv->fan->bios.max_duty = value; in nvkm_therm_attr_set()
49 u8 max_duty; member
87 fan->max_duty = nv_ro08(bios, data + 0x03); in nvbios_fan_parse()
173 fan->max_duty = (value & 0xff00) >> 8; in nvbios_therm_fan_parse()