Lines Matching refs:IoC
293 SK_IOC IoC,
297 SK_IOC IoC,
301 SK_IOC IoC,
339 SK_IOC IoC, /* I/O Context */ in SkRlmtInit() argument
399 (void)SkRlmtEvent(pAC, IoC, SK_RLMT_MODE_CHANGE, Para); in SkRlmtInit()
408 SkRlmtEvtSetNets(pAC, IoC, Para); in SkRlmtInit()
420 (void)SkAddrMcClear(pAC, IoC, i, SK_ADDR_PERMANENT | SK_MC_SW_ONLY); in SkRlmtInit()
423 (void)SkAddrMcAdd(pAC, IoC, i, &SkRlmtMcAddr, SK_ADDR_PERMANENT); in SkRlmtInit()
427 (void)SkAddrMcAdd(pAC, IoC, i, &BridgeMcAddr, SK_ADDR_PERMANENT); in SkRlmtInit()
430 (void)SkAddrMcUpdate(pAC, IoC, i); in SkRlmtInit()
437 SK_IN8(IoC, B2_MAC_1 + j, &VirtualMacAddress.a[j]); in SkRlmtInit()
445 SK_IN8(IoC, B2_MAC_2 + j, &PhysicalAMacAddress.a[j]); in SkRlmtInit()
582 SK_IOC IoC, /* I/O Context */ in SkRlmtBuildPacket() argument
609 if ((pMb = SkDrvAllocRlmtMbuf(pAC, IoC, SK_RLMT_MAX_PACKET_SIZE)) != NULL) { in SkRlmtBuildPacket()
669 SK_IOC IoC, /* I/O Context */ in SkRlmtBuildSpanningTreePacket() argument
677 if ((pMb = SkDrvAllocRlmtMbuf(pAC, IoC, SK_RLMT_MAX_PACKET_SIZE)) != in SkRlmtBuildSpanningTreePacket()
752 SK_IOC IoC, /* I/O Context */ in SkRlmtSend() argument
763 if ((Para.pParaPtr = SkRlmtBuildPacket(pAC, IoC, PortNumber, in SkRlmtSend()
775 if ((Para.pParaPtr = SkRlmtBuildPacket(pAC, IoC, PortNumber, in SkRlmtSend()
791 SkRlmtBuildSpanningTreePacket(pAC, IoC, PortNumber)) != NULL) { in SkRlmtSend()
820 SK_IOC IoC, /* I/O Context */ in SkRlmtPortReceives() argument
842 SkTimerStart(pAC, IoC, &pRPort->UpTimer, SK_RLMT_PORTUP_TIM_VAL, in SkRlmtPortReceives()
846 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtPortReceives()
851 SkTimerStop(pAC, IoC, &pRPort->DownRxTimer); in SkRlmtPortReceives()
854 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtPortReceives()
876 SK_IOC IoC, /* I/O Context */ in SkRlmtPacketReceive() argument
907 SkRlmtPortReceives(pAC, IoC, PortNumber); in SkRlmtPacketReceive()
920 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
967 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
1010 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
1024 SkTimerStop(pAC, IoC, &pRPort->DownTxTimer); in SkRlmtPacketReceive()
1032 SkTimerStop(pAC, IoC, &pRPort->DownTxTimer); in SkRlmtPacketReceive()
1036 SkTimerStart(pAC, IoC, &pRPort->UpTimer, in SkRlmtPacketReceive()
1043 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
1074 SkTimerStart(pAC, IoC, &pRPort->DownTxTimer, in SkRlmtPacketReceive()
1078 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
1080 if ((Para.pParaPtr = SkRlmtBuildPacket(pAC, IoC, PortNumber, in SkRlmtPacketReceive()
1093 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
1101 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
1143 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
1146 SkRlmtCheckSeg(pAC, IoC, pAC->Rlmt.Port[PortNumber].Net->NetNumber); in SkRlmtPacketReceive()
1154 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtPacketReceive()
1220 SK_IOC IoC, /* I/O Context */ in SkRlmtCheckPort() argument
1267 SkTimerStart(pAC, IoC, &pRPort->DownRxTimer, in SkRlmtCheckPort()
1278 SkRlmtBuildPacket(pAC, IoC, PortNumber, SK_PACKET_CHECK_TX, in SkRlmtCheckPort()
1298 SkRlmtPortReceives(pAC, IoC, PortNumber); in SkRlmtCheckPort()
1300 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtCheckPort()
1326 SK_IOC IoC, /* I/O Context */ in SkRlmtSelectBcRx() argument
1409 SK_IOC IoC, /* I/O Context */ in SkRlmtSelectNotSuspect() argument
1458 SK_IOC IoC, /* I/O Context */ in SkRlmtSelectUp() argument
1507 SK_IOC IoC, /* I/O Context */ in SkRlmtSelectGoingUp() argument
1565 SK_IOC IoC, /* I/O Context */ in SkRlmtSelectDown() argument
1615 SK_IOC IoC, /* I/O Context */ in SkRlmtCheckSwitch() argument
1682 (Para.pParaPtr = SkRlmtBuildPacket(pAC, IoC, in SkRlmtCheckSwitch()
1730 pAC, IoC, Active, PrefPort, &Para.Para32[1]); in SkRlmtCheckSwitch()
1735 pAC, IoC, Active, PrefPort, &Para.Para32[1]); in SkRlmtCheckSwitch()
1744 pAC, IoC, Active, PrefPort, &Para.Para32[1]); in SkRlmtCheckSwitch()
1749 pAC, IoC, Active, PrefPort, &Para.Para32[1]); in SkRlmtCheckSwitch()
1755 pAC, IoC, Active, PrefPort, &Para.Para32[1], AUTONEG_SUCCESS); in SkRlmtCheckSwitch()
1760 pAC, IoC, Active, PrefPort, &Para.Para32[1], AUTONEG_FAILED); in SkRlmtCheckSwitch()
1765 pAC, IoC, Active, PrefPort, &Para.Para32[1], AUTONEG_SUCCESS); in SkRlmtCheckSwitch()
1770 pAC, IoC, Active, PrefPort, &Para.Para32[1], AUTONEG_FAILED); in SkRlmtCheckSwitch()
1775 PortFound = SkRlmtSelectDown(pAC, IoC, in SkRlmtCheckSwitch()
1780 PortFound = SkRlmtSelectDown(pAC, IoC, in SkRlmtCheckSwitch()
1795 SK_HWAC_LINK_LED(pAC, IoC, Para.Para32[1], SK_LED_ACTIVE); in SkRlmtCheckSwitch()
1800 SK_HWAC_LINK_LED(pAC, IoC, Para.Para32[0], SK_LED_STANDBY); in SkRlmtCheckSwitch()
1811 (Para.pParaPtr = SkRlmtBuildPacket(pAC, IoC, Para.Para32[0], in SkRlmtCheckSwitch()
1847 SK_IOC IoC, /* I/O Context */ in SkRlmtCheckSeg() argument
1895 SkTimerStart(pAC, IoC, &pNet->SegTimer, SK_RLMT_SEG_TO_VAL, in SkRlmtCheckSeg()
1925 SK_IOC IoC, /* I/O Context */ in SkRlmtPortStart() argument
1958 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtPortStartTim() argument
1984 SkRlmtPortStart(pAC, IoC, in SkRlmtEvtPortStartTim()
2011 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtLinkUp() argument
2037 SkTimerStop(pAC, IoC, &pRPort->UpTimer); in SkRlmtEvtLinkUp()
2038 SkTimerStop(pAC, IoC, &pRPort->DownRxTimer); in SkRlmtEvtLinkUp()
2039 SkTimerStop(pAC, IoC, &pRPort->DownTxTimer); in SkRlmtEvtLinkUp()
2049 SK_HWAC_LINK_LED(pAC, IoC, Para.Para32[0], SK_LED_ACTIVE); in SkRlmtEvtLinkUp()
2052 SK_HWAC_LINK_LED(pAC, IoC, Para.Para32[0], SK_LED_STANDBY); in SkRlmtEvtLinkUp()
2057 SkRlmtPortStart(pAC, IoC, pRPort->Net->Port[i]->PortNumber); in SkRlmtEvtLinkUp()
2061 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtEvtLinkUp()
2075 SkTimerStart(pAC, IoC, &pRPort->Net->LocTimer, in SkRlmtEvtLinkUp()
2081 SkTimerStart(pAC, IoC, &pRPort->UpTimer, SK_RLMT_PORTUP_TIM_VAL, in SkRlmtEvtLinkUp()
2088 SkRlmtBuildPacket(pAC, IoC, Para.Para32[0], SK_PACKET_ANNOUNCE, in SkRlmtEvtLinkUp()
2097 SkRlmtBuildSpanningTreePacket(pAC, IoC, Para.Para32[0])) != NULL) { in SkRlmtEvtLinkUp()
2105 SkTimerStart(pAC, IoC, &pRPort->Net->SegTimer, in SkRlmtEvtLinkUp()
2131 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtPortUpTim() argument
2159 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtEvtPortUpTim()
2185 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtPortDownX() argument
2212 SkTimerStop(pAC, IoC, &pRPort->UpTimer); in SkRlmtEvtPortDownX()
2213 SkTimerStop(pAC, IoC, &pRPort->DownRxTimer); in SkRlmtEvtPortDownX()
2214 SkTimerStop(pAC, IoC, &pRPort->DownTxTimer); in SkRlmtEvtPortDownX()
2239 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtEvtPortDownX()
2264 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtLinkDown() argument
2277 SK_HWAC_LINK_LED(pAC, IoC, Para.Para32[0], SK_LED_OFF); in SkRlmtEvtLinkDown()
2286 (void)SkRlmtEvent(pAC, IoC, SK_RLMT_PORTDOWN, Para); in SkRlmtEvtLinkDown()
2310 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtPortAddr() argument
2369 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtStart() argument
2416 (void)SkRlmtEvent(pAC, IoC, SK_RLMT_PREFPORT_CHANGE, Para2); in SkRlmtEvtStart()
2428 SkRlmtPortStart(pAC, IoC, PortNumber); in SkRlmtEvtStart()
2433 SkTimerStart(pAC, IoC, &pAC->Rlmt.Port[PortNumber].UpTimer, in SkRlmtEvtStart()
2459 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtStop() argument
2500 SkTimerStop(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[0]].LocTimer); in SkRlmtEvtStop()
2501 SkTimerStop(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[0]].SegTimer); in SkRlmtEvtStop()
2514 SkTimerStop(pAC, IoC, &pAC->Rlmt.Port[PortNumber].UpTimer); in SkRlmtEvtStop()
2515 SkTimerStop(pAC, IoC, &pAC->Rlmt.Port[PortNumber].DownRxTimer); in SkRlmtEvtStop()
2516 SkTimerStop(pAC, IoC, &pAC->Rlmt.Port[PortNumber].DownTxTimer); in SkRlmtEvtStop()
2550 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtTim() argument
2588 Timeout = SkRlmtCheckPort(pAC, IoC, PortNumber); in SkRlmtEvtTim()
2617 SkRlmtSend(pAC, IoC, in SkRlmtEvtTim()
2623 SkTimerStart(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[0]].LocTimer, in SkRlmtEvtTim()
2630 SkTimerStart(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[0]].SegTimer, in SkRlmtEvtTim()
2658 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtSegTim() argument
2687 XM_INADDR(IoC, pAC->Rlmt.Net[Para.Para32[0]].Port[j]->PortNumber, in SkRlmtEvtSegTim()
2701 SkRlmtCheckSeg(pAC, IoC, Para.Para32[0]); in SkRlmtEvtSegTim()
2724 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtPacketRx() argument
2754 SkDrvFreeRlmtMbuf(pAC, IoC, pMb); in SkRlmtEvtPacketRx()
2757 SkRlmtPacketReceive(pAC, IoC, pMb); in SkRlmtEvtPacketRx()
2782 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtStatsClear() argument
2838 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtStatsUpdate() argument
2883 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtPrefportChange() argument
2916 SkRlmtCheckSwitch(pAC, IoC, Para.Para32[1]); in SkRlmtEvtPrefportChange()
2940 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtSetNets() argument
2983 (void)SkAddrOverride(pAC, IoC, pAC->Rlmt.Net[1].Port[pAC->Addr. in SkRlmtEvtSetNets()
3030 (void)SkAddrOverride(pAC, IoC, pAC->Rlmt.Net[1].Port[pAC->Addr. in SkRlmtEvtSetNets()
3068 SK_IOC IoC, /* I/O Context */ in SkRlmtEvtModeChange() argument
3111 SkTimerStart(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[1]].LocTimer, in SkRlmtEvtModeChange()
3121 (void)SkAddrMcClear(pAC, IoC, in SkRlmtEvtModeChange()
3126 (void)SkAddrMcAdd(pAC, IoC, in SkRlmtEvtModeChange()
3133 (void)SkAddrMcAdd(pAC, IoC, in SkRlmtEvtModeChange()
3140 pAC, IoC, i)) != NULL) { in SkRlmtEvtModeChange()
3147 (void)SkAddrMcUpdate(pAC, IoC, in SkRlmtEvtModeChange()
3154 SkTimerStart(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[1]].SegTimer, in SkRlmtEvtModeChange()
3180 SK_IOC IoC, /* I/O Context */ in SkRlmtEvent() argument
3189 SkRlmtEvtPortStartTim(pAC, IoC, Para); in SkRlmtEvent()
3192 SkRlmtEvtLinkUp(pAC, IoC, Para); in SkRlmtEvent()
3195 SkRlmtEvtPortUpTim(pAC, IoC, Para); in SkRlmtEvent()
3200 SkRlmtEvtPortDownX(pAC, IoC, Event, Para); in SkRlmtEvent()
3203 SkRlmtEvtLinkDown(pAC, IoC, Para); in SkRlmtEvent()
3206 SkRlmtEvtPortAddr(pAC, IoC, Para); in SkRlmtEvent()
3212 SkRlmtEvtStart(pAC, IoC, Para); in SkRlmtEvent()
3215 SkRlmtEvtStop(pAC, IoC, Para); in SkRlmtEvent()
3218 SkRlmtEvtTim(pAC, IoC, Para); in SkRlmtEvent()
3221 SkRlmtEvtSegTim(pAC, IoC, Para); in SkRlmtEvent()
3224 SkRlmtEvtPacketRx(pAC, IoC, Para); in SkRlmtEvent()
3227 SkRlmtEvtStatsClear(pAC, IoC, Para); in SkRlmtEvent()
3230 SkRlmtEvtStatsUpdate(pAC, IoC, Para); in SkRlmtEvent()
3233 SkRlmtEvtPrefportChange(pAC, IoC, Para); in SkRlmtEvent()
3236 SkRlmtEvtModeChange(pAC, IoC, Para); in SkRlmtEvent()
3239 SkRlmtEvtSetNets(pAC, IoC, Para); in SkRlmtEvent()