Lines Matching refs:FromPort

4548 int		FromPort;	/* the port from which we switch away */  local
4565 FromPort = Param.Para32[0];
4567 ("PORT FAIL EVENT, Port: %d\n", FromPort));
4568 if (FromPort == 0) {
4577 FromPort = Param.Para32[0];
4579 ("PORT RESET EVENT, Port: %d ", FromPort));
4580 NewPara.Para64 = FromPort;
4583 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,
4586 SkGeStopPort(pAC, IoC, FromPort, SK_STOP_ALL, SK_HARD_RST);
4589 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,
4593 ReceiveIrq(pAC, &pAC->RxPort[FromPort], SK_FALSE);
4595 ClearTxRing(pAC, &pAC->TxPort[FromPort][TX_PRIO_LOW]);
4597 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,
4601 if (SkGeInitPort(pAC, IoC, FromPort)) {
4602 if (FromPort == 0) {
4608 SkAddrMcUpdate(pAC,IoC, FromPort);
4609 PortReInitBmu(pAC, FromPort);
4610 SkGePollTxD(pAC, IoC, FromPort, SK_TRUE);
4611 ClearAndStartRx(pAC, FromPort);
4613 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,
4618 FromPort = Param.Para32[0];
4622 SkAddrMcUpdate(pAC,IoC, FromPort);
4629 Stat = pAC->GIni.GP[FromPort].PLinkSpeedUsed;
4641 Stat = pAC->GIni.GP[FromPort].PLinkModeStatus;
4656 Stat = pAC->GIni.GP[FromPort].PFlowCtrlStatus;
4672 (pAC->GIni.GP[FromPort].PLinkSpeedUsed ==
4674 Stat = pAC->GIni.GP[FromPort].PMSStatus;
4753 FromPort = Param.Para32[0];
4757 FromPort, ToPort, pAC->Rlmt.Net[0].PrefPort));
4758 NewPara.Para64 = FromPort;
4763 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,
4767 SkGeStopPort(pAC, IoC, FromPort, SK_STOP_ALL, SK_SOFT_RST);
4772 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,
4775 ReceiveIrq(pAC, &pAC->RxPort[FromPort], SK_FALSE); /* clears rx ring */
4778 ClearTxRing(pAC, &pAC->TxPort[FromPort][TX_PRIO_LOW]);
4781 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,
4802 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,
4809 if (SkGeInitPort(pAC, IoC, FromPort) ||
4814 SkMacRxTxEnable(pAC, IoC, FromPort);
4817 SkAddrSwap(pAC, IoC, FromPort, ToPort);
4818 SkAddrMcUpdate(pAC, IoC, FromPort);
4820 PortReInitBmu(pAC, FromPort);
4822 SkGePollTxD(pAC, IoC, FromPort, SK_TRUE);
4824 ClearAndStartRx(pAC, FromPort);
4829 &pAC->TxPort[FromPort][TX_PRIO_LOW].TxDesRingLock,