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