Lines Matching refs:SupportedModes
897 algorithms to arrive at SupportedModes. The IDE controller may base its
904 are satisfied. For example, the SupportedModes information for device A that
908 The buffer SupportedModes is allocated by the callee because the caller does
923 @param[out] SupportedModes The optimum modes for the device.
925 @retval EFI_SUCCESS SupportedModes was returned.
928 @retval EFI_INVALID_PARAMETER SupportedModes is NULL.
943 OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes
957 if ((Channel >= This->ChannelCount) || (SupportedModes == NULL) || (Device >= SataPrivateData->DeviceCount)) {
961 *SupportedModes = AllocateZeroPool (sizeof (EFI_ATA_COLLECTIVE_MODE));
962 if (*SupportedModes == NULL) {
963 ASSERT (*SupportedModes != NULL);
977 FreePool (*SupportedModes);
987 (*SupportedModes)->PioMode.Valid = TRUE;
988 (*SupportedModes)->PioMode.Mode = SelectedMode;
991 (*SupportedModes)->PioMode.Valid = FALSE;
993 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: PioMode = %x\n", (*SupportedModes)->PioMode.Mode));
1002 (*SupportedModes)->UdmaMode.Valid = TRUE;
1003 (*SupportedModes)->UdmaMode.Mode = SelectedMode;
1006 (*SupportedModes)->UdmaMode.Valid = FALSE;
1008 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: UdmaMode = %x\n", (*SupportedModes)->UdmaMode.Mode));