Lines Matching refs:IoC
74 SK_IOC IoC, /* IO context */ in SkGePollRxD() argument
82 SK_OUT32(IoC, Q_ADDR(pPrt->PRxQOff, Q_CSR), (PollRxD) ? in SkGePollRxD()
102 SK_IOC IoC, /* IO context */ in SkGePollTxD() argument
114 SK_OUT32(IoC, Q_ADDR(pPrt->PXsQOff, Q_CSR), DWord); in SkGePollTxD()
118 SK_OUT32(IoC, Q_ADDR(pPrt->PXaQOff, Q_CSR), DWord); in SkGePollTxD()
138 SK_IOC IoC, /* IO context */ in SkGeYellowLED() argument
143 SK_OUT8(IoC, B0_LED, LED_STAT_OFF); in SkGeYellowLED()
147 SK_OUT8(IoC, B0_LED, LED_STAT_ON); in SkGeYellowLED()
172 SK_IOC IoC, /* IO context */ in SkGeXmitLED() argument
181 SK_OUT32(IoC, Led + XMIT_LED_INI, LedIni); in SkGeXmitLED()
182 SK_OUT8(IoC, Led + XMIT_LED_CTRL, LED_START); in SkGeXmitLED()
185 SK_OUT8(IoC, Led + XMIT_LED_TST, LED_T_ON); in SkGeXmitLED()
186 SK_OUT32(IoC, Led + XMIT_LED_CNT, 100); in SkGeXmitLED()
187 SK_OUT8(IoC, Led + XMIT_LED_CTRL, LED_START); in SkGeXmitLED()
195 SK_OUT32(IoC, Led + XMIT_LED_CNT, 0); in SkGeXmitLED()
196 SK_OUT8(IoC, Led + XMIT_LED_TST, LED_T_OFF); in SkGeXmitLED()
505 SK_IOC IoC) /* IO context */ in SkGeInitMacArb() argument
508 SK_OUT16(IoC, B3_MA_TO_CTRL, MA_RST_CLR); in SkGeInitMacArb()
511 SK_OUT8(IoC, B3_MA_TOINI_RX1, SK_MAC_TO_53); in SkGeInitMacArb()
512 SK_OUT8(IoC, B3_MA_TOINI_RX2, SK_MAC_TO_53); in SkGeInitMacArb()
513 SK_OUT8(IoC, B3_MA_TOINI_TX1, SK_MAC_TO_53); in SkGeInitMacArb()
514 SK_OUT8(IoC, B3_MA_TOINI_TX2, SK_MAC_TO_53); in SkGeInitMacArb()
516 SK_OUT8(IoC, B3_MA_RCINI_RX1, 0); in SkGeInitMacArb()
517 SK_OUT8(IoC, B3_MA_RCINI_RX2, 0); in SkGeInitMacArb()
518 SK_OUT8(IoC, B3_MA_RCINI_TX1, 0); in SkGeInitMacArb()
519 SK_OUT8(IoC, B3_MA_RCINI_TX2, 0); in SkGeInitMacArb()
545 SK_IOC IoC) /* IO context */ in SkGeInitPktArb() argument
548 SK_OUT16(IoC, B3_PA_CTRL, PA_RST_CLR); in SkGeInitPktArb()
551 SK_OUT16(IoC, B3_PA_TOINI_RX1, SK_PKT_TO_MAX); in SkGeInitPktArb()
552 SK_OUT16(IoC, B3_PA_TOINI_RX2, SK_PKT_TO_MAX); in SkGeInitPktArb()
553 SK_OUT16(IoC, B3_PA_TOINI_TX1, SK_PKT_TO_MAX); in SkGeInitPktArb()
554 SK_OUT16(IoC, B3_PA_TOINI_TX2, SK_PKT_TO_MAX); in SkGeInitPktArb()
563 SK_OUT16(IoC, B3_PA_CTRL, PA_ENA_TO_TX1); in SkGeInitPktArb()
566 SK_OUT16(IoC, B3_PA_CTRL, PA_ENA_TO_TX1 | PA_ENA_TO_TX2); in SkGeInitPktArb()
585 SK_IOC IoC, /* IO context */ in SkGeInitMacFifo() argument
603 SK_OUT8(IoC, MR_ADDR(Port, RX_MFF_CTRL2), MFF_RST_CLR); in SkGeInitMacFifo()
604 SK_OUT16(IoC, MR_ADDR(Port, RX_MFF_CTRL1), MFF_RX_CTRL_DEF); in SkGeInitMacFifo()
605 SK_OUT8(IoC, MR_ADDR(Port, RX_MFF_CTRL2), MFF_ENA_OP_MD); in SkGeInitMacFifo()
608 SK_OUT8(IoC, MR_ADDR(Port, TX_MFF_CTRL2), MFF_RST_CLR); in SkGeInitMacFifo()
609 SK_OUT16(IoC, MR_ADDR(Port, TX_MFF_CTRL1), MFF_TX_CTRL_DEF); in SkGeInitMacFifo()
610 SK_OUT8(IoC, MR_ADDR(Port, TX_MFF_CTRL2), MFF_ENA_OP_MD); in SkGeInitMacFifo()
614 SK_OUT16(IoC, MR_ADDR(Port, RX_MFF_CTRL1), MFF_ENA_FLUSH); in SkGeInitMacFifo()
622 SK_OUT16(IoC, MR_ADDR(Port, RX_GMF_FL_MSK), (SK_U16)RX_FF_FL_DEF_MSK); in SkGeInitMacFifo()
633 SK_OUT8(IoC, MR_ADDR(Port, RX_GMF_CTRL_T), (SK_U8)GMF_RST_CLR); in SkGeInitMacFifo()
634 SK_OUT16(IoC, MR_ADDR(Port, RX_GMF_CTRL_T), Word); in SkGeInitMacFifo()
637 SK_OUT16(IoC, MR_ADDR(Port, RX_GMF_FL_THR), RX_GMF_FL_THR_DEF); in SkGeInitMacFifo()
640 SK_OUT8(IoC, MR_ADDR(Port, TX_GMF_CTRL_T), (SK_U8)GMF_RST_CLR); in SkGeInitMacFifo()
641 SK_OUT16(IoC, MR_ADDR(Port, TX_GMF_CTRL_T), (SK_U16)GMF_TX_CTRL_DEF); in SkGeInitMacFifo()
644 SK_IN32(IoC, MR_ADDR(Port, RX_GMF_AF_THR), &DWord); in SkGeInitMacFifo()
645 SK_IN32(IoC, MR_ADDR(Port, TX_GMF_AE_THR), &DWord); in SkGeInitMacFifo()
677 SK_IOC IoC, /* IO context */ in SkGeLoadLnkSyncCnt() argument
687 SK_OUT8(IoC, MR_ADDR(Port, LNK_SYNC_CTRL), LED_STOP); in SkGeLoadLnkSyncCnt()
698 SK_IN32(IoC, B0_ISRC, &ISrc); in SkGeLoadLnkSyncCnt()
699 SK_IN32(IoC, B0_IMSK, &OrgIMsk); in SkGeLoadLnkSyncCnt()
713 SK_OUT32(IoC, B0_IMSK, NewIMsk); in SkGeLoadLnkSyncCnt()
717 SK_OUT32(IoC, MR_ADDR(Port, LNK_SYNC_INI), CntVal); in SkGeLoadLnkSyncCnt()
720 SK_OUT8(IoC, MR_ADDR(Port, LNK_SYNC_CTRL), LED_START); in SkGeLoadLnkSyncCnt()
724 SK_OUT8(IoC, MR_ADDR(Port, LNK_SYNC_CTRL), LED_CLR_IRQ); in SkGeLoadLnkSyncCnt()
725 SK_OUT32(IoC, B0_IMSK, OrgIMsk); in SkGeLoadLnkSyncCnt()
761 SK_IOC IoC, /* IO context */ in SkGeCfgSync() argument
804 SK_OUT8(IoC, MR_ADDR(Port, TXA_CTRL), in SkGeCfgSync()
807 SK_OUT32(IoC, MR_ADDR(Port, TXA_ITI_INI), IntTime); in SkGeCfgSync()
808 SK_OUT32(IoC, MR_ADDR(Port, TXA_LIM_INI), LimCount); in SkGeCfgSync()
810 SK_OUT8(IoC, MR_ADDR(Port, TXA_CTRL), in SkGeCfgSync()
814 SK_OUT8(IoC, MR_ADDR(Port, TXA_CTRL), TXA_DIS_FSYNC | TXA_START_RC); in SkGeCfgSync()
835 SK_IOC IoC, /* IO context */ in DoInitRamQueue() argument
854 SK_OUT8(IoC, RB_ADDR(QuIoOffs, RB_CTRL), RB_RST_CLR); in DoInitRamQueue()
857 SK_OUT32(IoC, RB_ADDR(QuIoOffs, RB_START), QuStartAddr); in DoInitRamQueue()
858 SK_OUT32(IoC, RB_ADDR(QuIoOffs, RB_END), QuEndAddr); in DoInitRamQueue()
859 SK_OUT32(IoC, RB_ADDR(QuIoOffs, RB_WP), QuStartAddr); in DoInitRamQueue()
860 SK_OUT32(IoC, RB_ADDR(QuIoOffs, RB_RP), QuStartAddr); in DoInitRamQueue()
871 SK_OUT32(IoC, RB_ADDR(QuIoOffs, RB_RX_UTPP), RxUpThresVal); in DoInitRamQueue()
872 SK_OUT32(IoC, RB_ADDR(QuIoOffs, RB_RX_LTPP), RxLoThresVal); in DoInitRamQueue()
887 SK_OUT8(IoC, RB_ADDR(QuIoOffs, RB_CTRL), RB_ENA_STFWD); in DoInitRamQueue()
893 SK_OUT8(IoC, RB_ADDR(QuIoOffs, RB_CTRL), RB_ENA_OP_MD); in DoInitRamQueue()
897 SK_OUT8(IoC, RB_ADDR(QuIoOffs, RB_CTRL), RB_RST_SET); in DoInitRamQueue()
914 SK_IOC IoC, /* IO context */ in SkGeInitRamBufs() argument
929 DoInitRamQueue(pAC, IoC, pPrt->PRxQOff, pPrt->PRxQRamStart, in SkGeInitRamBufs()
932 DoInitRamQueue(pAC, IoC, pPrt->PXsQOff, pPrt->PXsQRamStart, in SkGeInitRamBufs()
935 DoInitRamQueue(pAC, IoC, pPrt->PXaQOff, pPrt->PXaQRamStart, in SkGeInitRamBufs()
956 SK_IOC IoC) /* IO context */ in SkGeInitRamIface() argument
959 SK_OUT16(IoC, B3_RI_CTRL, RI_RST_CLR); in SkGeInitRamIface()
962 SK_OUT8(IoC, B3_RI_WTO_R1, SK_RI_TO_53); in SkGeInitRamIface()
963 SK_OUT8(IoC, B3_RI_WTO_XA1, SK_RI_TO_53); in SkGeInitRamIface()
964 SK_OUT8(IoC, B3_RI_WTO_XS1, SK_RI_TO_53); in SkGeInitRamIface()
965 SK_OUT8(IoC, B3_RI_RTO_R1, SK_RI_TO_53); in SkGeInitRamIface()
966 SK_OUT8(IoC, B3_RI_RTO_XA1, SK_RI_TO_53); in SkGeInitRamIface()
967 SK_OUT8(IoC, B3_RI_RTO_XS1, SK_RI_TO_53); in SkGeInitRamIface()
968 SK_OUT8(IoC, B3_RI_WTO_R2, SK_RI_TO_53); in SkGeInitRamIface()
969 SK_OUT8(IoC, B3_RI_WTO_XA2, SK_RI_TO_53); in SkGeInitRamIface()
970 SK_OUT8(IoC, B3_RI_WTO_XS2, SK_RI_TO_53); in SkGeInitRamIface()
971 SK_OUT8(IoC, B3_RI_RTO_R2, SK_RI_TO_53); in SkGeInitRamIface()
972 SK_OUT8(IoC, B3_RI_RTO_XA2, SK_RI_TO_53); in SkGeInitRamIface()
973 SK_OUT8(IoC, B3_RI_RTO_XS2, SK_RI_TO_53); in SkGeInitRamIface()
990 SK_IOC IoC, /* IO context */ in SkGeInitBmu() argument
1009 SK_OUT32(IoC, Q_ADDR(pPrt->PRxQOff, Q_CSR), CSR_CLR_RESET); in SkGeInitBmu()
1010 SK_OUT32(IoC, Q_ADDR(pPrt->PRxQOff, Q_F), RxWm); in SkGeInitBmu()
1017 SK_OUT32(IoC, Q_ADDR(pPrt->PXsQOff, Q_CSR), CSR_CLR_RESET); in SkGeInitBmu()
1018 SK_OUT32(IoC, Q_ADDR(pPrt->PXsQOff, Q_F), TxWm); in SkGeInitBmu()
1022 SK_OUT32(IoC, Q_ADDR(pPrt->PXaQOff, Q_CSR), CSR_CLR_RESET); in SkGeInitBmu()
1023 SK_OUT32(IoC, Q_ADDR(pPrt->PXaQOff, Q_F), TxWm); in SkGeInitBmu()
1047 SK_IOC IoC, /* IO Context */ in TestStopBit() argument
1052 SK_IN32(IoC, Q_ADDR(QuIoOffs, Q_CSR), &QuCsr); in TestStopBit()
1056 SK_OUT32(IoC, Q_ADDR(QuIoOffs, Q_CSR), CSR_STOP); in TestStopBit()
1058 SK_IN32(IoC, Q_ADDR(QuIoOffs, Q_CSR), &QuCsr); in TestStopBit()
1145 SK_IOC IoC, /* I/O context */ in SkGeStopPort() argument
1165 SkMacRxTxDisable(pAC, IoC, Port); in SkGeStopPort()
1172 SK_OUT32(IoC, Q_ADDR(pPrt->PXsQOff, Q_CSR), CSR_STOP); in SkGeStopPort()
1173 SK_OUT32(IoC, Q_ADDR(pPrt->PXaQOff, Q_CSR), CSR_STOP); in SkGeStopPort()
1182 SK_OUT16(IoC, B3_PA_CTRL, (SK_U16)((Port == MAC_1) ? in SkGeStopPort()
1189 SkMacFlushTxFifo(pAC, IoC, Port); in SkGeStopPort()
1191 XsCsr = TestStopBit(pAC, IoC, pPrt->PXsQOff); in SkGeStopPort()
1192 XaCsr = TestStopBit(pAC, IoC, pPrt->PXaQOff); in SkGeStopPort()
1221 SK_OUT32(IoC, Q_ADDR(pPrt->PXsQOff, Q_CSR), CSR_START); in SkGeStopPort()
1224 SK_OUT32(IoC, Q_ADDR(pPrt->PXaQOff, Q_CSR), CSR_START); in SkGeStopPort()
1237 SkMacSoftRst(pAC, IoC, Port); in SkGeStopPort()
1240 SkMacHardRst(pAC, IoC, Port); in SkGeStopPort()
1244 SK_OUT8(IoC, MR_ADDR(Port, TXA_CTRL), in SkGeStopPort()
1248 SK_OUT32(IoC, MR_ADDR(Port, TXA_ITI_INI), 0L); in SkGeStopPort()
1249 SK_OUT32(IoC, MR_ADDR(Port, TXA_LIM_INI), 0L); in SkGeStopPort()
1254 SK_OUT32(IoC, Q_ADDR(pPrt->PXaQOff, Q_CSR), CSR_SET_RESET); in SkGeStopPort()
1256 SK_OUT32(IoC, Q_ADDR(pPrt->PXsQOff, Q_CSR), CSR_SET_RESET); in SkGeStopPort()
1258 SK_OUT8(IoC, RB_ADDR(pPrt->PXaQOff, RB_CTRL), RB_RST_SET); in SkGeStopPort()
1260 SK_OUT8(IoC, RB_ADDR(pPrt->PXsQOff, RB_CTRL), RB_RST_SET); in SkGeStopPort()
1266 SK_OUT8(IoC, MR_ADDR(Port, TX_MFF_CTRL2), MFF_RST_SET); in SkGeStopPort()
1270 SkGeXmitLED(pAC, IoC, MR_ADDR(Port, TX_LED_INI), SK_LED_DIS); in SkGeStopPort()
1277 SK_OUT8(IoC, MR_ADDR(Port, TX_GMF_CTRL_T), (SK_U8)GMF_RST_SET); in SkGeStopPort()
1290 SK_OUT32(IoC, Q_ADDR(pPrt->PRxQOff, Q_CSR), CSR_STOP); in SkGeStopPort()
1298 SK_OUT16(IoC, B3_PA_CTRL, (SK_U16)((Port == MAC_1) ? in SkGeStopPort()
1301 DWord = TestStopBit(pAC, IoC, pPrt->PRxQOff); in SkGeStopPort()
1321 SK_OUT32(IoC, Q_ADDR(pPrt->PRxQOff, Q_CSR), CSR_SET_RESET); in SkGeStopPort()
1323 SK_OUT8(IoC, RB_ADDR(pPrt->PRxQOff, RB_CTRL), RB_RST_SET); in SkGeStopPort()
1329 SK_OUT8(IoC, MR_ADDR(Port, RX_MFF_CTRL2), MFF_RST_SET); in SkGeStopPort()
1332 SkGeXmitLED(pAC, IoC, MR_ADDR(Port, RX_LED_INI), SK_LED_DIS); in SkGeStopPort()
1339 SK_OUT8(IoC, MR_ADDR(Port, RX_GMF_CTRL_T), (SK_U8)GMF_RST_SET); in SkGeStopPort()
1358 SK_IOC IoC) /* IO context */ in SkGeInit0() argument
1429 SK_IOC IoC) /* IO context */ in SkGePciReset() argument
1512 SK_IOC IoC) /* IO context */ in SkGeInit1() argument
1524 SK_IN16(IoC, B0_CTST, &CtrlStat); in SkGeInit1()
1527 (void)SkGePciReset(pAC, IoC); in SkGeInit1()
1531 SK_OUT8(IoC, B0_CTST, CS_RST_SET); in SkGeInit1()
1534 SK_OUT8(IoC, B0_CTST, CS_RST_CLR); in SkGeInit1()
1541 SK_IN16(IoC, PCI_C(PCI_STATUS), &Word); in SkGeInit1()
1543 SK_OUT8(IoC, B2_TST_CTRL1, TST_CFG_WRITE_ON); in SkGeInit1()
1544 SK_OUT16(IoC, PCI_C(PCI_STATUS), (SK_U16)(Word | PCI_ERRBITS)); in SkGeInit1()
1545 SK_OUT8(IoC, B2_TST_CTRL1, TST_CFG_WRITE_OFF); in SkGeInit1()
1548 SK_OUT8(IoC, B0_CTST, CS_MRST_CLR); in SkGeInit1()
1555 SK_OUT16(IoC, B0_CTST, (SK_U16)(CtrlStat & in SkGeInit1()
1559 SK_IN8(IoC, B2_CHIP_ID, &Byte); in SkGeInit1()
1563 SK_IN8(IoC, B2_MAC_CFG, &Byte); in SkGeInit1()
1570 SK_IN16(IoC, B0_CTST, &CtrlStat); in SkGeInit1()
1573 SK_IN8(IoC, B2_E_0, &Byte); in SkGeInit1()
1616 SK_IN16(IoC, PCI_C(PCI_PM_CAP_REG), &Word); in SkGeInit1()
1632 SK_IN32(IoC, B2_FAR, &DWord); in SkGeInit1()
1635 SK_OUT8(IoC, B2_FAR + 3, 0xff); in SkGeInit1()
1636 SK_IN8(IoC, B2_FAR + 3, &Byte); in SkGeInit1()
1643 SK_OUT32(IoC, B2_FAR, DWord); in SkGeInit1()
1648 SK_OUT8(IoC, B0_POWER_CTRL, (SK_U8)(PC_VAUX_ENA | PC_VCC_ENA | in SkGeInit1()
1652 SK_IN32(IoC, B0_ISRC, &DWord); in SkGeInit1()
1656 SK_IN32(IoC, B0_HWE_ISRC, &DWord); in SkGeInit1()
1666 SK_OUT16(IoC, MR_ADDR(i, GMAC_LINK_CTRL), GMLC_RST_SET); in SkGeInit1()
1669 SK_OUT16(IoC, MR_ADDR(i, GMAC_LINK_CTRL), GMLC_RST_CLR); in SkGeInit1()
1685 SK_IN8(IoC, PCI_C(PCI_REV_ID), &Byte); in SkGeInit1()
1689 SK_IN8(IoC, B2_PMD_TYP, &Byte); in SkGeInit1()
1693 SK_IN8(IoC, B2_E_1, &Byte); in SkGeInit1()
1787 SK_IN8(IoC, B2_E_3, &Byte); in SkGeInit1()
1817 SK_IOC IoC) /* IO context */ in SkGeInit2() argument
1831 SK_OUT32(IoC, B28_DPT_INI, pAC->GIni.GIPollTimerVal); in SkGeInit2()
1832 SK_OUT8(IoC, B28_DPT_CTRL, DPT_START); in SkGeInit2()
1840 SK_OUT32(IoC, B2_BSC_INI, DWord); in SkGeInit2()
1841 SK_OUT8(IoC, B2_BSC_CTRL, BSC_START); in SkGeInit2()
1847 SkGeInitMacArb(pAC, IoC); in SkGeInit2()
1849 SkGeInitPktArb(pAC, IoC); in SkGeInit2()
1856 SK_OUT8(IoC, GMAC_TI_ST_CTRL, (SK_U8)GMT_ST_START); in SkGeInit2()
1862 SK_OUT8(IoC, MR_ADDR(i, TXA_CTRL), TXA_ENA_ARB); in SkGeInit2()
1866 SkGeInitRamIface(pAC, IoC); in SkGeInit2()
1906 SK_IOC IoC, /* IO context */ in SkGeInit() argument
1919 SkGeInit0(pAC, IoC); in SkGeInit()
1925 RetVal = SkGeInit1(pAC, IoC); in SkGeInit()
1931 SK_OUT32(IoC, B2_IRQM_INI, SK_TEST_VAL); in SkGeInit()
1932 SK_IN32(IoC, B2_IRQM_INI, &DWord); in SkGeInit()
1933 SK_OUT32(IoC, B2_IRQM_INI, 0L); in SkGeInit()
1959 SkGeInit2(pAC, IoC); in SkGeInit()
1988 SK_IOC IoC) /* IO context */ in SkGeDeInit() argument
2000 SkI2cWaitIrq(pAC, IoC); in SkGeDeInit()
2008 SkGeStopPort(pAC, IoC, i, SK_STOP_ALL, SK_HARD_RST); in SkGeDeInit()
2023 SkGmEnterLowPowerMode(pAC, IoC, i, PHY_PM_DEEP_SLEEP); in SkGeDeInit()
2030 SK_OUT8(IoC, B0_POWER_CTRL, Byte); in SkGeDeInit()
2034 SK_IN16(IoC, PCI_C(PCI_PM_CTL_STS), &PmCtlSts); in SkGeDeInit()
2038 SK_OUT8(IoC, B2_TST_CTRL1, TST_CFG_WRITE_ON); in SkGeDeInit()
2040 SK_OUT16(IoC, PCI_C(PCI_PM_CTL_STS), PmCtlSts); in SkGeDeInit()
2049 SK_IN16(IoC, PCI_C(PCI_STATUS), &Word); in SkGeDeInit()
2051 SK_OUT8(IoC, B2_TST_CTRL1, TST_CFG_WRITE_ON); in SkGeDeInit()
2052 SK_OUT16(IoC, PCI_C(PCI_STATUS), (SK_U16)(Word | PCI_ERRBITS)); in SkGeDeInit()
2053 SK_OUT8(IoC, B2_TST_CTRL1, TST_CFG_WRITE_OFF); in SkGeDeInit()
2056 SK_OUT8(IoC, B0_CTST, CS_RST_SET); in SkGeDeInit()
2092 SK_IOC IoC, /* IO context */ in SkGeInitPort() argument
2118 SkGeXmitLED(pAC, IoC, MR_ADDR(Port, TX_LED_INI), SK_LED_ENA); in SkGeInitPort()
2119 SkGeXmitLED(pAC, IoC, MR_ADDR(Port, RX_LED_INI), SK_LED_ENA); in SkGeInitPort()
2122 SkXmInitMac(pAC, IoC, Port); in SkGeInitPort()
2129 SkGmInitMac(pAC, IoC, Port); in SkGeInitPort()
2135 SkGeInitMacFifo(pAC, IoC, Port); in SkGeInitPort()
2137 SkGeInitRamBufs(pAC, IoC, Port); in SkGeInitPort()
2141 SK_OUT8(IoC, MR_ADDR(Port, TXA_CTRL), TXA_ENA_FSYNC); in SkGeInitPort()
2144 SkGeInitBmu(pAC, IoC, Port); in SkGeInitPort()