Searched refs:ptherm (Results 1 – 2 of 2) sorted by relevance
140 nvkm_therm_cstate(struct nvkm_therm *ptherm, int fan, int dir) in nvkm_therm_cstate() argument142 struct nvkm_therm_priv *priv = (void *)ptherm; in nvkm_therm_cstate()145 nv_debug(ptherm, "default fan speed -> %d%%\n", fan); in nvkm_therm_cstate()147 nvkm_therm_update(ptherm, -1); in nvkm_therm_cstate()
80 struct nvkm_therm *ptherm = nvkm_therm(clk); in nvkm_cstate_prog() local91 if (ptherm) { in nvkm_cstate_prog()92 ret = nvkm_therm_cstate(ptherm, pstate->fanspeed, +1); in nvkm_cstate_prog()119 if (ptherm) { in nvkm_cstate_prog()120 ret = nvkm_therm_cstate(ptherm, pstate->fanspeed, -1); in nvkm_cstate_prog()