Lines Matching refs:current_val
1134 int32_t current_val;
1163 if (picl_get_propval_by_name(nodeh, prop, ¤t_val,
1164 sizeof (current_val)) != PICL_SUCCESS) {
1193 current_val <= lo_poweroff) ||
1195 current_val >= hi_poweroff)) {
1198 current_val <= lo_shutdown) ||
1200 current_val >= hi_shutdown)) {
1203 current_val <= lo_warning) ||
1205 current_val >= hi_warning)) {
1299 display_val = (double)current_val;
1301 display_val = (double)current_val *
1352 char current_val[PICL_PROPNAMELEN_MAX];
1376 PICL_PROP_OPERATIONAL_STATUS, current_val,
1377 sizeof (current_val));
1379 if (strcmp(current_val, "disabled") == 0) {
1387 if (picl_get_propval_by_name(nodeh, prop, ¤t_val,
1388 sizeof (current_val)) != PICL_SUCCESS) {
1389 (void) strlcpy(current_val, "unknown",
1390 sizeof (current_val));
1396 if (strncmp(current_val, expected_val,
1397 sizeof (current_val)) == 0) {
1483 log_printf("%-8s", current_val);