Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfan.c45 target = max_t(u8, target, fan->bios.min_duty); in nvkm_fan_update()
187 therm->fan->bios.min_duty = 0; in nvkm_therm_fan_set_defaults()
198 if (therm->fan->bios.min_duty > 100) in nvkm_therm_fan_safety_checks()
199 therm->fan->bios.min_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.c78 return therm->fan->bios.min_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()
86 duty += therm->fan->bios.min_duty; in nvkm_therm_compute_linear_duty()
219 return therm->fan->bios.min_duty; in nvkm_therm_attr_get()
255 therm->fan->bios.min_duty = value; in nvkm_therm_attr_set()
260 if (value < therm->fan->bios.min_duty) in nvkm_therm_attr_set()
261 value = therm->fan->bios.min_duty; in nvkm_therm_attr_set()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dtherm.h49 u8 min_duty; member
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dfan.c87 fan->min_duty = nvbios_rd08(bios, data + 0x02); in nvbios_fan_parse()
Dtherm.c170 fan->min_duty = value & 0xff; in nvbios_therm_fan_parse()