Lines Matching refs:props
153 static int get_status(nvlist_t *props, ucode_status_t *sp);
298 nvlist_t *props;
432 if ((props = ses_node_props(rootnodep)) == NULL) {
444 if ((nvlist_lookup_string(props, SCSI_PROP_VENDOR,
446 (nvlist_lookup_string(props, SCSI_PROP_PRODUCT,
448 (nvlist_lookup_string(props, SCSI_PROP_REVISION,
463 if ((props = ses_node_props(nodep)) == NULL) {
481 if (nvlist_lookup_string(props, LIBSES_EN_PROP_CSN,
584 get_status(nvlist_t *props, ucode_status_t *sp)
589 if (nvlist_lookup_uint64(props, SES_EN_PROP_UCODE, &status) != 0) {
596 if (nvlist_lookup_uint64(props, SES_EN_PROP_UCODE_A,
631 nvlist_t *props;
635 if ((props = ses_node_props(np)) == NULL) {
639 if (get_status(props, &status) != FWFLASH_SUCCESS)
661 nvlist_t *props;
679 props = ses_node_props(np);
680 if ((props == NULL) ||
681 (nvlist_lookup_string(props, SES_EN_PROP_VID, &vendor) != 0) ||
682 (nvlist_lookup_string(props, SES_EN_PROP_PID, &product) != 0) ||
683 (nvlist_lookup_string(props, SES_EN_PROP_REV, &revision) != 0) ||
684 (nvlist_lookup_string(props, LIBSES_EN_PROP_CSN, &csn) != 0)) {
693 ret = get_status(props, &statdesc);