Home
last modified time | relevance | path

Searched refs:fc_sparam (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_vport.c169 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); in lpfc_vport_sparm()
170 memcpy(&vport->fc_nodename, &vport->fc_sparam.nodeName, in lpfc_vport_sparm()
172 memcpy(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_vport_sparm()
215 if (memcmp(&vport->fc_sparam.portName, in lpfc_unique_wwpn()
216 &new_vport->fc_sparam.portName, in lpfc_unique_wwpn()
376 memcpy(&vport->fc_sparam.portName, vport->fc_portname.u.wwn, 8); in lpfc_vport_create()
377 memcpy(&vport->fc_sparam.nodeName, vport->fc_nodename.u.wwn, 8); in lpfc_vport_create()
379 if (!lpfc_valid_wwn_format(phba, &vport->fc_sparam.nodeName, "WWNN") || in lpfc_vport_create()
380 !lpfc_valid_wwn_format(phba, &vport->fc_sparam.portName, "WWPN")) { in lpfc_vport_create()
Dlpfc_ct.c2089 memcpy(&ae->un.AttrWWN, &vport->fc_sparam.nodeName, in lpfc_fdmi_hba_attr_wwnn()
2614 hsp = (struct serv_parm *)&vport->fc_sparam; in lpfc_fdmi_port_attr_max_frame()
2677 memcpy(&ae->un.AttrWWN, &vport->fc_sparam.nodeName, in lpfc_fdmi_port_attr_wwnn()
2695 memcpy(&ae->un.AttrWWN, &vport->fc_sparam.portName, in lpfc_fdmi_port_attr_wwpn()
2874 memcpy(&ae->un.AttrString, &vport->fc_sparam.nodeName, in lpfc_fdmi_smart_attr_guid()
2878 &vport->fc_sparam.portName, sizeof(struct lpfc_name)); in lpfc_fdmi_smart_attr_guid()
3110 memcpy(&rh->hi.PortName, &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3118 &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3164 &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3171 (uint8_t *)&vport->fc_sparam.portName, in lpfc_fdmi_cmd()
[all …]
Dlpfc_init.c350 uint8_t vvvl = vport->fc_sparam.cmn.valid_vendor_ver_level; in lpfc_update_vport_wwn()
351 u32 *fawwpn_key = (u32 *)&vport->fc_sparam.un.vendorVersion[0]; in lpfc_update_vport_wwn()
356 vport->fc_sparam.nodeName.u.wwn); in lpfc_update_vport_wwn()
359 vport->fc_sparam.portName.u.wwn); in lpfc_update_vport_wwn()
366 memcpy(&vport->fc_nodename, &vport->fc_sparam.nodeName, in lpfc_update_vport_wwn()
369 memcpy(&vport->fc_sparam.nodeName, &vport->fc_nodename, in lpfc_update_vport_wwn()
377 memcmp(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
385 memcpy(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
392 memcpy(&vport->fc_sparam.portName, &vport->fc_portname, in lpfc_update_vport_wwn()
461 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); in lpfc_config_port_post()
[all …]
Dlpfc_els.c1292 memcpy(pcmd, &vport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_flogi()
2175 memcpy(pcmd, &vport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_plogi()
4023 vport->fc_sparam.cmn.bbRcvSizeMsb &= 0xf; in lpfc_els_retry()
4787 memcpy(&sp->portName, &vport->fc_sparam.portName, in lpfc_els_rsp_acc()
4789 memcpy(&sp->nodeName, &vport->fc_sparam.nodeName, in lpfc_els_rsp_acc()
4792 memcpy(pcmd, &vport->fc_sparam, in lpfc_els_rsp_acc()
5622 bbCredit = vport->fc_sparam.cmn.bbCreditLsb | in lpfc_rdp_res_bbc_desc()
5623 (vport->fc_sparam.cmn.bbCreditMsb << 8); in lpfc_rdp_res_bbc_desc()
9533 memcpy(pcmd, &vport->phba->pport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_fdisc()
Dlpfc.h407 struct serv_parm fc_sparam; /* buffer for our service parameters */ member
Dlpfc_hbadisc.c3098 struct serv_parm *sp = &vport->fc_sparam; in lpfc_mbx_cmpl_read_sparam()
3112 memcpy((uint8_t *) &vport->fc_sparam, (uint8_t *) mp->virt, in lpfc_mbx_cmpl_read_sparam()
5269 (uint8_t *) &vport->fc_sparam, mbox, ndlp->nlp_rpi); in lpfc_nlp_remove()
Dlpfc_mbox.c2171 reg_vfi->bde.tus.f.bdeSize = sizeof(vport->fc_sparam); in lpfc_reg_vfi()
Dlpfc_attr.c2713 uint8_t vvvl = vport->fc_sparam.cmn.valid_vendor_ver_level; in lpfc_soft_wwn_enable_store()
2714 u32 *fawwpn_key = (uint32_t *)&vport->fc_sparam.un.vendorVersion[0]; in lpfc_soft_wwn_enable_store()
Dlpfc_bsg.c2552 (uint8_t *)&phba->pport->fc_sparam, in lpfcdiag_loop_self_reg()
2562 (uint8_t *)&phba->pport->fc_sparam, in lpfcdiag_loop_self_reg()
Dlpfc_nportdisc.c76 volatile struct serv_parm *hsp = &vport->fc_sparam; in lpfc_check_sparm()
Dlpfc_sli.c7663 memcpy(&vport->fc_sparam, mp->virt, sizeof(struct serv_parm)); in lpfc_sli4_hba_setup()