Searched refs:max_duty (Results 1 – 5 of 5) sorted by relevance
51 target = min_t(u8, target, fan->bios.max_duty); in nouveau_fan_update()194 priv->fan->bios.max_duty = 100; in nouveau_therm_fan_set_defaults()208 if (priv->fan->bios.max_duty > 100) in nouveau_therm_fan_safety_checks()209 priv->fan->bios.max_duty = 100; in nouveau_therm_fan_safety_checks()211 if (priv->fan->bios.min_duty > priv->fan->bios.max_duty) in nouveau_therm_fan_safety_checks()212 priv->fan->bios.min_duty = priv->fan->bios.max_duty; in nouveau_therm_fan_safety_checks()
78 return priv->fan->bios.max_duty; in nouveau_therm_update_linear()82 duty *= (priv->fan->bios.max_duty - priv->fan->bios.min_duty); in nouveau_therm_update_linear()205 return priv->fan->bios.max_duty; in nouveau_therm_attr_get()239 if (value > priv->fan->bios.max_duty) in nouveau_therm_attr_set()240 value = priv->fan->bios.max_duty; in nouveau_therm_attr_set()248 priv->fan->bios.max_duty = value; in nouveau_therm_attr_set()
52 u8 max_duty; member
88 fan->max_duty = nv_ro08(bios, data + 0x03); in nvbios_fan_parse()
174 fan->max_duty = (value & 0xff00) >> 8; in nvbios_therm_fan_parse()