Lines Matching refs:wwn
180 lpfc_valid_wwn_format(struct lpfc_hba *phba, struct lpfc_name *wwn, in lpfc_valid_wwn_format() argument
186 if (!((wwn->u.wwn[0] >> 4) == 1 && in lpfc_valid_wwn_format()
187 ((wwn->u.wwn[0] & 0xf) != 0 || (wwn->u.wwn[1] & 0xf) != 0))) in lpfc_valid_wwn_format()
194 wwn->u.wwn[0], wwn->u.wwn[1], in lpfc_valid_wwn_format()
195 wwn->u.wwn[2], wwn->u.wwn[3], in lpfc_valid_wwn_format()
196 wwn->u.wwn[4], wwn->u.wwn[5], in lpfc_valid_wwn_format()
197 wwn->u.wwn[6], wwn->u.wwn[7]); in lpfc_valid_wwn_format()
370 u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn); in lpfc_vport_create()
371 u64_to_wwn(fc_vport->port_name, vport->fc_portname.u.wwn); in lpfc_vport_create()
373 memcpy(&vport->fc_sparam.portName, vport->fc_portname.u.wwn, 8); in lpfc_vport_create()
374 memcpy(&vport->fc_sparam.nodeName, vport->fc_nodename.u.wwn, 8); in lpfc_vport_create()