Home
last modified time | relevance | path

Searched refs:GIni (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/drivers/net/sk98lin/
Dskgeinit.c80 pPrt = &pAC->GIni.GP[Port]; in SkGePollRxD()
109 pPrt = &pAC->GIni.GP[Port]; in SkGePollTxD()
180 LedIni = SK_XMIT_DUR * (SK_U32)pAC->GIni.GIHstClkFact / 100; in SkGeXmitLED()
295 if (ActivePort >= pAC->GIni.GIMacsFound) { in SkGeInitAssignRamToQueues()
301 if (((pAC->GIni.GIMacsFound * (SK_MIN_RXQ_SIZE + SK_MIN_TXQ_SIZE)) + in SkGeInitAssignRamToQueues()
302 ((RAM_QUOTA_SYNC == 0) ? 0 : SK_MIN_TXQ_SIZE)) > pAC->GIni.GIRamSize) { in SkGeInitAssignRamToQueues()
305 pAC->GIni.GIRamSize)); in SkGeInitAssignRamToQueues()
311 ActivePortKilobytes = pAC->GIni.GIRamSize / pAC->GIni.GIMacsFound; in SkGeInitAssignRamToQueues()
312 for (i = 0; i < pAC->GIni.GIMacsFound; i++) { in SkGeInitAssignRamToQueues()
314 pGePort = &pAC->GIni.GP[i]; in SkGeInitAssignRamToQueues()
[all …]
Dskxmac2.c94 pPrt = &pAC->GIni.GP[Port]; in SkXmPhyRead()
133 pPrt = &pAC->GIni.GP[Port]; in SkXmPhyWrite()
186 pPrt = &pAC->GIni.GP[Port]; in SkGmPhyRead()
254 pPrt = &pAC->GIni.GP[Port]; in SkGmPhyWrite()
315 if (pAC->GIni.GIGenesis) { in SkGePhyRead()
344 if (pAC->GIni.GIGenesis) { in SkGePhyWrite()
381 if (pAC->GIni.GIGenesis) { in SkMacPromiscMode()
397 if (pAC->GIni.GIYukon) { in SkMacPromiscMode()
441 if (pAC->GIni.GIGenesis) { in SkMacHashing()
457 if (pAC->GIni.GIYukon) { in SkMacHashing()
[all …]
Dskgesirq.c116 pPrt = &pAC->GIni.GP[Port]; in SkHWInitDefSense()
152 pPrt = &pAC->GIni.GP[Port]; in SkHWSenseGetNext()
187 pPrt = &pAC->GIni.GP[Port]; in SkHWSenseSetNext()
221 pPrt = &pAC->GIni.GP[Port]; in SkHWLinkDown()
273 pPrt = &pAC->GIni.GP[Port]; in SkHWLinkUp()
338 pPrt = &pAC->GIni.GP[Port]; in SkMacParity()
342 if (pAC->GIni.GIGenesis) { in SkMacParity()
349 if (pAC->GIni.GIYukon) { in SkMacParity()
352 (SK_U8)((pAC->GIni.GIChipId == CHIP_ID_YUKON && in SkMacParity()
353 pAC->GIni.GIChipRev == 0) ? GMF_CLI_TX_FC : GMF_CLI_TX_PE)); in SkMacParity()
[all …]
Dskgepnmi.c411 PortMax = pAC->GIni.GIMacsFound; in SkPnmiInit()
415 pAC->GIni.GIFunc.pFnMacResetCounter(pAC, IoC, PortIndex); in SkPnmiInit()
420 pAC->GIni.GP[PortIndex].PCableLen = 0xff; in SkPnmiInit()
452 switch (pAC->GIni.GIChipId) { in SkPnmiInit()
472 if (pAC->GIni.GIMacsFound > 1) { in SkPnmiInit()
483 if (pAC->GIni.GIMacsFound > 1) { in SkPnmiInit()
494 if (pAC->GIni.GIMacsFound > 1) { in SkPnmiInit()
505 if (pAC->GIni.GIMacsFound > 1) { in SkPnmiInit()
751 if ((Ret = MacUpdate(pAC, IoC, 0, pAC->GIni.GIMacsFound - 1)) != in SkPnmiGetStruct()
1029 MacType = pAC->GIni.GIMacType; in SkPnmiEvent()
[all …]
Dskge.c462 if ((pAC->GIni.GIMacsFound == 2 ) && (pAC->RlmtNets == 2)) { in skge_probe()
516 pAC->HWRevision = (((pAC->GIni.GIPciHwRev >> 4) & 0x0F)*10) + in skge_probe()
517 (pAC->GIni.GIPciHwRev & 0x0F); in skge_probe()
837 if ((pAC->GIni.GIMacsFound == 2) && pAC->RlmtNets == 2){ in skge_cleanup_module()
944 if ((pAC->GIni.GIChipId == CHIP_ID_YUKON) || in SkGeBoardInit()
945 (pAC->GIni.GIChipId == CHIP_ID_YUKON_LITE)) { in SkGeBoardInit()
951 pAC->GIni.GIPortUsage = SK_MUL_LINK; in SkGeBoardInit()
957 if (pAC->GIni.GIMacsFound == 2) { in SkGeBoardInit()
959 } else if (pAC->GIni.GIMacsFound == 1) { in SkGeBoardInit()
964 pAC->GIni.GIMacsFound); in SkGeBoardInit()
[all …]
Dskaddr.c205 for (i = 0; i < (SK_U32) pAC->GIni.GIMacsFound; i++) { in SkAddrInit()
228 for (i = 0; i < (SK_U32) pAC->GIni.GIMacsFound; i++) { in SkAddrInit()
250 if (pAC->GIni.GIGenesis) { in SkAddrInit()
255 if (!pAC->GIni.GIGenesis) { in SkAddrInit()
335 if (PortNumber >= (SK_U32) pAC->GIni.GIMacsFound) { in SkAddrMcClear()
339 if (pAC->GIni.GIGenesis) { in SkAddrMcClear()
634 if (PortNumber >= (SK_U32) pAC->GIni.GIMacsFound) { in SkAddrMcAdd()
638 if (pAC->GIni.GIGenesis) { in SkAddrMcAdd()
895 if (PortNumber >= (SK_U32) pAC->GIni.GIMacsFound) { in SkAddrMcUpdate()
901 if (pAC->GIni.GIGenesis) { in SkAddrMcUpdate()
[all …]
Dskdim.c365 if (pAC->GIni.GIMacsFound == 2) { in GetIsrCalls()
372 if (pAC->GIni.GIMacsFound == 2) { in GetIsrCalls()
379 if (pAC->GIni.GIMacsFound == 2) { in GetIsrCalls()
411 if (pAC->GIni.GIMacsFound == 2) { in GetRxCalls()
434 if (pAC->GIni.GIMacsFound == 2) { in SetCurrIntCtr()
480 if (pAC->GIni.GIChipId == CHIP_ID_GENESIS) { in EnableIntMod()
615 if (pAC->GIni.GIChipId == CHIP_ID_GENESIS) { in ResizeDimTimerDuration()
Dskproc.c113 for (t=pAC->GIni.GIMacsFound; t > 0; t--) { in sk_gen_browse()
114 if ((pAC->GIni.GIMacsFound == 2) && pAC->RlmtNets == 1) in sk_gen_browse()
166 (pAC->GIni.GIPciHwRev >> 4) & 0x0F, in sk_gen_browse()
167 pAC->GIni.GIPciHwRev & 0x0F); in sk_gen_browse()
225 if (pAC->GIni.GP[0].PhyType == SK_PHY_XMAC && in sk_gen_browse()
Dski2c.c638 pAC->GIni.GIYukon32Bit = SK_TRUE; in SkI2cInit1()
664 pPrt = &pAC->GIni.GP[0]; in SkI2cInit1()
666 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
668 if (pAC->GIni.GIMacsFound == 1) { in SkI2cInit1()
720 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
740 if (pAC->GIni.GIVauxAvail) { in SkI2cInit1()
753 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
771 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
785 if (pAC->GIni.GIGenesis) { in SkI2cInit1()
Dskrlmt.c391 ("RLMT: %d MACs were detected.\n", pAC->GIni.GIMacsFound)) in SkRlmtInit()
393 pAC->Rlmt.Net[0].NumPorts = pAC->GIni.GIMacsFound; in SkRlmtInit()
396 if (pAC->GIni.GIMacsFound == 1) { in SkRlmtInit()
411 for (i = 0; i < (SK_U32)pAC->GIni.GIMacsFound; i++) { in SkRlmtInit()
1339 for (i = 0; i < (SK_U32)pAC->GIni.GIMacsFound; i++) { in SkRlmtSelectBcRx()
1362 for (i = 0; i < (SK_U32)pAC->GIni.GIMacsFound; i++) { in SkRlmtSelectBcRx()
1420 for (i = 0; i < (SK_U32)pAC->GIni.GIMacsFound; i++) { in SkRlmtSelectNotSuspect()
1470 for (i = 0; i < (SK_U32)pAC->GIni.GIMacsFound; i++) { in SkRlmtSelectUp()
1472 pAC->GIni.GP[i].PAutoNegFail != AutoNegDone) { in SkRlmtSelectUp()
1475 pAC->GIni.GP[Active].PAutoNegFail != AutoNegDone) { in SkRlmtSelectUp()
[all …]
Dskgehwt.c48 #define SK_HWT_FAC (1000 * (SK_U32)pAC->GIni.GIHstClkFact / 100)
Dskvpd.c443 !pAC->GIni.GIGenesis)) { in VpdInit()
519 if (pAC->GIni.GIChipId != 0) { in VpdInit()
/linux-2.4.37.9/drivers/net/sk98lin/h/
Dskdrv2nd.h420 SK_GEINIT GIni; /* GE init struct */ member
Dskgehw.h746 #define WOL_REG(Reg) ((Reg) + (pAC->GIni.GIWolOffs))