Lines Matching +defs:val +defs:args
289 char val[PICL_PROPNAMELEN_MAX], *p, *q;
293 if (picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, val,
294 sizeof (val)) == PICL_SUCCESS) {
295 if (strstr(val, PICL_CLASS_PCIEX))
298 else if (strstr(val, PICL_CLASS_PCI))
317 if (strstr(val, "SUNW,") != NULL)
318 p = strchr(val, ',') + 1;
320 p = val;
348 char val[PICL_PROPNAMELEN_MAX];
358 err = picl_get_propval_by_name(nodeh, PICL_PROP_LABEL, val,
359 sizeof (val));
361 (void) strlcpy(card->slot_str, val, sizeof (card->slot_str));
416 PICL_PROP_LABEL, val, sizeof (val))) ==
418 (void) strlcpy(card->slot_str, val,
549 sun4v_pci_callback(picl_nodehdl_t pcih, void *args)
556 char val[PICL_PROPNAMELEN_MAX];
582 if (args) {
583 char *val = args;
584 if (strcmp(class, val) == 0) {
589 } else if (strcmp(val, PICL_CLASS_PCIEX) == 0 &&
595 } else if (strcmp(val, PICL_CLASS_PCI) == 0 &&
660 err = picl_get_propval_by_name(nodeh, PICL_PROP_STATUS, val,
661 sizeof (val));
663 (void) strlcpy(val, "", sizeof (val));
779 log_printf("%-18s", val);
941 char val[PICL_PROPNAMELEN_MAX];
963 PICL_PROP_NAC, val, sizeof (val)) !=
968 log_printf("%s\n", val);
974 val);
990 sun4v_memory_conf_callback(picl_nodehdl_t nodeh, void *args)
1102 sun4v_display_cpus(picl_nodehdl_t cpuh, void* args)
1324 sun4v_env_print_sensor_callback(picl_nodehdl_t nodeh, void *args)
1326 char val[PICL_PROPNAMELEN_MAX];
1348 prop = (char *)args;
1354 PICL_PROP_OPERATIONAL_STATUS, val,
1355 sizeof (val));
1357 if (strcmp(val, "disabled") == 0) {
1487 err = picl_get_propval_by_name(nodeh, PICL_PROP_LABEL, val,
1488 sizeof (val));
1490 log_printf("%-19s", val);
1552 sun4v_env_print_indicator_callback(picl_nodehdl_t nodeh, void *args)
1561 char *prop = (char *)args;
1572 prop = (char *)args;
1956 sun4v_print_fru_status_callback(picl_nodehdl_t nodeh, void *args)
2115 sun4v_print_fw_rev_callback(picl_nodehdl_t nodeh, void *args)
2271 char val[PICL_PROPNAMELEN_MAX];
2281 val, sizeof (val));
2283 log_printf("%s", val);