Lines Matching defs:CtReq
1101 struct lpfc_sli_ct_request *CtReq;
1175 CtReq = (struct lpfc_sli_ct_request *) mp->virt;
1176 memset(CtReq, 0, sizeof (struct lpfc_sli_ct_request));
1177 CtReq->RevisionId.bits.Revision = SLI_CT_REVISION;
1178 CtReq->RevisionId.bits.InId = 0;
1179 CtReq->FsType = SLI_CT_DIRECTORY_SERVICE;
1180 CtReq->FsSubType = SLI_CT_DIRECTORY_NAME_SERVER;
1181 CtReq->CommandResponse.bits.Size = 0;
1184 CtReq->CommandResponse.bits.CmdRsp =
1186 CtReq->un.gid.Fc4Type = SLI_CTPT_FCP;
1195 CtReq->CommandResponse.bits.CmdRsp =
1197 CtReq->un.gff.PortId = cpu_to_be32(context);
1203 CtReq->CommandResponse.bits.CmdRsp =
1205 CtReq->un.rft.PortId = cpu_to_be32(vport->fc_myDID);
1206 CtReq->un.rft.fcpReg = 1;
1212 CtReq->CommandResponse.bits.CmdRsp =
1214 CtReq->un.rnn.PortId = cpu_to_be32(vport->fc_myDID);
1215 memcpy(CtReq->un.rnn.wwnn, &vport->fc_nodename,
1222 CtReq->CommandResponse.bits.CmdRsp =
1224 CtReq->un.rspn.PortId = cpu_to_be32(vport->fc_myDID);
1225 size = sizeof(CtReq->un.rspn.symbname);
1226 CtReq->un.rspn.len =
1228 CtReq->un.rspn.symbname, size);
1233 CtReq->CommandResponse.bits.CmdRsp =
1235 memcpy(CtReq->un.rsnn.wwnn, &vport->fc_nodename,
1237 size = sizeof(CtReq->un.rsnn.symbname);
1238 CtReq->un.rsnn.len =
1240 CtReq->un.rsnn.symbname, size);
1245 CtReq->CommandResponse.bits.CmdRsp =
1247 CtReq->un.da_id.port_id = cpu_to_be32(vport->fc_myDID);
1252 CtReq->CommandResponse.bits.CmdRsp =
1254 CtReq->un.rff.PortId = cpu_to_be32(vport->fc_myDID);
1255 CtReq->un.rff.fbits = FC4_FEATURE_INIT;
1256 CtReq->un.rff.type_code = FC_TYPE_FCP;
1360 struct lpfc_sli_ct_request *CtReq;
1398 CtReq = (struct lpfc_sli_ct_request *) mp->virt;
1400 memset(CtReq, 0, sizeof(struct lpfc_sli_ct_request));
1401 CtReq->RevisionId.bits.Revision = SLI_CT_REVISION;
1402 CtReq->RevisionId.bits.InId = 0;
1404 CtReq->FsType = SLI_CT_MANAGEMENT_SERVICE;
1405 CtReq->FsSubType = SLI_CT_FDMI_Subtypes;
1415 CtReq->CommandResponse.bits.CmdRsp =
1417 CtReq->CommandResponse.bits.Size = 0;
1418 rh = (REG_HBA *) & CtReq->un.PortID;
1571 CtReq->CommandResponse.bits.CmdRsp =
1573 CtReq->CommandResponse.bits.Size = 0;
1574 pab = (REG_PORT_ATTRIBUTE *) & CtReq->un.PortID;
1682 CtReq->CommandResponse.bits.CmdRsp = be16_to_cpu(SLI_MGMT_DHBA);
1683 CtReq->CommandResponse.bits.Size = 0;
1684 pe = (PORT_ENTRY *) & CtReq->un.PortID;
1692 CtReq->CommandResponse.bits.CmdRsp = be16_to_cpu(SLI_MGMT_DPRT);
1693 CtReq->CommandResponse.bits.Size = 0;
1694 pe = (PORT_ENTRY *) & CtReq->un.PortID;