Home | History | Annotate | Download | only in UndiRuntimeDxe

Lines Matching refs:Index

516   volatile INT16 Index;

526 for (Index = 0; Index < sizeof (basic_config_cmd); Index++) {
527 data_ptr[Index] = basic_config_cmd[Index];
864 UINT16 Index;
902 for (Index = 0; (Index < mc_count && Index < MAX_MCAST_ADDRESS_CNT); Index++) {
904 AdapterInfo->mcast_list.mc_list[Index][Index2] = mc_list->MCastList[Index][Index2];
953 for (Index = 0; Index < mc_count; Index++) {
955 data_ptr->m_list[Index][Index2] = AdapterInfo->mcast_list.mc_list[Index][Index2];
1022 INT32 Index;
1075 for (Index = 0; Index < tx_ptr_f->FragCnt; Index++) {
1078 tx_ptr_f->FragDesc[Index].FragAddr,
1079 tx_ptr_f->FragDesc[Index].FragLen,
1089 tcb_ptr->TBDArray[Index].phys_buf_addr = (UINT32) Tmp_ptr;
1090 tcb_ptr->TBDArray[Index].buf_len = tx_ptr_f->FragDesc[Index].FragLen;
1145 for (Index = 0; Index < tx_ptr_f->FragCnt; Index++) {
1146 Tmp_ptr = tcb_ptr->TBDArray[Index].phys_buf_addr;
1149 tx_ptr_f->FragDesc[Index].FragAddr,
1150 tx_ptr_f->FragDesc[Index].FragLen,
1204 INT32 Index;
1283 for (Index = 0; Index < PXE_HWADDR_LEN_ETHER; Index++) {
1284 if (hdr_ptr->dest_addr[Index] != AdapterInfo->CurrentNodeAddress[Index]) {
1289 if (Index >= PXE_HWADDR_LEN_ETHER) {
1292 for (Index = 0; Index < PXE_HWADDR_LEN_ETHER; Index++) {
1293 if (hdr_ptr->dest_addr[Index] != AdapterInfo->BroadcastNodeAddress[Index]) {
1298 if (Index >= PXE_HWADDR_LEN_ETHER) {
1316 for (Index = 0; Index < PXE_HWADDR_LEN_ETHER; Index++) {
1317 rx_dbptr->SrcAddr[Index] = hdr_ptr->src_addr[Index];
1318 rx_dbptr->DestAddr[Index] = hdr_ptr->dest_addr[Index];
1377 INT32 Index;
1393 for (Index2 = 0, Index = 0; ((Index2 < PXE_MAC_LENGTH - 1) && (Index < eeprom_len)); Index++) {
1395 value = E100bReadEeprom (AdapterInfo, Index, addr_len);
1396 eedata[Index] = value;
1398 if (Index < 3) {
1408 for (Index = 0; Index < PXE_HWADDR_LEN_ETHER; Index++) {
1409 AdapterInfo->CurrentNodeAddress[Index] = AdapterInfo->PermNodeAddress[Index];
1412 for (Index = 0; Index < PXE_HWADDR_LEN_ETHER; Index++) {
1413 AdapterInfo->BroadcastNodeAddress[Index] = 0xff;
1416 for (Index = PXE_HWADDR_LEN_ETHER; Index < PXE_MAC_LENGTH; Index++) {
1417 AdapterInfo->CurrentNodeAddress[Index] = 0;
1418 AdapterInfo->PermNodeAddress[Index] = 0;
1419 AdapterInfo->BroadcastNodeAddress[Index] = 0;
1449 INT32 Index;
1454 for (Index = 0; Index < AdapterInfo->TxBufCnt; Index++) {
1455 cur_ptr[Index].cb_header.status = 0;
1456 cur_ptr[Index].cb_header.command = 0;
1458 cur_ptr[Index].PhysTCBAddress =
1459 (UINT32) AdapterInfo->tx_phy_addr + (Index * sizeof (TxCB));
1461 cur_ptr[Index].PhysArrayAddr = (UINT32)(cur_ptr[Index].PhysTCBAddress + array_off);
1462 cur_ptr[Index].PhysTBDArrayAddres = (UINT32)(cur_ptr[Index].PhysTCBAddress + array_off);
1466 if (Index < AdapterInfo->TxBufCnt - 1) {
1467 cur_ptr[Index].cb_header.link = cur_ptr[Index].PhysTCBAddress + sizeof (TxCB);
1468 cur_ptr[Index].NextTCBVirtualLinkPtr = &cur_ptr[Index + 1];
1469 cur_ptr[Index + 1].PrevTCBVirtualLinkPtr = &cur_ptr[Index];
1657 UINT16 Index;
1662 for (Index = 0; Index < AdapterInfo->RxBufCnt; Index++) {
1663 rx_ptr[Index].cb_header.status = 0;
1664 rx_ptr[Index].cb_header.command = 0;
1665 rx_ptr[Index].RFDSize = RX_BUFFER_SIZE;
1666 rx_ptr[Index].ActualCount = 0;
1670 rx_ptr[Index].rx_buf_addr = (UINT32) (-1);
1675 rx_ptr[Index].forwarded = FALSE;
1680 if (Index < AdapterInfo->RxBufCnt - 1) {
1681 rx_ptr[Index].cb_header.link = (UINT32) AdapterInfo->rx_phy_addr + ((Index + 1) * sizeof (RxFD));
1788 INT32 Index;
1794 for (Index = num_bits; Index >= 0; Index--) {
1800 dataval = (INT16) ((val & (1 << Index)) ? EE_DI : 0);
1837 INT32 Index;
1844 for (Index = 15; Index >= 0; Index--) {