Lines Matching defs:SasEx
804 SASEX_DEVICE_PATH *SasEx;
807 SasEx = DevPath;
808 UefiDevicePathLibCatPrint (Str, "SasEx(0x");
810 for (Index = 0; Index < sizeof (SasEx->SasAddress) / sizeof (SasEx->SasAddress[0]); Index++) {
811 UefiDevicePathLibCatPrint (Str, "%02x", SasEx->SasAddress[Index]);
815 for (Index = 0; Index < sizeof (SasEx->Lun) / sizeof (SasEx->Lun[0]); Index++) {
816 UefiDevicePathLibCatPrint (Str, "%02x", SasEx->Lun[Index]);
819 UefiDevicePathLibCatPrint (Str, ",0x%x,", SasEx->RelativeTargetPort);
821 if (((SasEx->DeviceTopology & 0x0f) == 0) && ((SasEx->DeviceTopology & BIT7) == 0)) {
823 } else if (((SasEx->DeviceTopology & 0x0f) <= 2) && ((SasEx->DeviceTopology & BIT7) == 0)) {
827 ((SasEx->DeviceTopology & BIT4) != 0) ? "SATA" : "SAS",
828 ((SasEx->DeviceTopology & BIT5) != 0) ? "External" : "Internal",
829 ((SasEx->DeviceTopology & BIT6) != 0) ? "Expanded" : "Direct"
831 if ((SasEx->DeviceTopology & 0x0f) == 1) {
837 UefiDevicePathLibCatPrint (Str, "0x%x", ((SasEx->DeviceTopology >> 8) & 0xff) + 1);
840 UefiDevicePathLibCatPrint (Str, "0x%x,0,0,0", SasEx->DeviceTopology);