Home | History | Annotate | Download | only in Flash

Lines Matching refs:Index

151   UINTN      Index;

164 for (Index = 0; Index < sizeof(PartInfo); Index++) {
165 PartInfo[Index] = MmioRead16(GPMC_NAND_DATA_0);
169 for (Index = 0; Index < sizeof(gNandPartInfoTable)/sizeof(NAND_PART_INFO_TABLE); Index++) {
170 if (gNandPartInfoTable[Index].ManufactureId == PartInfo[0] && gNandPartInfoTable[Index].DeviceId == PartInfo[1]) {
171 gNandFlashInfo->BlockAddressStart = gNandPartInfoTable[Index].BlockAddressStart;
172 gNandFlashInfo->PageAddressStart = gNandPartInfoTable[Index].PageAddressStart;
256 UINTN Index;
266 for (Index = 0; Index < gNum512BytesChunks; Index++) {
273 gEccCode[Index * 3] = EccResult & 0xFF;
274 gEccCode[(Index * 3) + 1] = (EccResult >> 16) & 0xFF;
275 gEccCode[(Index * 3) + 2] = (((EccResult >> 20) & 0xF0) | ((EccResult >> 8) & 0x0F));
291 UINTN Index;
298 //Generate device address in bytes to access specific block and page index
330 for (Index = 0; Index < NumMainAreaWords; Index++) {
335 for (Index = 0; Index < NumSpareAreaWords; Index++) {
362 UINTN Index;
366 //Generate device address in bytes to access specific block and page index
379 for (Index = 0; Index < (gNandFlashInfo->PageSize/2); Index++) {
400 for (Index = 0; Index < (gNandFlashInfo->SparePageSize/2); Index++) {
439 //Generate device address in bytes to access specific block and page index