Lines Matching refs:SupportedModes
933 algorithms to arrive at SupportedModes. The IDE controller may base its
940 are satisfied. For example, the SupportedModes information for device A that
944 The buffer SupportedModes is allocated by the callee because the caller does
959 @param[out] SupportedModes The optimum modes for the device.
961 @retval EFI_SUCCESS SupportedModes was returned.
964 @retval EFI_INVALID_PARAMETER SupportedModes is NULL.
979 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
993 if ((Channel >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= SataPrivateData->DeviceCount)) {
997 *SupportedModes = AllocateZeroPool (sizeof (EFI_ATA_COLLECTIVE_MODE));
998 if (*SupportedModes == NULL) {
999 ASSERT (*SupportedModes != NULL);
1013 FreePool (*SupportedModes);
1023 (*SupportedModes)->PioMode.Valid = TRUE;
1024 (*SupportedModes)->PioMode.Mode = SelectedMode;
1027 (*SupportedModes)->PioMode.Valid = FALSE;
1029 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: PioMode = %x\n", (*SupportedModes)->PioMode.Mode));
1038 (*SupportedModes)->UdmaMode.Valid = TRUE;
1039 (*SupportedModes)->UdmaMode.Mode = SelectedMode;
1042 (*SupportedModes)->UdmaMode.Valid = FALSE;
1044 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: UdmaMode = %x\n", (*SupportedModes)->UdmaMode.Mode));