Lines Matching refs:cmd

1245 	uint32_t cmd;  in lpfc_cmpl_els_link_down()  local
1249 cmd = *pcmd; in lpfc_cmpl_els_link_down()
1257 ulp_status, ulp_word4, cmd, in lpfc_cmpl_els_link_down()
3366 u32 cmd; in lpfc_cmpl_els_disc_cmd() local
3399 cmd = *pdata; in lpfc_cmpl_els_disc_cmd()
3407 switch (cmd) { in lpfc_cmpl_els_disc_cmd()
3422 if (cmd == ELS_CMD_EDC) { in lpfc_cmpl_els_disc_cmd()
3430 "4203 ELS cmd x%x error: x%x x%X\n", cmd, in lpfc_cmpl_els_disc_cmd()
3438 if (cmd == ELS_CMD_RDF) { in lpfc_cmpl_els_disc_cmd()
4467 uint32_t cmd, retry; in lpfc_els_retry_delay_handler() local
4470 cmd = ndlp->nlp_last_elscmd; in lpfc_els_retry_delay_handler()
4489 switch (cmd) { in lpfc_els_retry_delay_handler()
4615 uint32_t cmd = 0; in lpfc_els_retry() local
4628 cmd = *elscmd++; in lpfc_els_retry()
4637 if (!ndlp && (cmd != ELS_CMD_PLOGI)) in lpfc_els_retry()
4661 if (cmd == ELS_CMD_PLOGI && cmdiocb->retry == 0) in lpfc_els_retry()
4670 cmd, cmdiocb->retry, delay); in lpfc_els_retry()
4692 if (cmd == ELS_CMD_PLOGI && in lpfc_els_retry()
4698 } else if (cmd == ELS_CMD_PRLI && in lpfc_els_retry()
4712 if (cmd == ELS_CMD_PLOGI && in lpfc_els_retry()
4726 if (cmd == ELS_CMD_PLOGI) { in lpfc_els_retry()
4758 cmd == ELS_CMD_NVMEPRLI) { in lpfc_els_retry()
4788 cmd, did, stat.un.b.lsRjtRsnCode, in lpfc_els_retry()
4794 if (cmd == ELS_CMD_PLOGI) { in lpfc_els_retry()
4803 if (cmd == ELS_CMD_PRLI || in lpfc_els_retry()
4804 cmd == ELS_CMD_NVMEPRLI) in lpfc_els_retry()
4812 if (cmd == ELS_CMD_PLOGI || in lpfc_els_retry()
4813 cmd == ELS_CMD_PRLI || in lpfc_els_retry()
4814 cmd == ELS_CMD_NVMEPRLI) { in lpfc_els_retry()
4823 (cmd == ELS_CMD_FDISC) && in lpfc_els_retry()
4836 if ((cmd == ELS_CMD_PLOGI) || in lpfc_els_retry()
4837 (cmd == ELS_CMD_PRLI) || in lpfc_els_retry()
4838 (cmd == ELS_CMD_NVMEPRLI)) { in lpfc_els_retry()
4841 } else if (cmd == ELS_CMD_FDISC) { in lpfc_els_retry()
4855 if (cmd == ELS_CMD_FDISC && in lpfc_els_retry()
4860 } else if (cmd == ELS_CMD_FLOGI && in lpfc_els_retry()
4875 (cmd == ELS_CMD_FDISC) && in lpfc_els_retry()
4890 (cmd == ELS_CMD_FLOGI)) { in lpfc_els_retry()
4902 if (cmd == ELS_CMD_PRLI) in lpfc_els_retry()
4933 if ((cmd == ELS_CMD_FLOGI) && in lpfc_els_retry()
4948 } else if ((cmd == ELS_CMD_FDISC) && in lpfc_els_retry()
4967 if ((cmd == ELS_CMD_PLOGI) || (cmd == ELS_CMD_FDISC)) { in lpfc_els_retry()
4973 "Data: x%x x%x\n", cmd, did, in lpfc_els_retry()
4983 cmd, did, cmdiocb->retry, delay); in lpfc_els_retry()
4985 if (((cmd == ELS_CMD_PLOGI) || (cmd == ELS_CMD_ADISC)) && in lpfc_els_retry()
5010 if ((cmd == ELS_CMD_PRLI) || in lpfc_els_retry()
5011 (cmd == ELS_CMD_NVMEPRLI)) in lpfc_els_retry()
5014 else if (cmd != ELS_CMD_ADISC) in lpfc_els_retry()
5017 ndlp->nlp_last_elscmd = cmd; in lpfc_els_retry()
5021 switch (cmd) { in lpfc_els_retry()
5059 cmd, did, ulp_status, in lpfc_els_retry()
5066 cmd, did, cmdiocb->retry, ulp_status, in lpfc_els_retry()
5719 rdf_resp->lsri.rqst_w0.cmd = ELS_RDF; in lpfc_els_rsp_acc()
5888 IOCB_t *icmd, *cmd; in lpfc_issue_els_edc_rsp() local
5913 cmd = &cmdiocb->iocb; in lpfc_issue_els_edc_rsp()
5914 icmd->ulpContext = cmd->ulpContext; /* Xri / rx_id */ in lpfc_issue_els_edc_rsp()
5915 icmd->unsli3.rcvsli3.ox_id = cmd->unsli3.rcvsli3.ox_id; in lpfc_issue_els_edc_rsp()
5928 edc_rsp->lsri.rqst_w0.cmd = ELS_EDC; in lpfc_issue_els_edc_rsp()
7419 union lpfc_wqe128 *cmd = NULL; in lpfc_els_rcv_rdp() local
7461 cmd = &cmdiocb->wqe; in lpfc_els_rcv_rdp()
7469 &cmd->xmit_els_rsp.wqe_com); in lpfc_els_rcv_rdp()
7471 &cmd->xmit_els_rsp.wqe_com); in lpfc_els_rcv_rdp()
8033 uint32_t payload_len, length, nportid, *cmd; in lpfc_els_rcv_rscn() local
8161 cmd = vport->fc_rscn_id_list[rscn_cnt-1]->virt; in lpfc_els_rcv_rscn()
8162 length = be32_to_cpu(*cmd & ~ELS_CMD_MASK); in lpfc_els_rcv_rscn()
8166 *cmd &= ELS_CMD_MASK; in lpfc_els_rcv_rscn()
8167 *cmd |= cpu_to_be32(payload_len + length); in lpfc_els_rcv_rscn()
8168 memcpy(((uint8_t *)cmd) + length, lp, in lpfc_els_rcv_rscn()
8345 uint32_t cmd, did; in lpfc_els_rcv_flogi() local
8353 cmd = *lp++; in lpfc_els_rcv_flogi()
8369 cmd, did); in lpfc_els_rcv_flogi()
9492 IOCB_t *cmd = NULL; in lpfc_els_timeout_handler() local
9522 cmd = &piocb->iocb; in lpfc_els_timeout_handler()
9523 iotag = cmd->ulpIoTag; in lpfc_els_timeout_handler()
10347 u32 cmd = 0, did = 0, newnode, status = 0; in lpfc_els_unsol_buffer() local
10363 cmd = *payload; in lpfc_els_unsol_buffer()
10385 (cmd != ELS_CMD_PLOGI)) in lpfc_els_unsol_buffer()
10423 if ((cmd & ELS_CMD_MASK) == ELS_CMD_RSCN) { in lpfc_els_unsol_buffer()
10424 cmd &= ELS_CMD_MASK; in lpfc_els_unsol_buffer()
10430 cmd, did, kref_read(&ndlp->kref), vport->port_state, in lpfc_els_unsol_buffer()
10435 (cmd != ELS_CMD_FLOGI) && in lpfc_els_unsol_buffer()
10436 !((cmd == ELS_CMD_PLOGI) && (vport->fc_flag & FC_PT2PT))) { in lpfc_els_unsol_buffer()
10442 switch (cmd) { in lpfc_els_unsol_buffer()
10744 cmd, did, vport->port_state); in lpfc_els_unsol_buffer()
10753 "received from NPORT x%x\n", cmd, did); in lpfc_els_unsol_buffer()
10805 cmd, status, get_job_word4(phba, elsiocb), did); in lpfc_els_unsol_buffer()