Lines Matching refs:IdeDevice
2629 UINT8 IdeDevice;
2644 for (IdeDevice = 0; IdeDevice < EfiIdeMaxDevice; IdeDevice++) {
2648 IdeWritePortB (PciIo, IdeRegisters->Head, (UINT8)((IdeDevice << 4) | 0xe0));
2665 IdeWritePortB (PciIo, IdeRegisters->Head, (UINT8)((IdeDevice << 4) | 0xe0));
2691 Status = AtaIdentify (Instance, IdeChannel, IdeDevice, &Buffer, NULL);
2699 Status = AtaIdentifyPacket (Instance, IdeChannel, IdeDevice, &Buffer, NULL);
2702 Status = AtaIdentifyPacket (Instance, IdeChannel, IdeDevice, &Buffer, NULL);
2708 Status = AtaIdentify (Instance, IdeChannel, IdeDevice, &Buffer, NULL);
2720 (IdeChannel == 1) ? "secondary" : "primary ", (IdeDevice == 1) ? "slave " : "master",
2729 IdeDevice,
2738 IdeInit->SubmitData (IdeInit, IdeChannel, IdeDevice, &Buffer);
2746 IdeDevice,
2766 Status = SetDeviceTransferMode (Instance, IdeChannel, IdeDevice, &TransferMode, NULL);
2783 Status = SetDeviceTransferMode (Instance, IdeChannel, IdeDevice, &TransferMode, NULL);
2792 Status = SetDeviceTransferMode (Instance, IdeChannel, IdeDevice, &TransferMode, NULL);
2813 Status = SetDriveParameters (Instance, IdeChannel, IdeDevice, &DriveParameters, NULL);
2819 IdeInit->SetTiming (IdeInit, IdeChannel, IdeDevice, SupportedModes);
2825 Status = CreateNewDeviceInfo (Instance, IdeChannel, IdeDevice, DeviceType, &Buffer);