Lines Matching refs:PioMode
111 UINT16 PioMode;
119 PioMode = (UINT8) (((ATA5_IDENTIFY_DATA *) (&(IdentifyData->AtaData)))->pio_cycle_timing >> 8);
145 AdvancedPioMode = PioMode;
151 PioMode = (UINT16) MIN (AdvancedPioMode, 4);
156 PioMode = (UINT16) MIN (4, PioMode);
158 PioMode = (UINT16) MIN (3, PioMode);
160 PioMode = (UINT16) MIN (2, PioMode);
162 PioMode = 0;
173 if (PioMode >= *DisPioMode) {
174 PioMode = (UINT16) (*DisPioMode - 1);
178 if (PioMode < 2) {
181 *SelectedMode = PioMode; // ATA_PIO_MODE_2 to ATA_PIO_MODE_4;
194 if (PioMode == *DisPioMode) {
195 PioMode--;
199 if (PioMode < 2) {
1022 (DisqualifiedModes->PioMode.Valid ? ((UINT16 *) &(DisqualifiedModes->PioMode.Mode)) : NULL),
1026 (*SupportedModes)->PioMode.Valid = TRUE;
1027 (*SupportedModes)->PioMode.Mode = SelectedMode;
1030 (*SupportedModes)->PioMode.Valid = FALSE;
1032 DEBUG ((EFI_D_INFO, "IdeInitCalculateMode: PioMode = %x\n", (*SupportedModes)->PioMode.Mode));