Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A 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()
H A 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()
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dtherm.h50 u8 max_duty; member
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dfan.c88 fan->max_duty = nvbios_rd08(bios, data + 0x03); in nvbios_fan_parse()
H A Dtherm.c171 fan->max_duty = (value & 0xff00) >> 8; in nvbios_therm_fan_parse()
/openbmc/qemu/include/hw/i2c/
H A Dpmbus_device.h308 uint16_t max_duty; /* R/W word */ member