Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ !
Dtherm.c155 struct nvbios_therm_trip_point *cur_trip = NULL; in nvbios_therm_fan_parse() local
177 cur_trip = &fan->trip[fan->nr_fan_trip - 1]; in nvbios_therm_fan_parse()
178 cur_trip->hysteresis = value & 0xf; in nvbios_therm_fan_parse()
179 cur_trip->temp = (value & 0xff0) >> 4; in nvbios_therm_fan_parse()
180 cur_trip->fan_duty = duty_lut[(value & 0xf000) >> 12]; in nvbios_therm_fan_parse()
183 cur_trip = &fan->trip[fan->nr_fan_trip - 1]; in nvbios_therm_fan_parse()
184 cur_trip->fan_duty = value; in nvbios_therm_fan_parse()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ !
Dbase.c41 *cur_trip = NULL, in nvkm_therm_update_trip() local
47 cur_trip = NULL; in nvkm_therm_update_trip()
50 cur_trip = &trip[i]; in nvkm_therm_update_trip()
56 cur_trip = last_trip; in nvkm_therm_update_trip()
58 if (cur_trip) { in nvkm_therm_update_trip()
59 duty = cur_trip->fan_duty; in nvkm_therm_update_trip()
60 therm->last_trip = cur_trip; in nvkm_therm_update_trip()