Lines Matching refs:pNet
297 DEV_NET *pNet = NULL; in skge_probe() local
319 pNet = NULL; in skge_probe()
338 pNet = dev->priv; in skge_probe()
339 pNet->pAC = kmalloc(sizeof(SK_AC), GFP_KERNEL); in skge_probe()
340 if (pNet->pAC == NULL){ in skge_probe()
357 memset(pNet->pAC, 0, sizeof(SK_AC)); in skge_probe()
358 pAC = pNet->pAC; in skge_probe()
366 pNet->Mtu = 1500; in skge_probe()
367 pNet->Up = 0; in skge_probe()
456 pNet->PortNr = 0; in skge_probe()
457 pNet->NetNr = 0; in skge_probe()
470 pNet = dev->priv; in skge_probe()
471 pNet->PortNr = 1; in skge_probe()
472 pNet->NetNr = 1; in skge_probe()
473 pNet->pAC = pAC; in skge_probe()
474 pNet->Mtu = 1500; in skge_probe()
475 pNet->Up = 0; in skge_probe()
621 DEV_NET *pNet; in FreeResources() local
625 pNet = (DEV_NET*) dev->priv; in FreeResources()
626 pAC = pNet->pAC; in FreeResources()
799 DEV_NET *pNet; in skge_cleanup_module() local
806 pNet = (DEV_NET*) SkGeRootDev->priv; in skge_cleanup_module()
807 pAC = pNet->pAC; in skge_cleanup_module()
1284 DEV_NET *pNet; in SkGeIsr() local
1288 pNet = (DEV_NET*) dev->priv; in SkGeIsr()
1289 pAC = pNet->pAC; in SkGeIsr()
1433 DEV_NET *pNet; in SkGeIsrOnePort() local
1437 pNet = (DEV_NET*) dev->priv; in SkGeIsrOnePort()
1438 pAC = pNet->pAC; in SkGeIsrOnePort()
1547 DEV_NET *pNet; in SkGeOpen() local
1553 pNet = (DEV_NET*) dev->priv; in SkGeOpen()
1554 pAC = pNet->pAC; in SkGeOpen()
1575 printk("%s: HWInit (1) failed.\n", pAC->dev[pNet->PortNr]->name); in SkGeOpen()
1590 printk("%s: HWInit (2) failed.\n", pAC->dev[pNet->PortNr]->name); in SkGeOpen()
1632 EvPara.Para32[0] = pNet->NetNr; in SkGeOpen()
1639 pNet->Up = 1; in SkGeOpen()
1664 DEV_NET *pNet; in SkGeClose() local
1676 pNet = (DEV_NET*) dev->priv; in SkGeClose()
1677 pAC = pNet->pAC; in SkGeClose()
1689 if (newPtrNet == pNet) { in SkGeClose()
1706 PortIdx = pNet->NetNr; in SkGeClose()
1721 EvPara.Para32[0] = pNet->NetNr; in SkGeClose()
1733 EvPara.Para32[0] = pNet->NetNr; in SkGeClose()
1741 spin_lock_irqsave(&pAC->TxPort[pNet->PortNr] in SkGeClose()
1743 SkGeStopPort(pAC, pAC->IoBase, pNet->PortNr, in SkGeClose()
1745 spin_unlock_irqrestore(&pAC->TxPort[pNet->PortNr] in SkGeClose()
1758 ReceiveIrq(pAC, &pAC->RxPort[pNet->PortNr], SK_TRUE); in SkGeClose()
1759 ClearRxRing(pAC, &pAC->RxPort[pNet->PortNr]); in SkGeClose()
1760 ClearTxRing(pAC, &pAC->TxPort[pNet->PortNr][TX_PRIO_LOW]); in SkGeClose()
1771 pNet->Up = 0; in SkGeClose()
1795 DEV_NET *pNet; in SkGeXmit() local
1799 pNet = (DEV_NET*) dev->priv; in SkGeXmit()
1800 pAC = pNet->pAC; in SkGeXmit()
1809 &pAC->TxPort[pNet->PortNr][TX_PRIO_LOW], in SkGeXmit()
1821 &pAC->TxPort[pNet->PortNr][TX_PRIO_LOW], in SkGeXmit()
2896 DEV_NET *pNet = (DEV_NET*) dev->priv; local
2897 SK_AC *pAC = pNet->pAC;
2912 SkAddrOverride(pAC, pAC->IoBase, pNet->NetNr,
2942 DEV_NET *pNet; local
2953 pNet = (DEV_NET*) dev->priv;
2954 pAC = pNet->pAC;
2958 PortIdx = pNet->NetNr;
3015 DEV_NET *pNet; local
3025 pNet = (DEV_NET*) dev->priv;
3026 pAC = pNet->pAC;
3046 pNet->Mtu = NewMtu;
3047 pOtherNet = (DEV_NET*)pAC->dev[1 - pNet->NetNr]->priv;
3188 netif_start_queue(pAC->dev[pNet->PortNr]);
3209 EvPara.Para32[0] = pNet->PortNr;
3254 DEV_NET *pNet = (DEV_NET*) dev->priv; local
3255 SK_AC *pAC = pNet->pAC;
3273 SkPnmiGetStruct(pAC, pAC->IoBase, pPnmiStruct, &Size, pNet->NetNr);
3287 if (pNet->Mtu <= 1500) {
3338 DEV_NET *pNet; local
3352 pNet = (DEV_NET*) dev->priv;
3353 pAC = pNet->pAC;
3369 Size = SkGeIocMib(pNet, Ioctl.Len, cmd);
3474 DEV_NET *pNet, /* pointer to the adapter context */ argument
3483 pAC = pNet->pAC;
3489 pNet->NetNr);
3493 pNet->NetNr);
3497 pNet->NetNr);
4944 DEV_NET *pNet = NULL; local
4946 pNet = (DEV_NET *) pAc->dev[0]->priv;
4947 pAC = pNet->pAC;
4954 if (pNet->Up) {
4962 if (pNet != (DEV_NET *) pAc->dev[1]->priv) {
4963 pNet = (DEV_NET *) pAc->dev[1]->priv;
4964 if (pNet->Up) {