Lines Matching +full:heart +full:- +full:rate

3 * Copyright (c) 2014 PMC-Sierra, Inc.  All rights reserved. 
50 #define DM_USECS_PER_TICK 1000000 /**< defines the heart be…
258 /* B7-2 : reserved */
265 (((pResp)->configuring_configurable & REPORT_GENERAL_CONFIGURING_BIT) == \
269 (((pResp)->configuring_configurable & REPORT_GENERAL_CONFIGURABLE_BIT) == \
273 DMA_BEBIT16_TO_BIT16(*(bit16 *)((pResp)->expanderRouteIndexes16))
276 (((pResp)->reserved1 & REPORT_GENERAL_LONG_RESPONSE_BIT) == \
314 /* B6-4 : attachedDeviceType */
315 /* B3-0 : reserved */
317 /* B7-4 : reserved */
318 /* B3-0 : negotiatedPhyLinkRate */
320 /* B7-4 : reserved */
327 /* B6-4 : reserved */
339 /* B7-4 : programmedMinPhyLinkRate */
340 /* B3-0 : hardwareMinPhyLinkRate */
342 /* B7-4 : programmedMaxPhyLinkRate */
343 /* B3-0 : hardwareMaxPhyLinkRate */
347 /* B6-4 : reserved */
348 /* B3-0 : partialPathwayTimeout */
350 /* B7-4 : reserved */
351 /* B3-0 : routingAttribute */
364 (((pResp)->attachedDeviceType & 0x70) >> 4)
366 ((pResp)->negotiatedPhyLinkRate & 0x0F)
369 (((pResp)->attached_Ssp_Stp_Smp_Sata_Initiator & DISCRSP_SSP_BIT) == DISCRSP_SSP_BIT)
371 (((pResp)->attached_Ssp_Stp_Smp_Sata_Initiator & DISCRSP_STP_BIT) == DISCRSP_STP_BIT)
373 (((pResp)->attached_Ssp_Stp_Smp_Sata_Initiator & DISCRSP_SMP_BIT) == DISCRSP_SMP_BIT)
375 (((pResp)->attached_Ssp_Stp_Smp_Sata_Initiator & DISCRSP_SATA_BIT) == DISCRSP_SATA_BIT)
378 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_SSP_BIT) == DISCRSP_SSP_BIT)
380 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_STP_BIT) == DISCRSP_STP_BIT)
382 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_SMP_BIT) == DISCRSP_SMP_BIT)
384 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_SATA_BIT) == DISCRSP_SATA_BIT)
386 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_SATA_PS_BIT) == DISCRSP_SATA_PS_BIT)
388 /* bit8 array[4] -> bit32 */
390 DMA_BEBIT32_TO_BIT32(*(bit32 *)(pResp)->sasAddressHi)
392 DMA_BEBIT32_TO_BIT32(*(bit32 *)(pResp)->sasAddressLo)
394 /* bit8 array[4] -> bit32 */
396 DMA_BEBIT32_TO_BIT32(*(bit32 *)(pResp)->attachedSasAddressHi)
398 DMA_BEBIT32_TO_BIT32(*(bit32 *)(pResp)->attachedSasAddressLo)
402 (((pResp)->virtualPhy_partialPathwayTimeout & DISCRSP_VIRTUALPHY_BIT) == DISCRSP_VIRTUALPHY_BIT)
405 ((pResp)->routingAttribute & 0x0F)
431 /* B6-0 : reserved */
486 /* b7-2 : reserved */
509 /* b7-1 : reserved */
513 /* b7-4 : programmed Minimum Physical Link Rate*/
514 /* b3-0 : reserved */
516 /* b7-4 : programmed Maximum Physical Link Rate*/
517 /* b3-0 : reserved */
520 /* b7-4 : reserved */
521 /* b3-0 : partial Pathway TO Value */
566 bit8 expanderChangeCount16[2]; /* byte 4-5 */
567 bit8 expanderRouteIndexes16[2]; /* byte 6-7 */
570 /* B6-0: Reserved */
589 /* B7-6 : NUMBER OF ZONE GROUPS */
597 /* B7-5 : RESERVED */
613 /* B6-0: Reserved */
627 DMA_BEBIT16_TO_BIT16(*(bit16 *)((pResp)->expanderRouteIndexes16))
630 (((pResp)->byte10 & REPORT_GENERAL_CONFIGURING_BIT) == \
634 (((pResp)->byte10 & REPORT_GENERAL_CONFIGURABLE_BIT) == \
638 (((pResp)->byte10 & REPORT_GENERAL_TABLE_TO_TABLE_SUPPORTED_BIT) == \
642 (((pResp)->byte10 & REPORT_GENERAL_CONFIGURES_OTHERS_BIT) == \
660 bit16 ExpanderChangeCount; /* byte 4-5 */
661 bit8 reserved1[2]; /* byte 6-7 */
663 /* B7-1 : RESERVED */
664 /* B0 : SAS-1.1 Format */
665 bit8 reserved2[3]; /* byte 9-11 */
666 bit8 vendorIdentification[8]; /* byte 12-19 */
667 bit8 productIdentification[16]; /* byte 20-35 */
668 bit8 productRevisionLevel[4]; /* byte 36-39 */
669 bit8 componentVendorID[8]; /* byte 40-47 */
670 bit8 componentID[2]; /* byte 48-49 */
673 bit8 vendorSpecific[8]; /* byte 52-59 */
681 bit32 reserved1; /* byte 4 - 7 */
684 bit16 reserved2; /* byte 10 - 11*/
692 bit16 ExpanderChangeCount; /* byte 4 - 5 */
693 bit8 reserved1[3]; /* byte 6 - 8 */
695 bit8 reserved2[2]; /* byte 10 - 11 */
698 /* B6-4 : Attached Device Type */
699 /* B3-0 : Attached Reason */
701 /* B7-4 : RESERVED */
702 /* B3-0 : Negotiated Logical Link Rate */
704 /* B7-4 : reserved */
711 /* B6-4 : reserved */
716 bit8 sasAddressHi[4]; /* byte 16 - 19 */
717 bit8 sasAddressLo[4]; /* byte 20 - 23 */
718 bit8 attachedSasAddressHi[4]; /* byte 24 - 27 */
719 bit8 attachedSasAddressLo[4]; /* byte 28 - 31 */
722 /* B7-3 : reserved */
726 bit8 reserved3[6]; /* byte 34 - 39; for indentify address frame related fields */
728 /* B7-4 : programmedMinPhyLinkRate */
729 /* B3-0 : hardwareMinPhyLinkRate */
731 /* B7-4 : programmedMaxPhyLinkRate */
732 /* B3-0 : hardwareMaxPhyLinkRate */
736 /* B6-4 : reserved */
737 /* B3-0 : partialPathwayTimeout */
739 /* B7-4 : reserved */
740 /* B3-0 : routingAttribute */
743 /* B6-0 : Connector Type */
746 bit8 reserved4[2]; /* byte 48 - 49 */
747 bit8 vendorSpecific[2]; /* byte 50 - 51*/
748 bit8 AttachedDeviceName[8]; /* byte 52 - 59*/
758 bit8 reserved5[2]; /* byte 61 - 62; zoning-related fields */
762 bit8 reserved6[2]; /* byte 66 - 67; self configuration related fields */
763 bit8 SelfConfigurationSASAddressHi[4]; /* byte 68 - 71 */
764 bit8 SelfConfigurationSASAddressLo[4]; /* byte 72 - 75 */
765 bit8 ProgrammedphyCapabilities[4]; /* byte 76 - 79 */
766 bit8 CurrentphyCapabilities[4]; /* byte 80 - 83 */
767 bit8 AttachedphyCapabilities[4]; /* byte 84 - 87 */
768 bit8 reserved7[6]; /* byte 88 - 93 */
771 /* B7-2 : reserved */
775 /* B7-6 : reserved */
786 /* B7-6 : reserved */
797 /* B7-6 : reserved */
802 /* B1-0 : reserved */
808 bit16 PathToEnclosure; /* byte 110 - 111 */
822 (((pResp)->attachedDeviceTypeReason & 0x70) >> 4)
824 ((pResp)->ReasonNegotiatedPhysicalLinkRate & 0x0F)
826 ((pResp)->NegotiatedLogicalLinkRate & 0x0F)
829 (((pResp)->attached_Ssp_Stp_Smp_Sata_Initiator & DISCRSP_SSP_BIT) == DISCRSP_SSP_BIT)
831 (((pResp)->attached_Ssp_Stp_Smp_Sata_Initiator & DISCRSP_STP_BIT) == DISCRSP_STP_BIT)
833 (((pResp)->attached_Ssp_Stp_Smp_Sata_Initiator & DISCRSP_SMP_BIT) == DISCRSP_SMP_BIT)
835 (((pResp)->attached_Ssp_Stp_Smp_Sata_Initiator & DISCRSP_SATA_BIT) == DISCRSP_SATA_BIT)
838 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_SSP_BIT) == DISCRSP_SSP_BIT)
840 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_STP_BIT) == DISCRSP_STP_BIT)
842 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_SMP_BIT) == DISCRSP_SMP_BIT)
844 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_SATA_BIT) == DISCRSP_SATA_BIT)
846 (((pResp)->attached_SataPS_Ssp_Stp_Smp_Sata_Target & DISCRSP_SATA_PS_BIT) == DISCRSP_SATA_PS_BIT)
849 DMA_BEBIT32_TO_BIT32(*(bit32 *)(pResp)->sasAddressHi)
851 DMA_BEBIT32_TO_BIT32(*(bit32 *)(pResp)->sasAddressLo)
854 DMA_BEBIT32_TO_BIT32(*(bit32 *)(pResp)->attachedSasAddressHi)
856 DMA_BEBIT32_TO_BIT32(*(bit32 *)(pResp)->attachedSasAddressLo)
860 (((pResp)->virtualPhy_partialPathwayTimeout & DISCRSP_VIRTUALPHY_BIT) == DISCRSP_VIRTUALPHY_BIT)
863 ((pResp)->routingAttribute & 0x0F)
866 (((pResp)->NegotiatedSSCHWMuxingSupported & SAS2_MUXING_SUPPORTED) == SAS2_MUXING_SUPPORTED)
873 bit32 reserved1; /* byte 4 - 7 */
878 /* B6-4 : Reserved */
879 /* B3-0 : Phy Filter */
881 /* B7-4 : Reserved */
882 /* B6-4 : Descriptor Type */
883 bit32 reserved2; /* byte 12 - 15 */
884 bit8 VendorSpecific[12]; /* byte 16 - 27 */
894 bit16 ExpanderChangeCount; /* byte 4 - 5 */
895 bit16 reserved1; /* byte 6 - 7 */
899 /* B7-4 : Reserved */
900 /* B3-0 : Phy Filter */
902 /* B7-4 : Reserved */
903 /* B6-4 : Descriptor Type */
906 bit16 reserved3; /* byte 14 - 15 */
910 /* B5-4 : Reserved */
916 bit16 LastDescIdx; /* byte 18 - 19 */
917 bit16 LastPhyDescIdx; /* byte 20 - 21 */
918 bit8 reserved5[10]; /* byte 22 - 31 */
919 bit8 VendorSpecific[16]; /* byte 32 - 47 */
929 bit8 reserved1[2]; /* byte 4 - 5 */
930 bit8 expanderRouteIndex16[20]; /* byte 6- 7 */
933 bit8 reserved3[2]; /* byte 10 -11 */
941 bit16 expanderChangeCount; /* byte 4 - 5 */
942 bit16 expanderRouteIndex; /* byte 6 - 7 */
945 bit8 reserved2[2]; /* byte 10 - 11 */
948 /* B6-0 : reserved */
949 bit8 reserved4[3]; /* byte 13-15 */
950 bit8 routedSasAddressHi[4]; /* byte 16-19 */
951 bit8 routedSasAddressLo[4]; /* byte 20-23 */
952 bit8 reserved5[16]; /* byte 24-39 */
960 bit16 expectedExpanderChangeCount; /* byte 4-5 */
961 bit16 expanderRouteIndex; /* byte 6-7 */
964 bit8 reserved2[2]; /* byte 10-11 */
967 /* B6-0 : reserved */
968 bit8 reserved4[3]; /* byte 13-15 */
969 bit8 routedSasAddressHi[4]; /* byte 16-19 */
970 bit8 routedSasAddressLo[4]; /* byte 20-23 */
971 bit8 reserved5[16]; /* byte 24-39 */
989 bit8 reserved1[5]; /* byte 4-8 */
1000 bit16 expanderChangeCount; /* byte 4-5 */
1001 bit8 reserved1[3]; /* byte 6-8 */
1005 /* b7-3 : reserved */
1009 bit8 reserved3[4]; /* byte 12-15 */
1010 bit8 stpSasAddressHi[4]; /* byte 16-19 */
1011 bit8 stpSasAddressLo[4]; /* byte 20-23 */
1012 bit8 regDevToHostFis[20]; /* byte 24-43 */
1013 bit8 reserved4[4]; /* byte 44-47 */
1014 bit8 affiliatedStpInitiatorSasAddressHi[4]; /* byte 48-51 */
1015 bit8 affiliatedStpInitiatorSasAddressLo[4]; /* byte 52-55 */
1016 bit8 STPITNexusLossSASAddressHi[4]; /* byte 56-59 */
1017 bit8 STPITNexusLossSASAddressLo[4]; /* byte 60-63 */
1030 bit16 expectedExpanderChangeCount; /* byte 4-5 */
1031 bit8 reserved1[3]; /* byte 6-8 */
1035 /* b7-1 : reserved */
1037 bit8 reserved2[12]; /* byte 12-23 */
1038 bit8 AttachedDeviceName[8]; /* byte 24-31 */
1040 /* b7-4 : programmed Minimum Physical Link Rate*/
1041 /* b3-0 : reserved */
1043 /* b7-4 : programmed Maximum Physical Link Rate*/
1044 /* b3-0 : reserved */
1045 bit8 reserved3[2]; /* byte 34-35 */
1047 /* b7-4 : reserved */
1048 /* b3-0 : partial Pathway TO Value */
1049 bit8 reserved4[3]; /* byte 37-39 */
1066 /* bit8 array[4] -> bit32 */
1126 /* bit8 array[4] -> bit32 */
1128 DMA_BEBIT32_TO_BIT32(*(bit32 *)(devInfo)->sasAddressLo)
1131 DMA_BEBIT32_TO_BIT32(*(bit32 *)(devInfo)->sasAddressHi)
1135 (((devInfo)->devType_S_Rate & 0xC0) >> 6)
1138 ((devInfo)->devType_S_Rate & 0x0F)
1151 (((DeviceData)->initiator_ssp_stp_smp & DEVICE_SSP_BIT) == DEVICE_SSP_BIT)
1154 (((DeviceData)->initiator_ssp_stp_smp & DEVICE_STP_BIT) == DEVICE_STP_BIT)
1157 (((DeviceData)->initiator_ssp_stp_smp & DEVICE_SMP_BIT) == DEVICE_SMP_BIT)
1160 (((DeviceData)->target_ssp_stp_smp & DEVICE_SSP_BIT) == DEVICE_SSP_BIT)
1163 (((DeviceData)->target_ssp_stp_smp & DEVICE_STP_BIT) == DEVICE_STP_BIT)
1166 (((DeviceData)->target_ssp_stp_smp & DEVICE_SMP_BIT) == DEVICE_SMP_BIT)
1169 (((DeviceData)->target_ssp_stp_smp & DEVICE_SATA_BIT) == DEVICE_SATA_BIT)
1171 /* bit8 array[4] -> bit32 */
1173 DMA_BEBIT32_TO_BIT32(*(bit32 *)(devInfo)->sasAddressLo)
1176 DMA_BEBIT32_TO_BIT32(*(bit32 *)(devInfo)->sasAddressHi)
1180 (((devInfo)->devType_S_Rate & 0xC0) >> 6)
1183 ((devInfo)->devType_S_Rate & 0x0F)
1187 (((devInfo)->ext & 0x100) >> 8)
1190 (((devInfo)->ext & 0x600) >> 9)
1193 (((devInfo)->ext & 0x7800) >> 11)
1197 ((devInfo)->smpTimeout) = smpto
1200 ((devInfo)->it_NexusTimeout) = itnexusto
1203 ((devInfo)->firstBurstSize) = fbs
1206 ((devInfo)->flag) = tlr
1209 ((devInfo)->devType_S_Rate) = dev_s_rate
1211 /* bit32 -> bit8 array[4] */
1213 *(bit32 *)((devInfo)->sasAddressLo) = BIT32_TO_DMA_BEBIT32(src32)
1216 *(bit32 *)((devInfo)->sasAddressHi) = BIT32_TO_DMA_BEBIT32(src32)
1219 ((devInfo)->initiator_ssp_stp_smp) = ini_ssp_stp_smp
1222 ((devInfo)->target_ssp_stp_smp) = tgt_ssp_stp_smp
1225 ((devInfo)->ext) = extension