Searched refs:pmfanp (Results 1 – 2 of 2) sorted by relevance
617 env_fan_t *pmfanp = &envd_system_fan; in envthr() local653 fan_speed = pmfanp->speed_max; in envthr()656 fan_speed = pmfanp->speed_min; in envthr()661 "low-power:%d\n", pmfanp->name, in envthr()662 (uint_t)pmfanp->cur_speed, in envthr()665 if (fan_speed != pmfanp->cur_speed && in envthr()666 set_fan_speed(pmfanp, fan_speed) == 0) in envthr()667 pmfanp->cur_speed = fan_speed; in envthr()
2099 env_fan_t *pmfanp = &envd_psupply_fan; in envthr() local2184 fan_speed = (cur_lpstate) ? pmfanp->speed_min : in envthr()2185 pmfanp->speed_max; in envthr()2190 "low-power:%d\n", pmfanp->name, in envthr()2191 (float)pmfanp->cur_speed, in envthr()2194 if (fan_speed != (fanspeed_t)pmfanp->cur_speed && in envthr()2195 set_fan_speed(pmfanp, fan_speed) == 0) in envthr()2196 pmfanp->cur_speed = fan_speed; in envthr()