Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/core/subdev/therm/
Dfan.c51 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()
Dbase.c78 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()
/drivers/gpu/drm/nouveau/core/include/subdev/bios/
Dtherm.h52 u8 max_duty; member
/drivers/gpu/drm/nouveau/core/subdev/bios/
Dfan.c88 fan->max_duty = nv_ro08(bios, data + 0x03); in nvbios_fan_parse()
Dtherm.c174 fan->max_duty = (value & 0xff00) >> 8; in nvbios_therm_fan_parse()