Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/core/subdev/bios/
Dtherm.c158 struct nouveau_therm_trip_point *cur_trip = NULL; in nvbios_therm_fan_parse() local
180 cur_trip = &fan->trip[fan->nr_fan_trip - 1]; in nvbios_therm_fan_parse()
181 cur_trip->hysteresis = value & 0xf; in nvbios_therm_fan_parse()
182 cur_trip->temp = (value & 0xff0) >> 4; in nvbios_therm_fan_parse()
183 cur_trip->fan_duty = duty_lut[(value & 0xf000) >> 12]; in nvbios_therm_fan_parse()
186 cur_trip = &fan->trip[fan->nr_fan_trip - 1]; in nvbios_therm_fan_parse()
187 cur_trip->fan_duty = value; in nvbios_therm_fan_parse()
/drivers/gpu/drm/nouveau/core/subdev/therm/
Dbase.c37 *cur_trip = NULL, in nouveau_therm_update_trip() local
43 cur_trip = NULL; in nouveau_therm_update_trip()
46 cur_trip = &trip[i]; in nouveau_therm_update_trip()
52 cur_trip = last_trip; in nouveau_therm_update_trip()
54 if (cur_trip) { in nouveau_therm_update_trip()
55 duty = cur_trip->fan_duty; in nouveau_therm_update_trip()
56 priv->last_trip = cur_trip; in nouveau_therm_update_trip()