Searched refs:fnodep (Results 1 – 8 of 8) sorted by relevance
222 fan_node_t *fnodep; in get_current_speed() local229 for (fnodep = &fan_nodes[0]; fnodep->fan_name != NULL; fnodep++) { in get_current_speed()230 if (fnodep->proph != proph) in get_current_speed()232 if (get_fan_speed(fnodep->fanp, &speed) < 0) in get_current_speed()627 fan_node_t *fnodep; in add_fan_nodes_and_props() local644 for (fnodep = fan_nodes; fnodep->fan_name != NULL; fnodep++) { in add_fan_nodes_and_props()647 if (fnodep->nodeh != NULL || fnodep->fanp == NULL) in add_fan_nodes_and_props()653 nodename = fnodep->fan_name; in add_fan_nodes_and_props()663 fnodep->nodeh = cnodeh; in add_fan_nodes_and_props()668 fanp = fnodep->fanp; in add_fan_nodes_and_props()[all …]
174 fan_node_t *fnodep; in set_current_speed() local183 fnodep = &fan_nodes[i]; in set_current_speed()184 if (fnodep->proph != proph) in set_current_speed()186 if (fnodep->fanp->fd == -1) in set_current_speed()191 ret = set_fan_speed(fnodep->fanp, speed); in set_current_speed()215 fan_node_t *fnodep; in get_current_speed() local224 fnodep = &fan_nodes[i]; in get_current_speed()225 if (fnodep->proph != proph) in get_current_speed()227 if (fnodep->fanp->fd == -1) in get_current_speed()229 if (get_fan_speed(fnodep->fanp, &speed) < 0) in get_current_speed()[all …]
514 env_fan_t *fnodep; in process_fru_seeprom() local588 for (i = 0; (fnodep = envd_fans[i]) != NULL; i++) in process_fru_seeprom()589 fnodep->es_ptr = &fan_ctrl[fnodep->id]; in process_fru_seeprom()
241 fan_node_t *fnodep; in get_current_speed() local249 for (fnodep = &fan_nodes[0]; fnodep->fan_name != NULL; fnodep++) { in get_current_speed()250 if (fnodep->proph != proph) in get_current_speed()252 if (get_fan_speed(fnodep->fanp, &speed) < 0) in get_current_speed()254 speed = (fanspeed_t)(speed * 100/fnodep->fanp->speed_max); in get_current_speed()665 fan_node_t *fnodep; in add_fan_nodes_and_props() local682 for (fnodep = fan_nodes; fnodep->fan_name != NULL; fnodep++) { in add_fan_nodes_and_props()685 if (fnodep->nodeh != NULL || fnodep->fanp == NULL) in add_fan_nodes_and_props()691 nodename = fnodep->fan_name; in add_fan_nodes_and_props()701 fnodep->nodeh = cnodeh; in add_fan_nodes_and_props()[all …]
231 fan_node_t *fnodep; in set_current_speed() local240 fnodep = &fan_nodes[i]; in set_current_speed()241 if (fnodep->proph != proph) in set_current_speed()243 if (fnodep->fanp->fd == -1) in set_current_speed()248 ret = set_fan_speed(fnodep->fanp, speed); in set_current_speed()273 fan_node_t *fnodep; in get_current_speed() local282 fnodep = &fan_nodes[i]; in get_current_speed()283 if (fnodep->proph != proph) in get_current_speed()285 if (fnodep->fanp->fd == -1) in get_current_speed()287 if (get_fan_speed(fnodep->fanp, &speed) < 0) in get_current_speed()[all …]
241 fan_node_t *fnodep; in set_current_speed() local250 fnodep = &fan_nodes[i]; in set_current_speed()251 if (fnodep->proph != proph) in set_current_speed()253 if (fnodep->fanp->fd == -1) in set_current_speed()258 ret = set_fan_speed(fnodep->fanp, speed); in set_current_speed()283 fan_node_t *fnodep; in get_current_speed() local292 fnodep = &fan_nodes[i]; in get_current_speed()293 if (fnodep->proph != proph) in get_current_speed()295 if (fnodep->fanp->fd == -1) in get_current_speed()297 if (get_fan_speed(fnodep->fanp, &speed) < 0) in get_current_speed()[all …]
659 env_fan_t *fnodep; in process_fru_seeprom() local742 for (i = 0; (fnodep = envd_fans[i]) != NULL; i++) in process_fru_seeprom()743 fnodep->es_ptr = &fan_ctrl[fnodep->id]; in process_fru_seeprom()
96 static NODE *fnodep = &nodes[0]; variable375 if (length == 0 && running && fnodep < &nodes[NSNODE]) { in emptynode()376 np = fnodep++; in emptynode()629 for (np = &nodes[0]; np < fnodep; np++) { in freetemps()636 fnodep = &nodes[0]; in freetemps()