Searched refs:max_duty (Results 1 – 6 of 6) sorted by relevance
46 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()
80 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()
50 u8 max_duty; member
88 fan->max_duty = nvbios_rd08(bios, data + 0x03); in nvbios_fan_parse()
171 fan->max_duty = (value & 0xff00) >> 8; in nvbios_therm_fan_parse()
308 uint16_t max_duty; /* R/W word */ member