Lines Matching refs:un

446 		bcopy((char *)&mb->un.varSLIConfig.payload,
467 bcopy((char *)&mb->un.varSLIConfig.payload,
487 if (mb->un.varRdRev4.sliLevel != 4) {
490 mb->un.varRdRev4.sliLevel);
496 switch (mb->un.varRdRev4.dcbxMode) {
508 mb->un.varRdRev4.dcbxMode);
515 if (mb->un.varRdRev4.FCoE) {
524 vpd->sli4FwRev = (mb->un.varRdRev4.ULPFwId);
525 bcopy((char *)mb->un.varRdRev4.ULPFwName, vpd->sli4FwName, 16);
527 vpd->opFwRev = (mb->un.varRdRev4.ULPFwId);
528 bcopy((char *)mb->un.varRdRev4.ULPFwName, vpd->opFwName, 16);
530 vpd->postKernRev = (mb->un.varRdRev4.ARMFwId);
531 bcopy((char *)mb->un.varRdRev4.ARMFwName, vpd->postKernName, 16);
533 vpd->biuRev = mb->un.varRdRev4.HwRev1;
534 vpd->fcphHigh = mb->un.varRdRev4.fcphHigh;
535 vpd->fcphLow = mb->un.varRdRev4.fcphLow;
536 vpd->feaLevelHigh = mb->un.varRdRev4.feaLevelHigh;
537 vpd->feaLevelLow = mb->un.varRdRev4.feaLevelLow;
568 mb->un.varRdRev4.dcbxMode);
589 mb->un.varDmp4.rsp_cnt, mb->mbxStatus);
591 if (mb->un.varDmp4.rsp_cnt) {
593 0, mb->un.varDmp4.rsp_cnt, DDI_DMA_SYNC_FORKERNEL);
616 mb->un.varDmp4.rsp_cnt);
856 mb->un.varDmp4.rsp_cnt, mb->mbxStatus);
859 mb->un.varDmp4.rsp_cnt);
897 if (status != mb->un.varReqFeatures.featuresEnabled) {
902 mb->un.varReqFeatures.featuresRequested);
908 mb->un.varReqFeatures.featuresEnabled));
913 !(mb->un.varReqFeatures.featuresEnabled &
923 (mb->un.varReqFeatures.featuresEnabled &
943 !(mb->un.varReqFeatures.featuresEnabled &
953 (mb->un.varReqFeatures.featuresEnabled &
972 if (mb->un.varReqFeatures.featuresEnabled & SLI4_FEATURE_NPIV) {
976 if (mb->un.varReqFeatures.featuresEnabled & SLI4_FEATURE_PERF_HINT) {
998 hba->sli.sli4.XRICount = mb->un.varRdConfig4.XRICount;
1001 hba->sli.sli4.XRIBase[0] = mb->un.varRdConfig4.XRIBase;
1003 hba->sli.sli4.RPICount = mb->un.varRdConfig4.RPICount;
1006 hba->sli.sli4.RPIBase[0] = mb->un.varRdConfig4.RPIBase;
1008 hba->sli.sli4.VPICount = mb->un.varRdConfig4.VPICount;
1011 hba->sli.sli4.VPIBase[0] = mb->un.varRdConfig4.VPIBase;
1013 hba->sli.sli4.VFICount = mb->un.varRdConfig4.VFICount;
1016 hba->sli.sli4.VFIBase[0] = mb->un.varRdConfig4.VFIBase;
1018 hba->sli.sli4.FCFICount = mb->un.varRdConfig4.FCFICount;
1046 if (mb->un.varRdConfig4.extents) {
1065 mb->un.varRdConfig4.ldv,
1066 mb->un.varRdConfig4.link_type,
1067 mb->un.varRdConfig4.link_number);
1069 if (mb->un.varRdConfig4.ldv) {
1070 hba->sli.sli4.link_number = mb->un.varRdConfig4.link_number;
1104 vpd->link_speed = (uint16_t)mb->un.varRdConfig4.lmt;
2613 wqe->un.FcpCmd.Payload.addrHigh =
2615 wqe->un.FcpCmd.Payload.addrLow =
2617 wqe->un.FcpCmd.Payload.tus.f.bdeSize = cmd_cnt;
2618 wqe->un.FcpCmd.PayloadLength = cmd_cnt + resp_cnt;
2643 wqe->un.GenReq.PayloadLength = cmd_cnt;
2646 wqe->un.GenReq.Payload.addrHigh =
2648 wqe->un.GenReq.Payload.addrLow =
2650 wqe->un.GenReq.Payload.tus.f.bdeSize = cmd_cnt;
2738 wqe->un.FcpCmd.Payload.addrHigh = stage_sge.addrHigh;
2739 wqe->un.FcpCmd.Payload.addrLow = stage_sge.addrLow;
2740 wqe->un.FcpCmd.Payload.tus.f.bdeSize = EMLXS_XFER_RDY_SIZE;
2741 wqe->un.FcpCmd.PayloadLength = EMLXS_XFER_RDY_SIZE;
2753 wqe->un.FcpCmd.Payload.addrHigh = PADDR_HI(fct_mp->phys);
2754 wqe->un.FcpCmd.Payload.addrLow = PADDR_LO(fct_mp->phys);
2758 wqe->un.FcpCmd.Payload.tus.f.bdeSize = len;
2761 wqe->un.FcpCmd.PayloadLength = 0;
2769 wqe->un.FcpCmd.TotalTransferCount = dbuf->db_relative_offset;
3160 (mb4->un.varSLIConfig.be.embedded)) {
3185 mb4->un.varSLIConfig.be.sge_cnt = 1;
3186 mb4->un.varSLIConfig.be.payload_length = mp->size;
3187 iptr = (uint32_t *)&mb4->un.varSLIConfig.be.un_hdr.hdr_req;
3247 (mb4->un.varSLIConfig.be.embedded)) {
3268 mb4->un.varSLIConfig.be.sge_cnt = 1;
3269 mb4->un.varSLIConfig.be.payload_length = mp->size;
3270 iptr = (uint32_t *)&mb4->un.varSLIConfig.be.un_hdr.hdr_req;
3303 (mb4->un.varSLIConfig.be.embedded)) {
3410 &mb4->un.varSLIConfig.be.un_hdr.hdr_req;
3501 (mb4->un.varSLIConfig.be.un_hdr.hdr_req.opcode ==
3552 (mb4->un.varSLIConfig.be.un_hdr.hdr_req.opcode ==
3589 (mb4->un.varSLIConfig.be.embedded)));
3619 (mb4->un.varSLIConfig.be.embedded)));
3630 (mb4->un.varSLIConfig.be.embedded)));
3645 (mb4->un.varSLIConfig.be.embedded)));
3691 (mb4->un.varSLIConfig.be.embedded)));
3736 (mb4->un.varSLIConfig.be.embedded)));
3746 (mb4->un.varSLIConfig.be.embedded)));
3920 wqe->un.Abort.Criteria = ABORT_XRI_TAG;
3929 wqe->un.Abort.IA = 0;
3931 wqe->un.Abort.IA = 1;
4005 wqe->un.FcpCmd.Payload.addrHigh = stage_sge.addrHigh;
4006 wqe->un.FcpCmd.Payload.addrLow = stage_sge.addrLow;
4007 wqe->un.FcpCmd.Payload.tus.f.bdeSize = sge_size;
4008 wqe->un.FcpCmd.PayloadLength = sge_size;
4282 wqe->un.FcpCmd.TotalTransferCount = pkt->pkt_datalen;
4427 wqe->un.ElsRsp.Payload.addrHigh = sge->addrHigh;
4428 wqe->un.ElsRsp.Payload.addrLow = sge->addrLow;
4429 wqe->un.ElsRsp.Payload.tus.f.bdeSize = pkt->pkt_cmdlen;
4430 wqe->un.ElsCmd.PayloadLength = pkt->pkt_cmdlen;
4432 wqe->un.ElsRsp.RemoteId = did;
4452 wqe->un.ElsCmd.SP = 1;
4453 wqe->un.ElsCmd.LocalId = 0xFFFFFE;
4491 wqe->un.ElsCmd.Payload.addrHigh = sge->addrHigh;
4492 wqe->un.ElsCmd.Payload.addrLow = sge->addrLow;
4493 wqe->un.ElsCmd.Payload.tus.f.bdeSize = pkt->pkt_cmdlen;
4495 wqe->un.ElsCmd.RemoteId = did;
4499 iocb->un.elsreq64.remoteID = (did == BCAST_DID) ? 0 : did;
4508 wqe->un.ElsCmd.PayloadLength =
4537 wqe->un.ElsCmd.SP = 1;
4553 wqe->un.ElsCmd.LocalId = port->did;
4559 wqe->un.ElsCmd.SP = 1;
4582 wqe->un.ElsCmd.SP = 1;
4583 wqe->un.ElsCmd.LocalId = port->did;
4747 wqe->un.XmitSeq.Rsvd0 = 0; /* Word3 now reserved */
4761 wqe->un.XmitSeq.xo = 1;
4763 wqe->un.XmitSeq.xo = 0;
4767 wqe->un.XmitSeq.ls = 1;
4771 wqe->un.XmitSeq.si = 1;
4774 wqe->un.XmitSeq.DFctl = pkt->pkt_cmd_fhdr.df_ctl;
4775 wqe->un.XmitSeq.Rctl = pkt->pkt_cmd_fhdr.r_ctl;
4776 wqe->un.XmitSeq.Type = pkt->pkt_cmd_fhdr.type;
4779 wqe->CmdSpecific = wqe->un.GenReq.Payload.tus.f.bdeSize;
4828 wqe->un.GenReq.la = 1;
4829 wqe->un.GenReq.DFctl = pkt->pkt_cmd_fhdr.df_ctl;
4830 wqe->un.GenReq.Rctl = pkt->pkt_cmd_fhdr.r_ctl;
4831 wqe->un.GenReq.Type = pkt->pkt_cmd_fhdr.type;
4856 iocb->un.genreq64.w5.hcsw.Rctl = pkt->pkt_cmd_fhdr.r_ctl;
4857 iocb->un.genreq64.w5.hcsw.Type = pkt->pkt_cmd_fhdr.type;
4858 iocb->un.genreq64.w5.hcsw.Dfctl = pkt->pkt_cmd_fhdr.df_ctl;
4968 if (hba->link_event_tag == cqe->un.link.event_tag) {
4970 } else if (hba->link_event_tag + 1 < cqe->un.link.event_tag) {
4973 hba->link_event_tag = cqe->un.link.event_tag;
4979 switch (cqe->un.link.link_status) {
5016 cqe->un.link.link_status, HBASTATS.LinkEvent);
5021 switch (cqe->un.fcoe.evt_type) {
5025 cqe->un.fcoe.ref_index, cqe->un.fcoe.fcf_count);
5028 cqe->un.fcoe.ref_index);
5033 cqe->un.fcoe.ref_index, cqe->un.fcoe.fcf_count);
5040 cqe->un.fcoe.ref_index, cqe->un.fcoe.fcf_count);
5043 cqe->un.fcoe.ref_index);
5048 cqe->un.fcoe.ref_index);
5052 cqe->un.fcoe.ref_index));
5058 cqe->un.fcoe.ref_index);
5061 cqe->un.fcoe.ref_index);
5066 cqe->un.fcoe.evt_type);
5079 hba->qos_linkspeed = cqe->un.qos.qos_link_speed;
5112 *((uint32_t *)cqe->un.port.link_status) =
5113 BE_SWAP32(*((uint32_t *)cqe->un.port.link_status));
5115 cqe->un.port.link_status[hba->sli.sli4.link_number];
5295 mb->un.varSLIConfig.be.sge_cnt,
5296 mb->un.varSLIConfig.be.payload_length,
5297 mb->un.varSLIConfig.be.embedded);
5429 iocb->un.ulpWord[4] = cqe->Parameter;
5443 iocb->un.fcpi64.fcpi_parm =
5444 wqe->un.FcpCmd.TotalTransferCount -
5452 if (wqe->un.FcpCmd.TotalTransferCount >
5454 iocb->un.fcpi64.fcpi_parm =
5455 wqe->un.FcpCmd.TotalTransferCount -
5458 iocb->un.fcpi64.fcpi_parm = 0;
5465 iocb->un.elsreq64.bdl.bdeSize = cqe->CmdSpecific;
5822 fchdr2 = (fc_frame_hdr_t *)iocbq->iocb.un.ulpWord;
6383 wqe->un.BlsRsp.Payload0 = 0x80;
6384 wqe->un.BlsRsp.Payload1 = fchdr.seq_id;
6386 wqe->un.BlsRsp.OXId = fchdr.ox_id;
6387 wqe->un.BlsRsp.RXId = fchdr.rx_id;
6389 wqe->un.BlsRsp.SeqCntLow = 0;
6390 wqe->un.BlsRsp.SeqCntHigh = 0xFFFF;
6392 wqe->un.BlsRsp.XO = ((fchdr.f_ctl & F_CTL_XCHG_CONTEXT)? 1:0);
6393 wqe->un.BlsRsp.AR = 0;
6418 wqe->un.BlsRsp.RemoteId = fchdr.s_id;
6419 wqe->un.BlsRsp.LocalId = fchdr.d_id;
6507 iocb->un.rcvels64.elsReq.tus.f.bdeFlags = 0;
6508 iocb->un.rcvels64.elsReq.tus.f.bdeSize = seq_len;
6509 iocb->un.rcvels64.elsReq.addrLow = PADDR_LO(seq_mp->phys);
6510 iocb->un.rcvels64.elsReq.addrHigh = PADDR_HI(seq_mp->phys);
6513 iocb->un.rcvels64.remoteID = fchdr.s_id;
6514 iocb->un.rcvels64.parmRo = fchdr.d_id;
6578 iocb->un.rcvseq64.rcvBde.tus.f.bdeFlags = 0;
6579 iocb->un.rcvseq64.rcvBde.tus.f.bdeSize = seq_len;
6580 iocb->un.rcvseq64.rcvBde.addrLow = PADDR_LO(seq_mp->phys);
6581 iocb->un.rcvseq64.rcvBde.addrHigh = PADDR_HI(seq_mp->phys);
6664 iocb->un.rcvseq64.rcvBde.tus.f.bdeFlags = 0;
6665 iocb->un.rcvseq64.rcvBde.tus.f.bdeSize = seq_len;
6666 iocb->un.rcvseq64.rcvBde.addrLow = PADDR_LO(seq_mp->phys);
6667 iocb->un.rcvseq64.rcvBde.addrHigh = PADDR_HI(seq_mp->phys);
6670 iocb->un.rcvseq64.xrsqRo = 0;
6671 iocb->un.rcvseq64.w5.hcsw.Rctl = fchdr.r_ctl;
6672 iocb->un.rcvseq64.w5.hcsw.Type = fchdr.type;
6673 iocb->un.rcvseq64.w5.hcsw.Dfctl = fchdr.df_ctl;
6674 iocb->un.rcvseq64.w5.hcsw.Fctl = fchdr.f_ctl;
8206 mb->un.varSLIConfig.be.embedded = 0;
8229 mb->un.varSLIConfig.be.payload_length =
8231 mb->un.varSLIConfig.be.un_hdr.hdr_req.subsystem =
8233 mb->un.varSLIConfig.be.un_hdr.hdr_req.opcode =
8235 mb->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
8236 mb->un.varSLIConfig.be.un_hdr.hdr_req.req_length = size;
8317 mb->un.varSLIConfig.be.embedded = 1;
8321 mb->un.varSLIConfig.be.payload_length =
8323 mb->un.varSLIConfig.be.un_hdr.hdr_req.subsystem =
8325 mb->un.varSLIConfig.be.un_hdr.hdr_req.opcode =
8327 mb->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
8328 mb->un.varSLIConfig.be.un_hdr.hdr_req.req_length =
8333 &mb->un.varSLIConfig.payload;
8397 eq = (IOCTL_COMMON_EQ_CREATE *)&mb->un.varSLIConfig.payload;
8428 &mb->un.varSLIConfig.payload;
8476 &mb->un.varSLIConfig.payload;
8518 rq = (IOCTL_FCOE_RQ_CREATE *)&mb->un.varSLIConfig.payload;
8572 mq = (IOCTL_COMMON_MQ_CREATE *)&mb->un.varSLIConfig.payload;
8577 mq_ext = (IOCTL_COMMON_MQ_CREATE_EXT *)&mb->un.varSLIConfig.payload;
9034 if ((cqe->un.link.link_status == ASYNC_EVENT_LOGICAL_LINK_DOWN) ||
9035 (cqe->un.link.link_status == ASYNC_EVENT_PHYS_LINK_DOWN)) {
9047 switch (cqe->un.link.port_speed) {
9057 cqe->un.link.port_speed);
9063 hba->qos_linkspeed = cqe->un.link.qos_link_speed;
9085 if (cqe->un.fc.att_type == ATT_TYPE_LINK_DOWN) {
9097 switch (cqe->un.fc.port_speed) {
9119 cqe->un.fc.port_speed);
9125 hba->qos_linkspeed = cqe->un.fc.link_speed;
9128 hba->topology = cqe->un.fc.topology;
9168 ep = (IOCTL_COMMON_EXTENTS *)&mb4->un.varSLIConfig.payload;
9183 ep = (IOCTL_COMMON_EXTENTS *)&mb4->un.varSLIConfig.payload;
9220 ep = (IOCTL_COMMON_EXTENTS *)&mb4->un.varSLIConfig.payload;
9235 ep = (IOCTL_COMMON_EXTENTS *)&mb4->un.varSLIConfig.payload;
9272 ep = (IOCTL_COMMON_EXTENTS *)&mb4->un.varSLIConfig.payload;
9287 ep = (IOCTL_COMMON_EXTENTS *)&mb4->un.varSLIConfig.payload;
9323 ep = (IOCTL_COMMON_EXTENTS *)&mb4->un.varSLIConfig.payload;
9338 ep = (IOCTL_COMMON_EXTENTS *)&mb4->un.varSLIConfig.payload;