Lines Matching +full:io +full:- +full:multiplex
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
138 {"Multiplex Sequence", 0x05},
139 {"I-T Nexus Loss Timer", 0x06},
196 {"scsi io data error", MPI2_IOCSTATUS_SCSI_IO_DATA_ERROR},
260 mps_describe_table(mps_whoinit_names, facts->WhoInit)); in mps_print_iocfacts()
266 facts->IOCCapabilities, "\20" "\3ScsiTaskFull" "\4DiagTrace" in mps_print_iocfacts()
270 mps_print_field(sc, "FWVersion= %d-%d-%d-%d\n", in mps_print_iocfacts()
271 facts->FWVersion.Struct.Major, in mps_print_iocfacts()
272 facts->FWVersion.Struct.Minor, in mps_print_iocfacts()
273 facts->FWVersion.Struct.Unit, in mps_print_iocfacts()
274 facts->FWVersion.Struct.Dev); in mps_print_iocfacts()
281 facts->ProtocolFlags, "\20" "\1ScsiTarg" "\2ScsiInit"); in mps_print_iocfacts()
308 mps_describe_table(mps_event_names, event->Event), event->Event); in mps_print_evt_generic()
319 mps_to_u64(&buf->SASAddress)); in mps_print_sasdev0()
326 mps_print_field(sc, "DeviceInfo: %b,%s\n", buf->DeviceInfo, in mps_print_sasdev0()
330 mps_describe_table(mps_sasdev0_devtype, buf->DeviceInfo & 0x03)); in mps_print_sasdev0()
335 mps_to_u64(&buf->DeviceName)); in mps_print_sasdev0()
347 switch(event->Event) { in mps_print_evt_sas()
352 data = (MPI2_EVENT_DATA_SAS_DISCOVERY *)&event->EventData; in mps_print_evt_sas()
353 mps_print_field(sc, "Flags: %b\n", data->Flags, in mps_print_evt_sas()
356 mps_describe_table(mps_sasdisc_reason, data->ReasonCode)); in mps_print_evt_sas()
359 data->DiscoveryStatus, "\20" in mps_print_evt_sas()
376 &event->EventData; in mps_print_evt_sas()
383 mps_describe_table(mps_sastopo_exp, data->ExpStatus), in mps_print_evt_sas()
384 data->ExpStatus); in mps_print_evt_sas()
386 for (i = 0; i < data->NumEntries; i++) { in mps_print_evt_sas()
387 phy = &data->PHY[i]; in mps_print_evt_sas()
388 phynum = data->StartPhyNum + i; in mps_print_evt_sas()
391 phy->AttachedDevHandle); in mps_print_evt_sas()
395 (phy->LinkRate >> 4) & 0xf), phy->LinkRate); in mps_print_evt_sas()
398 phy->PhyStatus)); in mps_print_evt_sas()
407 &event->EventData; in mps_print_evt_sas()
410 mps_describe_table(mps_sastopo_exp, data->ReasonCode)); in mps_print_evt_sas()
422 &event->EventData; in mps_print_evt_sas()
425 mps_describe_table(mps_sasdev_reason, data->ReasonCode)); in mps_print_evt_sas()
430 mps_to_u64(&data->SASAddress)); in mps_print_evt_sas()
437 data = (MPI2_EVENT_DATA_SAS_BROADCAST_PRIMITIVE *)&event->EventData; in mps_print_evt_sas()
452 MPS_PRINTFIELD_START(sc, "SAS Expander Page 1 #%d", buf->Phy); in mps_print_expander1()
459 (buf->ProgrammedLinkRate >> 4) & 0xf), buf->ProgrammedLinkRate); in mps_print_expander1()
462 (buf->HwLinkRate >> 4) & 0xf), buf->HwLinkRate); in mps_print_expander1()
466 (buf->PhyInfo >> 16) & 0xf), buf->PhyInfo); in mps_print_expander1()
468 buf->AttachedDeviceInfo, "\20" "\4SATAhost" "\5SMPinit" "\6STPinit" in mps_print_expander1()
472 buf->AttachedDeviceInfo & 0x03)); in mps_print_expander1()
477 buf->NegotiatedLinkRate & 0xf), buf->NegotiatedLinkRate); in mps_print_expander1()
484 buf->AttachedPhyInfo & 0xf), buf->AttachedPhyInfo); in mps_print_expander1()
498 buf->AttachedPhyInfo & 0xf), buf->AttachedPhyInfo); in mps_print_sasphy0()
501 (buf->ProgrammedLinkRate >> 4) & 0xf), buf->ProgrammedLinkRate); in mps_print_sasphy0()
504 (buf->HwLinkRate >> 4) & 0xf), buf->HwLinkRate); in mps_print_sasphy0()
509 (buf->PhyInfo >> 16) & 0xf), buf->PhyInfo); in mps_print_sasphy0()
512 buf->NegotiatedLinkRate & 0xf), buf->NegotiatedLinkRate); in mps_print_sasphy0()
524 frame = (char *)cm->cm_req; in mps_print_sgl()
530 flags = le32toh(sge->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT; in mps_print_sgl()
532 i, flags, le32toh(sge->FlagsLength) & 0xffffff, in mps_print_sgl()
533 mps_to_u64(&sge->Address)); in mps_print_sgl()
542 "Address=0x%x\n", sgc->Flags, le16toh(sgc->Length), in mps_print_sgl()
543 sgc->NextChainOffset, le32toh(sgc->Address)); in mps_print_sgl()
545 chain = TAILQ_FIRST(&cm->cm_chain_list); in mps_print_sgl()
548 frame = (char *)chain->chain; in mps_print_sgl()
560 req = (MPI2_SCSI_IO_REQUEST *)cm->cm_req; in mps_print_scsiio_cmd()
561 mps_print_sgl(sc, cm, req->SGLOffset0); in mps_print_scsiio_cmd()