Home
last modified time | relevance | path

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

/Linux-v5.15/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_disc.h90 struct serv_parm fc_sparam; /* buffer for service params */ member
Dlpfc_ct.c2453 memcpy(&ae->un.AttrWWN, &vport->fc_sparam.nodeName, in lpfc_fdmi_hba_attr_wwnn()
2983 hsp = (struct serv_parm *)&vport->fc_sparam; in lpfc_fdmi_port_attr_max_frame()
3046 memcpy(&ae->un.AttrWWN, &vport->fc_sparam.nodeName, in lpfc_fdmi_port_attr_wwnn()
3064 memcpy(&ae->un.AttrWWN, &vport->fc_sparam.portName, in lpfc_fdmi_port_attr_wwpn()
3243 memcpy(&ae->un.AttrString, &vport->fc_sparam.nodeName, in lpfc_fdmi_smart_attr_guid()
3247 &vport->fc_sparam.portName, sizeof(struct lpfc_name)); in lpfc_fdmi_smart_attr_guid()
3502 memcpy(&rh->hi.PortName, &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3510 &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3556 &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3563 (uint8_t *)&vport->fc_sparam.portName, in lpfc_fdmi_cmd()
[all …]
Dlpfc_els.c1312 memcpy(pcmd, &vport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_flogi()
2187 memcpy(pcmd, &vport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_plogi()
3194 (u8 *)&vport->fc_sparam, mbox, fc_ndlp->nlp_rpi); in lpfc_reg_fab_ctrl_node()
4680 vport->fc_sparam.cmn.bbRcvSizeMsb &= 0xf; in lpfc_els_retry()
5415 memcpy(&sp->portName, &vport->fc_sparam.portName, in lpfc_els_rsp_acc()
5417 memcpy(&sp->nodeName, &vport->fc_sparam.nodeName, in lpfc_els_rsp_acc()
5420 memcpy(pcmd, &vport->fc_sparam, in lpfc_els_rsp_acc()
6420 bbCredit = vport->fc_sparam.cmn.bbCreditLsb | in lpfc_rdp_res_bbc_desc()
6421 (vport->fc_sparam.cmn.bbCreditMsb << 8); in lpfc_rdp_res_bbc_desc()
10859 memcpy(pcmd, &vport->phba->pport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_fdisc()
Dlpfc_init.c352 uint8_t vvvl = vport->fc_sparam.cmn.valid_vendor_ver_level; in lpfc_update_vport_wwn()
353 u32 *fawwpn_key = (u32 *)&vport->fc_sparam.un.vendorVersion[0]; in lpfc_update_vport_wwn()
358 vport->fc_sparam.nodeName.u.wwn); in lpfc_update_vport_wwn()
361 vport->fc_sparam.portName.u.wwn); in lpfc_update_vport_wwn()
368 memcpy(&vport->fc_nodename, &vport->fc_sparam.nodeName, in lpfc_update_vport_wwn()
371 memcpy(&vport->fc_sparam.nodeName, &vport->fc_nodename, in lpfc_update_vport_wwn()
379 memcmp(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
387 memcpy(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
394 memcpy(&vport->fc_sparam.portName, &vport->fc_portname, in lpfc_update_vport_wwn()
463 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); in lpfc_config_port_post()
[all …]
Dlpfc.h626 struct serv_parm fc_sparam; /* buffer for our service parameters */ member
Dlpfc_nportdisc.c76 volatile struct serv_parm *hsp = &vport->fc_sparam; in lpfc_check_sparm()
1443 memcpy(&ndlp->fc_sparam, sp, sizeof(struct serv_parm)); in lpfc_cmpl_plogi_plogi_issue()
Dlpfc_mbox.c2179 reg_vfi->bde.tus.f.bdeSize = sizeof(vport->fc_sparam); in lpfc_reg_vfi()
Dlpfc_attr.c2883 uint8_t vvvl = vport->fc_sparam.cmn.valid_vendor_ver_level; in lpfc_soft_wwn_enable_store()
2884 u32 *fawwpn_key = (uint32_t *)&vport->fc_sparam.un.vendorVersion[0]; in lpfc_soft_wwn_enable_store()
Dlpfc_bsg.c2538 (uint8_t *)&phba->pport->fc_sparam, in lpfcdiag_loop_self_reg()
2548 (uint8_t *)&phba->pport->fc_sparam, in lpfcdiag_loop_self_reg()
Dlpfc_hbadisc.c3250 struct serv_parm *sp = &vport->fc_sparam; in lpfc_mbx_cmpl_read_sparam()
3264 memcpy((uint8_t *) &vport->fc_sparam, (uint8_t *) mp->virt, in lpfc_mbx_cmpl_read_sparam()
Dlpfc_sli.c8453 memcpy(&vport->fc_sparam, mp->virt, sizeof(struct serv_parm)); in lpfc_sli4_hba_setup()