Searched refs:snodep (Results 1 – 7 of 7) sorted by relevance
174 sensor_node_t *snodep; in get_current_target_temp() local183 for (snodep = &sensor_nodes[0]; snodep->sensor_name != NULL; in get_current_target_temp()184 snodep++) { in get_current_target_temp()185 if (snodep->target_proph != proph) in get_current_target_temp()188 if ((sensorp = snodep->sensorp) == NULL) in get_current_target_temp()208 sensor_node_t *snodep; in get_current_temp() local216 for (snodep = &sensor_nodes[0]; snodep->sensor_name != NULL; in get_current_temp()217 snodep++) { in get_current_temp()218 if (snodep->proph != proph && in get_current_temp()219 snodep->sdev_proph != proph) in get_current_temp()[all …]
193 sensor_node_t *snodep; in get_current_temp() local200 for (snodep = &sensor_nodes[0]; snodep->sensor_name != NULL; snodep++) { in get_current_temp()201 if (snodep->proph != proph && in get_current_temp()202 snodep->sdev_proph != proph) in get_current_temp()205 if (get_temperature(snodep->sensorp, &temp) < 0) in get_current_temp()453 sensor_node_t *snodep; in add_sensor_nodes_and_props() local476 for (snodep = sensor_nodes; snodep->sensor_name != NULL; in add_sensor_nodes_and_props()477 snodep++) { in add_sensor_nodes_and_props()480 if (strcasecmp(unitaddr, snodep->unitaddr) != 0) in add_sensor_nodes_and_props()486 sensorp = snodep->sensorp; in add_sensor_nodes_and_props()[all …]
146 sensor_node_t *snodep; in get_current_temp() local155 snodep = &sensor_nodes[i]; in get_current_temp()156 if (snodep->proph != proph) in get_current_temp()159 if (get_temperature(snodep->sensorp, &temp) < 0) in get_current_temp()333 sensor_node_t *snodep; in add_sensor_nodes_and_props() local341 snodep = &sensor_nodes[i]; in add_sensor_nodes_and_props()345 err = ptree_get_node_by_path(snodep->parent_path, &nodeh); in add_sensor_nodes_and_props()348 sensorp = snodep->sensorp; in add_sensor_nodes_and_props()353 nodename = snodep->sensor_name; in add_sensor_nodes_and_props()364 snodep->nodeh = cnodeh; in add_sensor_nodes_and_props()[all …]
515 env_sensor_t *snodep; in process_fru_seeprom() local581 for (snodep = envd_sensors; snodep->name != NULL; snodep++) in process_fru_seeprom()582 snodep->es_ptr = &sensor_ctrl[snodep->id]; in process_fru_seeprom()
173 sensor_node_t *snodep; in get_current_temp() local182 snodep = &sensor_nodes[i]; in get_current_temp()183 if (snodep->proph != proph) in get_current_temp()186 if (get_temperature(snodep->sensorp, &temp) < 0) in get_current_temp()392 sensor_node_t *snodep; in add_sensor_nodes_and_props() local400 snodep = &sensor_nodes[i]; in add_sensor_nodes_and_props()404 err = ptree_get_node_by_path(snodep->parent_path, &nodeh); in add_sensor_nodes_and_props()408 snodep->parent_path); in add_sensor_nodes_and_props()411 sensorp = snodep->sensorp; in add_sensor_nodes_and_props()419 nodename = snodep->sensor_name; in add_sensor_nodes_and_props()[all …]
183 sensor_node_t *snodep; in get_current_temp() local192 snodep = &sensor_nodes[i]; in get_current_temp()193 if (snodep->proph != proph) in get_current_temp()196 if (get_temperature(snodep->sensorp, &temp) < 0) in get_current_temp()402 sensor_node_t *snodep; in add_sensor_nodes_and_props() local410 snodep = &sensor_nodes[i]; in add_sensor_nodes_and_props()414 err = ptree_get_node_by_path(snodep->parent_path, &nodeh); in add_sensor_nodes_and_props()417 sensorp = snodep->sensorp; in add_sensor_nodes_and_props()423 nodename = snodep->sensor_name; in add_sensor_nodes_and_props()434 snodep->nodeh = cnodeh; in add_sensor_nodes_and_props()[all …]
660 env_sensor_t *snodep; in process_fru_seeprom() local734 snodep = &envd_sensors[i]; in process_fru_seeprom()735 snodep->es_ptr = &sensor_ctrl[snodep->id]; in process_fru_seeprom()