Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfan.c46 target = min_t(u8, target, fan->bios.max_duty); in nvkm_fan_update()
188 therm->fan->bios.max_duty = 100; in nvkm_therm_fan_set_defaults()
200 if (therm->fan->bios.max_duty > 100) in nvkm_therm_fan_safety_checks()
201 therm->fan->bios.max_duty = 100; in nvkm_therm_fan_safety_checks()
203 if (therm->fan->bios.min_duty > therm->fan->bios.max_duty) in nvkm_therm_fan_safety_checks()
204 therm->fan->bios.min_duty = therm->fan->bios.max_duty; in nvkm_therm_fan_safety_checks()
Dbase.c80 return therm->fan->bios.max_duty; in nvkm_therm_compute_linear_duty()
84 duty *= (therm->fan->bios.max_duty - therm->fan->bios.min_duty); in nvkm_therm_compute_linear_duty()
221 return therm->fan->bios.max_duty; in nvkm_therm_attr_get()
253 if (value > therm->fan->bios.max_duty) in nvkm_therm_attr_set()
254 value = therm->fan->bios.max_duty; in nvkm_therm_attr_set()
262 therm->fan->bios.max_duty = value; in nvkm_therm_attr_set()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dtherm.h50 u8 max_duty; member
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dfan.c88 fan->max_duty = nvbios_rd08(bios, data + 0x03); in nvbios_fan_parse()
Dtherm.c171 fan->max_duty = (value & 0xff00) >> 8; in nvbios_therm_fan_parse()