Lines Matching refs:CtReq
1871 struct lpfc_sli_ct_request *CtReq; in lpfc_get_gidft_type() local
1878 CtReq = (struct lpfc_sli_ct_request *)mp->virt; in lpfc_get_gidft_type()
1879 type = (uint32_t)CtReq->un.gid.Fc4Type; in lpfc_get_gidft_type()
1899 struct lpfc_sli_ct_request *CtReq; in lpfc_ns_cmd() local
1978 CtReq = (struct lpfc_sli_ct_request *) mp->virt; in lpfc_ns_cmd()
1979 memset(CtReq, 0, sizeof(struct lpfc_sli_ct_request)); in lpfc_ns_cmd()
1980 CtReq->RevisionId.bits.Revision = SLI_CT_REVISION; in lpfc_ns_cmd()
1981 CtReq->RevisionId.bits.InId = 0; in lpfc_ns_cmd()
1982 CtReq->FsType = SLI_CT_DIRECTORY_SERVICE; in lpfc_ns_cmd()
1983 CtReq->FsSubType = SLI_CT_DIRECTORY_NAME_SERVER; in lpfc_ns_cmd()
1984 CtReq->CommandResponse.bits.Size = 0; in lpfc_ns_cmd()
1987 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
1989 CtReq->un.gid.Fc4Type = context; in lpfc_ns_cmd()
1999 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2001 CtReq->un.gid.PortType = context; in lpfc_ns_cmd()
2011 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2013 CtReq->un.gff.PortId = cpu_to_be32(context); in lpfc_ns_cmd()
2018 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2020 CtReq->un.gft.PortId = cpu_to_be32(context); in lpfc_ns_cmd()
2026 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2028 CtReq->un.rft.port_id = cpu_to_be32(vport->fc_myDID); in lpfc_ns_cmd()
2032 CtReq->un.rft.app_serv_reg = in lpfc_ns_cmd()
2038 CtReq->un.rft.fcp_reg = cpu_to_be32(RFT_FCP_REG); in lpfc_ns_cmd()
2043 CtReq->un.rft.nvme_reg = cpu_to_be32(RFT_NVME_REG); in lpfc_ns_cmd()
2045 ptr = (uint32_t *)CtReq; in lpfc_ns_cmd()
2049 CtReq->un.rft.fcp_reg ? "FCP" : " ", in lpfc_ns_cmd()
2050 CtReq->un.rft.nvme_reg ? "NVME" : " ", in lpfc_ns_cmd()
2051 CtReq->un.rft.app_serv_reg ? "APPS" : " ", in lpfc_ns_cmd()
2060 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2062 CtReq->un.rnn.PortId = cpu_to_be32(vport->fc_myDID); in lpfc_ns_cmd()
2063 memcpy(CtReq->un.rnn.wwnn, &vport->fc_nodename, in lpfc_ns_cmd()
2070 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2072 CtReq->un.rspn.PortId = cpu_to_be32(vport->fc_myDID); in lpfc_ns_cmd()
2073 size = sizeof(CtReq->un.rspn.symbname); in lpfc_ns_cmd()
2074 CtReq->un.rspn.len = in lpfc_ns_cmd()
2076 CtReq->un.rspn.symbname, size); in lpfc_ns_cmd()
2081 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2083 memcpy(CtReq->un.rsnn.wwnn, &vport->fc_nodename, in lpfc_ns_cmd()
2085 size = sizeof(CtReq->un.rsnn.symbname); in lpfc_ns_cmd()
2086 CtReq->un.rsnn.len = in lpfc_ns_cmd()
2088 CtReq->un.rsnn.symbname, size); in lpfc_ns_cmd()
2093 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2095 CtReq->un.da_id.port_id = cpu_to_be32(vport->fc_myDID); in lpfc_ns_cmd()
2100 CtReq->CommandResponse.bits.CmdRsp = in lpfc_ns_cmd()
2102 CtReq->un.rff.PortId = cpu_to_be32(vport->fc_myDID); in lpfc_ns_cmd()
2103 CtReq->un.rff.fbits = FC4_FEATURE_INIT; in lpfc_ns_cmd()
2113 CtReq->un.rff.fbits = (FC4_FEATURE_TARGET | in lpfc_ns_cmd()
2119 CtReq->un.rff.type_code = context; in lpfc_ns_cmd()
2124 CtReq->un.rff.type_code = context; in lpfc_ns_cmd()
2129 ptr = (uint32_t *)CtReq; in lpfc_ns_cmd()
3181 struct lpfc_sli_ct_request *CtReq; in lpfc_fdmi_cmd() local
3232 CtReq = (struct lpfc_sli_ct_request *)rq->virt; in lpfc_fdmi_cmd()
3235 CtReq->RevisionId.bits.Revision = SLI_CT_REVISION; in lpfc_fdmi_cmd()
3236 CtReq->RevisionId.bits.InId = 0; in lpfc_fdmi_cmd()
3238 CtReq->FsType = SLI_CT_MANAGEMENT_SERVICE; in lpfc_fdmi_cmd()
3239 CtReq->FsSubType = SLI_CT_FDMI_Subtypes; in lpfc_fdmi_cmd()
3241 CtReq->CommandResponse.bits.CmdRsp = cpu_to_be16(cmdcode); in lpfc_fdmi_cmd()
3249 rh = (struct lpfc_fdmi_reg_hba *)&CtReq->un; in lpfc_fdmi_cmd()
3307 base = (struct lpfc_fdmi_reg_portattr *)&CtReq->un; in lpfc_fdmi_cmd()
3363 pe = (struct lpfc_fdmi_port_entry *)&CtReq->un; in lpfc_fdmi_cmd()
3382 pe = (struct lpfc_fdmi_port_entry *)&CtReq->un; in lpfc_fdmi_cmd()
3397 CtReq->CommandResponse.bits.Size = cpu_to_be16(rsp_size); in lpfc_fdmi_cmd()