Lines Matching defs:current_val
1336 int32_t current_val;
1365 if (picl_get_propval_by_name(nodeh, prop, ¤t_val,
1366 sizeof (current_val)) != PICL_SUCCESS) {
1395 current_val <= lo_poweroff) ||
1397 current_val >= hi_poweroff)) {
1400 current_val <= lo_shutdown) ||
1402 current_val >= hi_shutdown)) {
1405 current_val <= lo_warning) ||
1407 current_val >= hi_warning)) {
1501 display_val = (double)current_val;
1503 display_val = (double)current_val *
1554 char current_val[PICL_PROPNAMELEN_MAX];
1578 PICL_PROP_OPERATIONAL_STATUS, current_val,
1579 sizeof (current_val));
1581 if (strcmp(current_val, "disabled") == 0) {
1589 if (picl_get_propval_by_name(nodeh, prop, ¤t_val,
1590 sizeof (current_val)) != PICL_SUCCESS) {
1591 (void) strlcpy(current_val, "unknown",
1592 sizeof (current_val));
1598 if (strncmp(current_val, expected_val,
1599 sizeof (current_val)) == 0) {
1685 log_printf("%-8s", current_val);