Searched refs:cur_trip (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dtherm.c157 struct nvbios_therm_trip_point *cur_trip = NULL; nvbios_therm_fan_parse() local
179 cur_trip = &fan->trip[fan->nr_fan_trip - 1]; nvbios_therm_fan_parse()
180 cur_trip->hysteresis = value & 0xf; nvbios_therm_fan_parse()
181 cur_trip->temp = (value & 0xff0) >> 4; nvbios_therm_fan_parse()
182 cur_trip->fan_duty = duty_lut[(value & 0xf000) >> 12]; nvbios_therm_fan_parse()
185 cur_trip = &fan->trip[fan->nr_fan_trip - 1]; nvbios_therm_fan_parse()
186 cur_trip->fan_duty = value; nvbios_therm_fan_parse()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dbase.c33 *cur_trip = NULL, nvkm_therm_update_trip() local
39 cur_trip = NULL; nvkm_therm_update_trip()
42 cur_trip = &trip[i]; nvkm_therm_update_trip()
48 cur_trip = last_trip; nvkm_therm_update_trip()
50 if (cur_trip) { nvkm_therm_update_trip()
51 duty = cur_trip->fan_duty; nvkm_therm_update_trip()
52 priv->last_trip = cur_trip; nvkm_therm_update_trip()

Completed in 176 milliseconds