Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_vport.c170 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); in lpfc_vport_sparm()
171 memcpy(&vport->fc_nodename, &vport->fc_sparam.nodeName, in lpfc_vport_sparm()
173 memcpy(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_vport_sparm()
212 if (memcmp(&vport->fc_sparam.portName, in lpfc_unique_wwpn()
213 &new_vport->fc_sparam.portName, in lpfc_unique_wwpn()
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()
376 if (!lpfc_valid_wwn_format(phba, &vport->fc_sparam.nodeName, "WWNN") || in lpfc_vport_create()
377 !lpfc_valid_wwn_format(phba, &vport->fc_sparam.portName, "WWPN")) { in lpfc_vport_create()
H A Dlpfc_disc.h99 struct serv_parm fc_sparam; /* buffer for service params */ member
H A Dlpfc_ct.c2628 &vport->fc_sparam.nodeName); in lpfc_fdmi_hba_attr_wwnn()
2985 &vport->fc_sparam.nodeName); in lpfc_fdmi_port_attr_wwnn()
2992 &vport->fc_sparam.portName); in lpfc_fdmi_port_attr_wwpn()
3080 &vport->fc_sparam.nodeName, in lpfc_fdmi_smart_attr_guid()
3081 &vport->fc_sparam.portName); in lpfc_fdmi_smart_attr_guid()
3271 memcpy(&rh->hi.PortName, &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3280 &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3333 &phba->pport->fc_sparam.portName, in lpfc_fdmi_cmd()
3343 (uint8_t *)&vport->fc_sparam.portName, in lpfc_fdmi_cmd()
3385 (uint8_t *)&vport->fc_sparam.portName, in lpfc_fdmi_cmd()
[all …]
H A Dlpfc_els.c1317 memcpy(pcmd, &vport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_flogi()
2238 memcpy(pcmd, &vport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_plogi()
3310 (u8 *)&vport->fc_sparam, mbox, fc_ndlp->nlp_rpi); in lpfc_reg_fab_ctrl_node()
4863 vport->fc_sparam.cmn.bbRcvSizeMsb &= 0xf; in lpfc_els_retry()
5616 memcpy(&sp->portName, &vport->fc_sparam.portName, in lpfc_els_rsp_acc()
5618 memcpy(&sp->nodeName, &vport->fc_sparam.nodeName, in lpfc_els_rsp_acc()
5621 memcpy(pcmd, &vport->fc_sparam, in lpfc_els_rsp_acc()
6752 bbCredit = vport->fc_sparam.cmn.bbCreditLsb | in lpfc_rdp_res_bbc_desc()
6753 (vport->fc_sparam.cmn.bbCreditMsb << 8); in lpfc_rdp_res_bbc_desc()
11486 memcpy(pcmd, &vport->phba->pport->fc_sparam, sizeof(struct serv_parm)); in lpfc_issue_els_fdisc()
H A Dlpfc_init.c359 memcpy(&vport->fc_nodename, &vport->fc_sparam.nodeName, in lpfc_update_vport_wwn()
362 memcpy(&vport->fc_sparam.nodeName, &vport->fc_nodename, in lpfc_update_vport_wwn()
370 memcmp(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
386 (vport->fc_sparam.portName.u.wwn), in lpfc_update_vport_wwn()
389 memcpy(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
395 memcpy(&vport->fc_portname, &vport->fc_sparam.portName, in lpfc_update_vport_wwn()
398 memcpy(&vport->fc_sparam.portName, &vport->fc_portname, in lpfc_update_vport_wwn()
468 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); in lpfc_config_port_post()
5025 (((uint32_t) vport->fc_sparam.cmn.bbRcvSizeMsb & 0x0F) << 8) | in lpfc_host_attrib_init()
5026 (uint32_t) vport->fc_sparam.cmn.bbRcvSizeLsb; in lpfc_host_attrib_init()
H A Dlpfc.h600 struct serv_parm fc_sparam; /* buffer for our service parameters */ member
H A Dlpfc_nportdisc.c76 volatile struct serv_parm *hsp = &vport->fc_sparam; in lpfc_check_sparm()
1492 memcpy(&ndlp->fc_sparam, sp, sizeof(struct serv_parm)); in lpfc_cmpl_plogi_plogi_issue()
H A Dlpfc_bsg.c2495 (uint8_t *)&phba->pport->fc_sparam, in lpfcdiag_loop_self_reg()
2505 (uint8_t *)&phba->pport->fc_sparam, in lpfcdiag_loop_self_reg()
H A Dlpfc_mbox.c2238 reg_vfi->bde.tus.f.bdeSize = sizeof(vport->fc_sparam); in lpfc_reg_vfi()
H A Dlpfc_hbadisc.c3442 struct serv_parm *sp = &vport->fc_sparam; in lpfc_mbx_cmpl_read_sparam()
3456 memcpy((uint8_t *) &vport->fc_sparam, (uint8_t *) mp->virt, in lpfc_mbx_cmpl_read_sparam()
H A Dlpfc_sli.c8768 memcpy(&vport->fc_sparam, mp->virt, sizeof(struct serv_parm)); in lpfc_sli4_hba_setup()