Home | History | Annotate | Download | only in IsaAcpiDxe

Lines Matching refs:Index

114   UINTN  Index;

116 Index = 0;
118 CopyMem (&gPcatIsaAcpiDeviceList[Index], &mPcatIsaAcpiCom1Device, sizeof(mPcatIsaAcpiCom1Device));
119 Index++;
122 CopyMem (&gPcatIsaAcpiDeviceList[Index], &mPcatIsaAcpiCom2Device, sizeof(mPcatIsaAcpiCom2Device));
123 Index++;
126 CopyMem (&gPcatIsaAcpiDeviceList[Index], &mPcatIsaAcpiPs2KeyboardDevice, sizeof(mPcatIsaAcpiPs2KeyboardDevice));
127 Index++;
130 CopyMem (&gPcatIsaAcpiDeviceList[Index], &mPcatIsaAcpiPs2MouseDevice, sizeof(mPcatIsaAcpiPs2MouseDevice));
131 Index++;
134 CopyMem (&gPcatIsaAcpiDeviceList[Index], &mPcatIsaAcpiFloppyADevice, sizeof(mPcatIsaAcpiFloppyADevice));
135 Index++;
138 CopyMem (&gPcatIsaAcpiDeviceList[Index], &mPcatIsaAcpiFloppyBDevice, sizeof(mPcatIsaAcpiFloppyBDevice));
139 Index++;
160 UINTN Index;
167 Index = 0;
169 for(Index = 0; gPcatIsaAcpiDeviceList[Index].ResourceItem != NULL; Index++) {
170 if (Device->HID == gPcatIsaAcpiDeviceList[Index].Device.HID &&
171 Device->UID == gPcatIsaAcpiDeviceList[Index].Device.UID ) {
175 if (gPcatIsaAcpiDeviceList[Index].ResourceItem == NULL) {
178 *IsaAcpiDevice = &(gPcatIsaAcpiDeviceList[Index]);
179 Index++;
181 if (gPcatIsaAcpiDeviceList[Index].ResourceItem != NULL && NextIsaAcpiDevice != NULL) {
182 *NextIsaAcpiDevice = &(gPcatIsaAcpiDeviceList[Index]);