Lines Matching refs:sptr
482 const char *sptr; in isp_get_specific_options() local
541 sptr = NULL; in isp_get_specific_options()
544 name, (const char **) &sptr) == 0 && sptr != NULL) { in isp_get_specific_options()
545 if (strcmp(sptr, "lport") == 0) { in isp_get_specific_options()
547 } else if (strcmp(sptr, "nport") == 0) { in isp_get_specific_options()
549 } else if (strcmp(sptr, "lport-only") == 0) { in isp_get_specific_options()
551 } else if (strcmp(sptr, "nport-only") == 0) { in isp_get_specific_options()
589 sptr = NULL; in isp_get_specific_options()
592 name, (const char **) &sptr); in isp_get_specific_options()
593 if (tval == 0 && sptr != NULL && *sptr++ == 'w') { in isp_get_specific_options()
595 ISP_FC_PC(isp, chan)->def_wwpn = strtouq(sptr, &eptr, 16); in isp_get_specific_options()
596 if (eptr < sptr + 16 || ISP_FC_PC(isp, chan)->def_wwpn == -1) { in isp_get_specific_options()
597 device_printf(dev, "mangled portwwn hint '%s'\n", sptr); in isp_get_specific_options()
602 sptr = NULL; in isp_get_specific_options()
605 name, (const char **) &sptr); in isp_get_specific_options()
606 if (tval == 0 && sptr != NULL && *sptr++ == 'w') { in isp_get_specific_options()
608 ISP_FC_PC(isp, chan)->def_wwnn = strtouq(sptr, &eptr, 16); in isp_get_specific_options()
609 if (eptr < sptr + 16 || ISP_FC_PC(isp, chan)->def_wwnn == 0) { in isp_get_specific_options()
610 device_printf(dev, "mangled nodewwn hint '%s'\n", sptr); in isp_get_specific_options()