Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/sk98lin/
Dskgeinit.c290 int ActivePortKilobytes; /* memory available for active port */ in SkGeInitAssignRamToQueues() local
311 ActivePortKilobytes = pAC->GIni.GIRamSize / pAC->GIni.GIMacsFound; in SkGeInitAssignRamToQueues()
317 ActivePortKilobytes -= (SK_MIN_RXQ_SIZE + SK_MIN_TXQ_SIZE); in SkGeInitAssignRamToQueues()
321 ActivePortKilobytes * (unsigned long) RAM_QUOTA_RX) / 100)) in SkGeInitAssignRamToQueues()
324 ActivePortKilobytes -= (pGePort->PRxQSize - SK_MIN_RXQ_SIZE); in SkGeInitAssignRamToQueues()
330 pGePort->PXAQSize = (int) ROUND_QUEUE_SIZE_KB(ActivePortKilobytes + in SkGeInitAssignRamToQueues()
352 ActivePortKilobytes = pAC->GIni.GIRamSize - UsedKilobytes; in SkGeInitAssignRamToQueues()
356 ActivePortKilobytes -= (SK_MIN_RXQ_SIZE + SK_MIN_TXQ_SIZE); in SkGeInitAssignRamToQueues()
360 pGePort->PRxQSize = (int) (ROUND_QUEUE_SIZE_KB((ActivePortKilobytes * in SkGeInitAssignRamToQueues()
363 ActivePortKilobytes -= (pGePort->PRxQSize - SK_MIN_RXQ_SIZE); in SkGeInitAssignRamToQueues()
[all …]