taglinefilesource code
priv116drivers/isdn/isdn_net.cif ((p = (((isdn_net_local *) dev->priv)->slave))) {
priv120drivers/isdn/isdn_net.cp = (((isdn_net_local *) p->priv)->slave);
priv534drivers/isdn/isdn_net.cisdn_net_local *lp = (isdn_net_local *) d->priv;
priv714drivers/isdn/isdn_net.cisdn_net_local *slp = (isdn_net_local *) (lp->srobin->priv);
priv721drivers/isdn/isdn_net.cslp = (isdn_net_local *) (lp->srobin->priv);
priv735drivers/isdn/isdn_net.cisdn_net_force_dial_lp((isdn_net_local *) lp->slave->priv);
priv756drivers/isdn/isdn_net.cisdn_net_local *lp = (isdn_net_local *) ndev->priv;
priv879drivers/isdn/isdn_net.cif ((p = (((isdn_net_local *) dev->priv)->slave))) {
priv885drivers/isdn/isdn_net.cp = (((isdn_net_local *) p->priv)->slave);
priv898drivers/isdn/isdn_net.cisdn_net_local *lp = (isdn_net_local *) dev->priv;
priv961drivers/isdn/isdn_net.cisdn_net_local *lp = (isdn_net_local *) ndev->priv;
priv975drivers/isdn/isdn_net.clp = (isdn_net_local *) ndev->priv;
priv1124drivers/isdn/isdn_net.cisdn_net_local *lp = dev->priv;
priv1185drivers/isdn/isdn_net.cisdn_net_local *lp = dev->priv;
priv1219drivers/isdn/isdn_net.cisdn_net_local *lp = (isdn_net_local *)ndev->priv;
priv1226drivers/isdn/isdn_net.cif (ndev->priv == NULL) {
priv1590drivers/isdn/isdn_net.cisdn_net_local *mlp = (isdn_net_local *) lp->master->priv;
priv1597drivers/isdn/isdn_net.cif ((isdn_net_local *) mlp->slave->priv == lp)
priv1599drivers/isdn/isdn_net.cmlp = (isdn_net_local *) mlp->slave->priv;
priv1800drivers/isdn/isdn_net.cnetdev->dev.priv      = &netdev->local;
priv1805drivers/isdn/isdn_net.cstruct device *p = (((isdn_net_local *) master->priv)->slave);
priv1812drivers/isdn/isdn_net.cp = (((isdn_net_local *) p->priv)->slave);
priv1814drivers/isdn/isdn_net.c((isdn_net_local *) q->priv)->slave = &(netdev->dev);
priv2074drivers/isdn/isdn_net.cstrcpy(cfg->slave, ((isdn_net_local *) p->local.slave->priv)->name);
priv2078drivers/isdn/isdn_net.cstrcpy(cfg->master, ((isdn_net_local *) p->local.master->priv)->name);
priv2225drivers/isdn/isdn_net.cq = (((isdn_net_local *) q->priv)->slave);
priv2260drivers/isdn/isdn_net.cif (((isdn_net_local *) (p->local.master->priv))->slave == &p->dev)
priv2261drivers/isdn/isdn_net.c((isdn_net_local *) (p->local.master->priv))->slave = p->local.slave;
priv2272drivers/isdn/isdn_net.cchar *slavename = ((isdn_net_local *) (p->local.slave->priv))->name;
priv801drivers/isdn/isdn_ppp.cisdn_net_dev *nd = ((isdn_net_local *) dev->priv)->netdev;
priv1169drivers/isdn/isdn_ppp.cisdn_net_local *lp = (isdn_net_local *) dev->priv;
priv1225drivers/isdn/isdn_ppp.cisdn_net_local *mlp = (isdn_net_local *) sdev->priv;
priv1233drivers/isdn/isdn_ppp.cisdn_net_force_dial_lp((isdn_net_local *) sdev->priv);
priv326drivers/net/3c501.cdev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL);
priv327drivers/net/3c501.cif (dev->priv == NULL)
priv329drivers/net/3c501.cmemset(dev->priv, 0, sizeof(struct net_local));
priv378drivers/net/3c501.cstruct net_local *lp = (struct net_local *)dev->priv;
priv505drivers/net/3c501.clp = (struct net_local *)dev->priv;
priv676drivers/net/3c501.cstruct net_local *lp = (struct net_local *)dev->priv;
priv778drivers/net/3c501.cstruct net_local *lp = (struct net_local *)dev->priv;
priv844drivers/net/3c501.ckfree(dev_3c501.priv);
priv845drivers/net/3c501.cdev_3c501.priv = NULL;  /* gets re-allocated by el1_probe1 */
priv673drivers/net/3c503.cif (dev->priv != NULL) {
priv675drivers/net/3c503.ckfree(dev->priv);
priv676drivers/net/3c503.cdev->priv = NULL;
priv332drivers/net/3c505.celp_device *adapter = dev->priv;
priv368drivers/net/3c505.celp_device *adapter = dev->priv;
priv412drivers/net/3c505.celp_device *adapter = dev->priv;
priv447drivers/net/3c505.celp_device *adapter = dev->priv;
priv532drivers/net/3c505.celp_device *adapter = dev->priv;
priv612drivers/net/3c505.celp_device *adapter = dev->priv;
priv640drivers/net/3c505.celp_device *adapter = dev->priv;
priv713drivers/net/3c505.cadapter = (elp_device *) dev->priv;
priv918drivers/net/3c505.cadapter = dev->priv;
priv1059drivers/net/3c505.celp_device *adapter = dev->priv;
priv1072drivers/net/3c505.cadapter = dev->priv;
priv1135drivers/net/3c505.celp_device *adapter = dev->priv;
priv1198drivers/net/3c505.celp_device *adapter = (elp_device *) dev->priv;
priv1237drivers/net/3c505.cadapter = dev->priv;
priv1293drivers/net/3c505.celp_device *adapter = (elp_device *) dev->priv;
priv1352drivers/net/3c505.celp_device *adapter = dev->priv;
priv1514drivers/net/3c505.cadapter = (elp_device *) (dev->priv = kmalloc(sizeof(elp_device), GFP_KERNEL));
priv1717drivers/net/3c505.ckfree(dev_3c505.priv);
priv1718drivers/net/3c505.cdev_3c505.priv = NULL;
priv414drivers/net/3c507.cdev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL);
priv415drivers/net/3c507.cif (dev->priv == NULL)
priv417drivers/net/3c507.cmemset(dev->priv, 0, sizeof(struct net_local));
priv453drivers/net/3c507.cstruct net_local *lp = (struct net_local *)dev->priv;
priv531drivers/net/3c507.clp = (struct net_local *)dev->priv;
priv648drivers/net/3c507.cstruct net_local *lp = (struct net_local *)dev->priv;
priv659drivers/net/3c507.cstruct net_local *lp = (struct net_local *)dev->priv;
priv705drivers/net/3c507.cstruct net_local *lp = (struct net_local *)dev->priv;
priv764drivers/net/3c507.cstruct net_local *lp = (struct net_local *)dev->priv;
priv810drivers/net/3c507.cstruct net_local *lp = (struct net_local *)dev->priv;
priv906drivers/net/3c507.ckfree(dev_3c507.priv);
priv907drivers/net/3c507.cdev_3c507.priv = NULL;
priv286drivers/net/3c509.cdev->priv = kmalloc(sizeof(struct el3_private), GFP_KERNEL);
priv287drivers/net/3c509.cif (dev->priv == NULL)
priv289drivers/net/3c509.cmemset(dev->priv, 0, sizeof(struct el3_private));
priv427drivers/net/3c509.cstruct el3_private *lp = (struct el3_private *)dev->priv;
priv595drivers/net/3c509.cstruct el3_private *lp = (struct el3_private *)dev->priv;
priv612drivers/net/3c509.cstruct el3_private *lp = (struct el3_private *)dev->priv;
priv641drivers/net/3c509.cstruct el3_private *lp = (struct el3_private *)dev->priv;
priv792drivers/net/3c509.ckfree_s(dev_3c509.priv,sizeof(struct el3_private));
priv793drivers/net/3c509.cdev_3c509.priv=NULL;
priv391drivers/net/3c59x.cdev->priv = ((void *)dev) + sizeof(struct device);
priv392drivers/net/3c59x.cvp = (struct vortex_private *)dev->priv;
priv415drivers/net/3c59x.cdev->priv = kmalloc(sizeof (struct vortex_private), GFP_KERNEL);
priv416drivers/net/3c59x.cmemset(dev->priv, 0, sizeof (struct vortex_private));
priv421drivers/net/3c59x.cvp  = (struct vortex_private *)dev->priv;
priv442drivers/net/3c59x.cstruct vortex_private *vp = (struct vortex_private *)dev->priv;
priv508drivers/net/3c59x.cstruct vortex_private *vp = (struct vortex_private *)dev->priv;
priv638drivers/net/3c59x.cstruct vortex_private *vp = (struct vortex_private *)dev->priv;
priv762drivers/net/3c59x.clp = (struct vortex_private *)dev->priv;
priv869drivers/net/3c59x.cstruct vortex_private *vp = (struct vortex_private *)dev->priv;
priv974drivers/net/3c59x.cstruct vortex_private *vp = (struct vortex_private *)dev->priv;
priv993drivers/net/3c59x.cstruct vortex_private *vp = (struct vortex_private *)dev->priv;
priv1051drivers/net/3c59x.cnext_dev = ((struct vortex_private *)root_vortex_dev->priv)->next_module;
priv117drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
priv143drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
priv272drivers/net/8390.cei_local = (struct ei_device *) dev->priv;
priv349drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
priv412drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
priv525drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
priv561drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
priv602drivers/net/8390.cif (dev->priv == NULL) {
priv605drivers/net/8390.cdev->priv = kmalloc(sizeof(struct ei_device), GFP_KERNEL);
priv606drivers/net/8390.cif (dev->priv == NULL)
priv608drivers/net/8390.cmemset(dev->priv, 0, sizeof(struct ei_device));
priv609drivers/net/8390.cei_local = (struct ei_device *)dev->priv;
priv628drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
priv79drivers/net/8390.h#define ei_status (*(struct ei_device *)(dev->priv))
priv135drivers/net/a2065.cstruct a2065_private *priv;
priv162drivers/net/a2065.cdev->priv = kmalloc(sizeof(struct
priv165drivers/net/a2065.cpriv = (struct a2065_private *)dev->priv;
priv166drivers/net/a2065.cmemset(priv, 0, sizeof(struct a2065_private));
priv168drivers/net/a2065.cpriv->board = (struct A2065Board *)ZTWO_VADDR(board);
priv186drivers/net/a2065.cstruct a2065_private *priv = (struct a2065_private *)dev->priv;
priv187drivers/net/a2065.cstruct A2065Board *board = priv->board;
priv259drivers/net/a2065.cstruct a2065_private *priv = (struct a2065_private *)dev->priv;
priv260drivers/net/a2065.cstruct A2065Board *board = priv->board;
priv265drivers/net/a2065.cpriv->lock = 0, priv->tx_full = 0;
priv266drivers/net/a2065.cpriv->cur_rx = priv->cur_tx = 0;
priv267drivers/net/a2065.cpriv->dirty_tx = 0;
priv278drivers/net/a2065.cpriv->tx_ring[i] = &alancedata->tx_ring[i];
priv279drivers/net/a2065.cpriv->tx_buff[i] = alancedata->tx_buff[i];
priv295drivers/net/a2065.cpriv->rx_ring[i] = &alancedata->rx_ring[i];
priv296drivers/net/a2065.cpriv->rx_buff[i] = alancedata->rx_buff[i];
priv310drivers/net/a2065.cstruct a2065_private *priv = (struct a2065_private *)dev->priv;
priv311drivers/net/a2065.cstruct A2065Board *board = priv->board;
priv322drivers/net/a2065.cpriv->stats.rx_missed_errors);
priv335drivers/net/a2065.cstruct a2065_private *priv;
priv344drivers/net/a2065.cpriv = (struct a2065_private *)dev->priv;
priv345drivers/net/a2065.cboard = priv->board;
priv407drivers/net/a2065.cint dirty_tx = priv->dirty_tx;
priv409drivers/net/a2065.cwhile (dirty_tx < priv->cur_tx) {
priv412drivers/net/a2065.cpriv->tx_ring[entry]->TMD1 & 0xff00;
priv417drivers/net/a2065.cpriv->tx_ring[entry]->TMD1 &= 0x00ff;
priv422drivers/net/a2065.cpriv->tx_ring[entry]->TMD3;
priv423drivers/net/a2065.cpriv->stats.tx_errors++;
priv425drivers/net/a2065.cpriv->stats.tx_aborted_errors++;
priv427drivers/net/a2065.cpriv->stats.tx_carrier_errors++;
priv429drivers/net/a2065.cpriv->stats.tx_window_errors++;
priv432drivers/net/a2065.cpriv->stats.tx_fifo_errors++;
priv440drivers/net/a2065.cpriv->stats.collisions++;
priv441drivers/net/a2065.cpriv->stats.tx_packets++;
priv447drivers/net/a2065.cif (priv->cur_tx - dirty_tx >= TX_RING_SIZE) {
priv449drivers/net/a2065.cdirty_tx, priv->cur_tx, priv->tx_full);
priv454drivers/net/a2065.cif (priv->tx_full && dev->tbusy && dirty_tx >
priv455drivers/net/a2065.cpriv->cur_tx - TX_RING_SIZE + 2) {
priv457drivers/net/a2065.cpriv->tx_full = 0;
priv462drivers/net/a2065.cpriv->dirty_tx = dirty_tx;
priv467drivers/net/a2065.cpriv->stats.tx_errors++;       /* Tx babble. */
priv469drivers/net/a2065.cpriv->stats.rx_errors++;       /* Missed a Rx frame. */
priv494drivers/net/a2065.cstruct a2065_private *priv = (struct a2065_private *)dev->priv;
priv495drivers/net/a2065.cstruct A2065Board *board = priv->board;
priv511drivers/net/a2065.cpriv->stats.tx_errors++;
priv516drivers/net/a2065.cpriv->dirty_tx, priv->cur_tx, priv->tx_full ?
priv517drivers/net/a2065.c" (full)" : "", priv->cur_rx);
priv520drivers/net/a2065.c((priv->rx_ring[i]->RMD1)<<16) |
priv521drivers/net/a2065.cpriv->rx_ring[i]->RMD0,
priv522drivers/net/a2065.c-priv->rx_ring[i]->RMD2, priv->rx_ring[i]->RMD3);
priv525drivers/net/a2065.c((priv->tx_ring[i]->TMD1)<<16) |
priv526drivers/net/a2065.cpriv->tx_ring[i]->TMD0,
priv527drivers/net/a2065.c-priv->tx_ring[i]->TMD2, priv->tx_ring[i]->TMD3);
priv566drivers/net/a2065.cif (set_bit(0, (void*)&priv->lock) != 0) {
priv593drivers/net/a2065.centry = priv->cur_tx % TX_RING_SIZE;
priv595drivers/net/a2065.cpriv->tx_ring[entry]->TMD2 = -(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
priv596drivers/net/a2065.cpriv->tx_ring[entry]->TMD3 = 0x0000;
priv597drivers/net/a2065.cmemcpy(priv->tx_buff[entry], skb->data, skb->len);
priv610drivers/net/a2065.cprintk("%02x", priv->tx_buff[entry][i+j]);
priv617drivers/net/a2065.cpriv->tx_ring[entry]->TMD1 = (priv->tx_ring[entry]->TMD1 &
priv622drivers/net/a2065.cpriv->cur_tx++;
priv623drivers/net/a2065.cif ((priv->cur_tx >= TX_RING_SIZE)&&(priv->dirty_tx >= TX_RING_SIZE)){
priv627drivers/net/a2065.cpriv->cur_tx, priv->dirty_tx);
priv630drivers/net/a2065.cpriv->cur_tx -= TX_RING_SIZE;
priv631drivers/net/a2065.cpriv->dirty_tx -= TX_RING_SIZE;
priv641drivers/net/a2065.cpriv->lock = 0;
priv642drivers/net/a2065.cif ((priv->tx_ring[(entry+1) % TX_RING_SIZE]->TMD1 & 0xff00) == 0)
priv645drivers/net/a2065.cpriv->tx_full = 1;
priv654drivers/net/a2065.cstruct a2065_private *priv = (struct a2065_private *)dev->priv;
priv655drivers/net/a2065.cint entry = priv->cur_rx % RX_RING_SIZE;
priv659drivers/net/a2065.cwhile (!(priv->rx_ring[entry]->RMD1 & RF_OWN)) {
priv660drivers/net/a2065.cint status = priv->rx_ring[entry]->RMD1 & 0xff00;
priv669drivers/net/a2065.cpriv->stats.rx_errors++; /* end of a packet.*/
priv671drivers/net/a2065.cpriv->stats.rx_frame_errors++;
priv673drivers/net/a2065.cpriv->stats.rx_over_errors++;
priv675drivers/net/a2065.cpriv->stats.rx_crc_errors++;
priv677drivers/net/a2065.cpriv->stats.rx_fifo_errors++;
priv678drivers/net/a2065.cpriv->rx_ring[entry]->RMD1 &= 0x00ff|RF_STP|RF_ENP;
priv681drivers/net/a2065.cshort pkt_len = priv->rx_ring[entry]->RMD3;
priv687drivers/net/a2065.cpriv->stats.rx_errors++;
priv695drivers/net/a2065.cif (priv->rx_ring[(entry+i) % RX_RING_SIZE]->RMD1 & RF_OWN)
priv699drivers/net/a2065.cpriv->stats.rx_dropped++;
priv700drivers/net/a2065.cpriv->rx_ring[entry]->RMD1 |= RF_OWN;
priv701drivers/net/a2065.cpriv->cur_rx++;
priv709drivers/net/a2065.cpriv->rx_buff[entry],
priv733drivers/net/a2065.cpriv->stats.rx_packets++;
priv736drivers/net/a2065.cpriv->rx_ring[entry]->RMD1 |= RF_OWN;
priv737drivers/net/a2065.centry = (++priv->cur_rx) % RX_RING_SIZE;
priv740drivers/net/a2065.cpriv->cur_rx = priv->cur_rx % RX_RING_SIZE;
priv751drivers/net/a2065.cstruct a2065_private *priv = (struct a2065_private *)dev->priv;
priv753drivers/net/a2065.creturn(&priv->stats);
priv761drivers/net/a2065.cstruct a2065_private *priv = (struct a2065_private *)dev->priv;
priv762drivers/net/a2065.cstruct A2065Board *board = priv->board;
priv365drivers/net/ac3200.cif (dev->priv != NULL) {
priv366drivers/net/ac3200.ckfree(dev->priv);
priv367drivers/net/ac3200.cdev->priv = NULL;
priv197drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv235drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv252drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv327drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv484drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv571drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv734drivers/net/apricot.cdev->priv = (void *)((dev->mem_start + 0xf) & 0xfffffff0);
priv736drivers/net/apricot.clp = (struct i596_private *)dev->priv;
priv768drivers/net/apricot.clp = (struct i596_private *)dev->priv;
priv915drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv948drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv959drivers/net/apricot.cstruct i596_private *lp = (struct i596_private *)dev->priv;
priv1035drivers/net/apricot.cdev_apricot.priv = NULL;
priv1147drivers/net/arcnet.cdev->priv = kmalloc(sizeof(struct arcnet_local), GFP_KERNEL);
priv1148drivers/net/arcnet.cif (dev->priv == NULL)
priv1155drivers/net/arcnet.cmemset(dev->priv,0,sizeof(struct arcnet_local));
priv1156drivers/net/arcnet.clp=(struct arcnet_local *)(dev->priv);
priv1211drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *)dev->priv;
priv1317drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv1408drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv1431drivers/net/arcnet.clp->edev->priv=NULL;
priv1441drivers/net/arcnet.clp->sdev->priv=NULL;
priv1468drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv1584drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv1694drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv1742drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv1848drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *)dev->priv;
priv1931drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *)dev->priv;
priv2174drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv2267drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv2552drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv2568drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *)(dev->priv);
priv2589drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *)(dev->priv);
priv2662drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *)(dev->priv);
priv2703drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *) (dev->priv);
priv2752drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv2773drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv2881drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv2919drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv2944drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv3010drivers/net/arcnet.cstruct arcnet_local *lp = (struct arcnet_local *)dev->priv;
priv3062drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *)(dev->priv);
priv3117drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *)(dev->priv);
priv3152drivers/net/arcnet.cstruct arcnet_local *lp=(struct arcnet_local *) (dev->priv);
priv3264drivers/net/arcnet.ckfree(thiscard.priv);
priv3265drivers/net/arcnet.cthiscard.priv = NULL;
priv153drivers/net/ariadne.cstruct ariadne_private *priv;
priv172drivers/net/ariadne.cdev->priv = kmalloc(sizeof(struct ariadne_private), GFP_KERNEL);
priv173drivers/net/ariadne.cpriv = (struct ariadne_private *)dev->priv;
priv174drivers/net/ariadne.cmemset(priv, 0, sizeof(struct ariadne_private));
priv176drivers/net/ariadne.cpriv->board = (struct AriadneBoard *)ZTWO_VADDR(board);
priv194drivers/net/ariadne.cstruct ariadne_private *priv = (struct ariadne_private *)dev->priv;
priv195drivers/net/ariadne.cstruct AriadneBoard *board = priv->board;
priv309drivers/net/ariadne.cstruct ariadne_private *priv = (struct ariadne_private *)dev->priv;
priv310drivers/net/ariadne.cstruct AriadneBoard *board = priv->board;
priv315drivers/net/ariadne.cpriv->lock = 0, priv->tx_full = 0;
priv316drivers/net/ariadne.cpriv->cur_rx = priv->cur_tx = 0;
priv317drivers/net/ariadne.cpriv->dirty_tx = 0;
priv328drivers/net/ariadne.cpriv->tx_ring[i] = &alancedata->tx_ring[i];
priv329drivers/net/ariadne.cpriv->tx_buff[i] = alancedata->tx_buff[i];
priv343drivers/net/ariadne.cpriv->rx_ring[i] = &alancedata->rx_ring[i];
priv344drivers/net/ariadne.cpriv->rx_buff[i] = alancedata->rx_buff[i];
priv356drivers/net/ariadne.cstruct ariadne_private *priv = (struct ariadne_private *)dev->priv;
priv357drivers/net/ariadne.cstruct AriadneBoard *board = priv->board;
priv363drivers/net/ariadne.cpriv->stats.rx_missed_errors = swapw(board->Lance.RDP);
priv370drivers/net/ariadne.cpriv->stats.rx_missed_errors);
priv383drivers/net/ariadne.cstruct ariadne_private *priv;
priv392drivers/net/ariadne.cpriv = (struct ariadne_private *)dev->priv;
priv393drivers/net/ariadne.cboard = priv->board;
priv454drivers/net/ariadne.cint dirty_tx = priv->dirty_tx;
priv456drivers/net/ariadne.cwhile (dirty_tx < priv->cur_tx) {
priv458drivers/net/ariadne.cint status = lowb(priv->tx_ring[entry]->TMD1);
priv463drivers/net/ariadne.cpriv->tx_ring[entry]->TMD1 &= 0xff00;
priv467drivers/net/ariadne.cint err_status = priv->tx_ring[entry]->TMD3;
priv468drivers/net/ariadne.cpriv->stats.tx_errors++;
priv470drivers/net/ariadne.cpriv->stats.tx_aborted_errors++;
priv472drivers/net/ariadne.cpriv->stats.tx_carrier_errors++;
priv474drivers/net/ariadne.cpriv->stats.tx_window_errors++;
priv477drivers/net/ariadne.cpriv->stats.tx_fifo_errors++;
priv486drivers/net/ariadne.cpriv->stats.collisions++;
priv487drivers/net/ariadne.cpriv->stats.tx_packets++;
priv493drivers/net/ariadne.cif (priv->cur_tx - dirty_tx >= TX_RING_SIZE) {
priv495drivers/net/ariadne.cdirty_tx, priv->cur_tx, priv->tx_full);
priv500drivers/net/ariadne.cif (priv->tx_full && dev->tbusy &&
priv501drivers/net/ariadne.cdirty_tx > priv->cur_tx - TX_RING_SIZE + 2) {
priv503drivers/net/ariadne.cpriv->tx_full = 0;
priv508drivers/net/ariadne.cpriv->dirty_tx = dirty_tx;
priv513drivers/net/ariadne.cpriv->stats.tx_errors++;  /* Tx babble. */
priv515drivers/net/ariadne.cpriv->stats.rx_errors++;  /* Missed a Rx frame. */
priv541drivers/net/ariadne.cstruct ariadne_private *priv = (struct ariadne_private *)dev->priv;
priv542drivers/net/ariadne.cstruct AriadneBoard *board = priv->board;
priv554drivers/net/ariadne.cpriv->stats.tx_errors++;
priv559drivers/net/ariadne.cpriv->dirty_tx, priv->cur_tx, priv->tx_full ? " (full)" : "",
priv560drivers/net/ariadne.cpriv->cur_rx);
priv563drivers/net/ariadne.c(swapw((priv->rx_ring[i]->RMD1))<<16)|swapw(priv->rx_ring[i]->RMD0),
priv564drivers/net/ariadne.cswapw(-priv->rx_ring[i]->RMD2), swapw(priv->rx_ring[i]->RMD3));
priv567drivers/net/ariadne.c(swapw((priv->tx_ring[i]->TMD1))<<16)|swapw(priv->tx_ring[i]->TMD0),
priv568drivers/net/ariadne.cswapw(-priv->tx_ring[i]->TMD2), priv->tx_ring[i]->TMD3);
priv605drivers/net/ariadne.cif (set_bit(0, (void*)&priv->lock) != 0) {
priv632drivers/net/ariadne.centry = priv->cur_tx % TX_RING_SIZE;
priv637drivers/net/ariadne.cpriv->tx_ring[entry]->TMD2 = swapw((u_short)-skb->len);
priv638drivers/net/ariadne.cpriv->tx_ring[entry]->TMD3 = 0x0000;
priv639drivers/net/ariadne.cmemcpyw(priv->tx_buff[entry], (u_short *)skb->data, skb->len);
priv653drivers/net/ariadne.cprintk("%04x", priv->tx_buff[entry][i+j]);
priv660drivers/net/ariadne.cpriv->tx_ring[entry]->TMD1 = (priv->tx_ring[entry]->TMD1&0xff00)|TF_OWN|TF_STP|TF_ENP;
priv664drivers/net/ariadne.cpriv->cur_tx++;
priv665drivers/net/ariadne.cif ((priv->cur_tx >= TX_RING_SIZE) && (priv->dirty_tx >= TX_RING_SIZE)) {
priv669drivers/net/ariadne.cpriv->cur_tx, priv->dirty_tx);
priv672drivers/net/ariadne.cpriv->cur_tx -= TX_RING_SIZE;
priv673drivers/net/ariadne.cpriv->dirty_tx -= TX_RING_SIZE;
priv683drivers/net/ariadne.cpriv->lock = 0;
priv684drivers/net/ariadne.cif (lowb(priv->tx_ring[(entry+1) % TX_RING_SIZE]->TMD1) == 0)
priv687drivers/net/ariadne.cpriv->tx_full = 1;
priv696drivers/net/ariadne.cstruct ariadne_private *priv = (struct ariadne_private *)dev->priv;
priv697drivers/net/ariadne.cint entry = priv->cur_rx % RX_RING_SIZE;
priv701drivers/net/ariadne.cwhile (!(lowb(priv->rx_ring[entry]->RMD1) & RF_OWN)) {
priv702drivers/net/ariadne.cint status = lowb(priv->rx_ring[entry]->RMD1);
priv711drivers/net/ariadne.cpriv->stats.rx_errors++;
priv713drivers/net/ariadne.cpriv->stats.rx_frame_errors++;
priv715drivers/net/ariadne.cpriv->stats.rx_over_errors++;
priv717drivers/net/ariadne.cpriv->stats.rx_crc_errors++;
priv719drivers/net/ariadne.cpriv->stats.rx_fifo_errors++;
priv720drivers/net/ariadne.cpriv->rx_ring[entry]->RMD1 &= 0xff00|RF_STP|RF_ENP;
priv723drivers/net/ariadne.cshort pkt_len = swapw(priv->rx_ring[entry]->RMD3);
priv730drivers/net/ariadne.cif (lowb(priv->rx_ring[(entry+i) % RX_RING_SIZE]->RMD1) & RF_OWN)
priv734drivers/net/ariadne.cpriv->stats.rx_dropped++;
priv735drivers/net/ariadne.cpriv->rx_ring[entry]->RMD1 |= RF_OWN;
priv736drivers/net/ariadne.cpriv->cur_rx++;
priv745drivers/net/ariadne.ceth_copy_and_sum(skb, (char *)priv->rx_buff[entry], pkt_len,0);
priv766drivers/net/ariadne.cpriv->stats.rx_packets++;
priv769drivers/net/ariadne.cpriv->rx_ring[entry]->RMD1 |= RF_OWN;
priv770drivers/net/ariadne.centry = (++priv->cur_rx) % RX_RING_SIZE;
priv773drivers/net/ariadne.cpriv->cur_rx = priv->cur_rx % RX_RING_SIZE;
priv784drivers/net/ariadne.cstruct ariadne_private *priv = (struct ariadne_private *)dev->priv;
priv785drivers/net/ariadne.cstruct AriadneBoard *board = priv->board;
priv791drivers/net/ariadne.cpriv->stats.rx_missed_errors = swapw(board->Lance.RDP);
priv795drivers/net/ariadne.creturn(&priv->stats);
priv807drivers/net/ariadne.cstruct ariadne_private *priv = (struct ariadne_private *)dev->priv;
priv808drivers/net/ariadne.cstruct AriadneBoard *board = priv->board;
priv261drivers/net/at1700.cdev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL);
priv262drivers/net/at1700.cif (dev->priv == NULL)
priv264drivers/net/at1700.cmemset(dev->priv, 0, sizeof(struct net_local));
priv321drivers/net/at1700.cstruct net_local *lp = (struct net_local *)dev->priv;
priv366drivers/net/at1700.cstruct net_local *lp = (struct net_local *)dev->priv;
priv456drivers/net/at1700.clp = (struct net_local *)dev->priv;
priv494drivers/net/at1700.cstruct net_local *lp = (struct net_local *)dev->priv;
priv598drivers/net/at1700.cstruct net_local *lp = (struct net_local *)dev->priv;
priv659drivers/net/at1700.ckfree(dev_at1700.priv);
priv660drivers/net/at1700.cdev_at1700.priv = NULL;
priv510drivers/net/atarilance.cif (!dev->priv)
priv511drivers/net/atarilance.cdev->priv = kmalloc( sizeof(struct lance_private), GFP_KERNEL );
priv512drivers/net/atarilance.clp = (struct lance_private *)dev->priv;
priv625drivers/net/atarilance.c{  struct lance_private *lp = (struct lance_private *)dev->priv;
priv669drivers/net/atarilance.c{  struct lance_private *lp = (struct lance_private *)dev->priv;
priv715drivers/net/atarilance.c{  struct lance_private *lp = (struct lance_private *)dev->priv;
priv860drivers/net/atarilance.clp = (struct lance_private *)dev->priv;
priv960drivers/net/atarilance.c{  struct lance_private *lp = (struct lance_private *)dev->priv;
priv1052drivers/net/atarilance.c{  struct lance_private *lp = (struct lance_private *)dev->priv;
priv1074drivers/net/atarilance.c{  struct lance_private *lp = (struct lance_private *)dev->priv;
priv1089drivers/net/atarilance.c{  struct lance_private *lp = (struct lance_private *)dev->priv;
priv1131drivers/net/atarilance.c{  struct lance_private *lp = (struct lance_private *)dev->priv;
priv229drivers/net/atp.cdev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL);
priv230drivers/net/atp.cif (dev->priv == NULL)
priv232drivers/net/atp.cmemset(dev->priv, 0, sizeof(struct net_local));
priv236drivers/net/atp.cstruct net_local *lp = (struct net_local *)dev->priv;
priv344drivers/net/atp.cstruct net_local *lp = (struct net_local *)dev->priv;
priv418drivers/net/atp.cstruct net_local *lp = (struct net_local *)dev->priv;
priv501drivers/net/atp.clp = (struct net_local *)dev->priv;
priv624drivers/net/atp.cstruct net_local *lp = (struct net_local *)atp_timed_dev->priv;
priv648drivers/net/atp.cstruct net_local *lp = (struct net_local *)dev->priv;
priv727drivers/net/atp.cstruct net_local *lp = (struct net_local *)dev->priv;
priv753drivers/net/atp.cstruct net_local *lp = (struct net_local *)dev->priv;
priv763drivers/net/atp.cstruct net_local *lp = (struct net_local *)dev->priv;
priv512drivers/net/de4x5.cvoid *priv;                         /* Original kmalloc'd mem addr  */
priv699drivers/net/de4x5.cfor (; (dev->priv == NULL) && (dev->next != NULL); dev = dev->next);
priv701drivers/net/de4x5.cif (dev->priv) status = 0;
priv769drivers/net/de4x5.cdev->priv = (void *) kmalloc(sizeof(struct de4x5_private) + ALIGN, 
priv771drivers/net/de4x5.cif (dev->priv == NULL) {
priv778drivers/net/de4x5.ctmp = dev->priv;
priv779drivers/net/de4x5.cdev->priv = (void *)(((u_long)dev->priv + ALIGN) & ~ALIGN);
priv780drivers/net/de4x5.clp = (struct de4x5_private *)dev->priv;
priv781drivers/net/de4x5.cmemset(dev->priv, 0, sizeof(struct de4x5_private));
priv784drivers/net/de4x5.clp->cache.priv = tmp;
priv835drivers/net/de4x5.ckfree(lp->cache.priv);
priv912drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv997drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1070drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1159drivers/net/de4x5.clp = (struct de4x5_private *)dev->priv;
priv1211drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1301drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1353drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1374drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1397drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1438drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1449drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1468drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1500drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1820drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1856drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1933drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv1972drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2013drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2219drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2371drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2393drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2414drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2450drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2472drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2501drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2524drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2542drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2557drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2572drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2589drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2627drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2672drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2689drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2718drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2740drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2760drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2800drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2817drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2829drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2847drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2875drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv2896drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3426drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3471drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3511drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3521drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3548drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3574drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3596drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3647drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3674drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv3770drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)dev->priv;
priv4074drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *) thisDE4X5.priv;
priv4090drivers/net/de4x5.cif (p->priv) {                          /* Private area allocated?   */
priv4091drivers/net/de4x5.cstruct de4x5_private *lp = (struct de4x5_private *)p->priv;
priv4098drivers/net/de4x5.ckfree(lp->cache.priv);              /* Free the private area     */
priv4104drivers/net/de4x5.cif (thisDE4X5.priv) {
priv4112drivers/net/de4x5.ckfree(lp->cache.priv);
priv4113drivers/net/de4x5.cthisDE4X5.priv = NULL;
priv379drivers/net/de600.creturn (struct netstats *)(dev->priv);
priv558drivers/net/de600.c((struct netstats *)(dev->priv))->tx_packets++;
priv625drivers/net/de600.c((struct netstats *)(dev->priv))->rx_packets++; /* count all receives */
priv700drivers/net/de600.cdev->priv = &de600_netstats;
priv702drivers/net/de600.cmemset(dev->priv, 0, sizeof(struct netstats));
priv476drivers/net/de620.creturn (struct netstats *)(dev->priv);
priv586drivers/net/de620.c((struct netstats *)(dev->priv))->tx_packets++;
priv677drivers/net/de620.c((struct netstats *)(dev->priv))->rx_over_errors++;
priv697drivers/net/de620.c((struct netstats *)(dev->priv))->rx_over_errors++;
priv711drivers/net/de620.c((struct netstats *)(dev->priv))->rx_dropped++;
priv725drivers/net/de620.c((struct netstats *)(dev->priv))->rx_packets++;
priv889drivers/net/de620.cdev->priv = &de620_netstats;
priv891drivers/net/de620.cmemset(dev->priv, 0, sizeof(struct netstats));
priv462drivers/net/depca.cfor (; (dev->priv == NULL) && (dev->next != NULL); dev = dev->next);
priv464drivers/net/depca.cif (dev->priv) status = 0;
priv544drivers/net/depca.cdev->priv = (void *) kmalloc(sizeof(struct depca_private), GFP_KERNEL);
priv545drivers/net/depca.cif (dev->priv == NULL)
priv547drivers/net/depca.clp = (struct depca_private *)dev->priv;
priv548drivers/net/depca.cmemset((char *)dev->priv, 0, sizeof(struct depca_private));
priv672drivers/net/depca.cif (dev->priv) {
priv673drivers/net/depca.ckfree_s(dev->priv, sizeof(struct depca_private));
priv674drivers/net/depca.cdev->priv = NULL;
priv688drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv740drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv783drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv851drivers/net/depca.clp = (struct depca_private *)dev->priv;
priv894drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv994drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1032drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1074drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1091drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1123drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1136drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1168drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1536drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1624drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1703drivers/net/depca.cstruct depca_private *lp = (struct depca_private *)dev->priv;
priv1885drivers/net/depca.cif (thisDepca.priv) {
priv1886drivers/net/depca.ckfree(thisDepca.priv);
priv1887drivers/net/depca.cthisDepca.priv = NULL;
priv86drivers/net/dgrs.c#define  S2H(A)  ( ((unsigned long)(A)&0x00ffffff) + priv->vmem )
priv87drivers/net/dgrs.c#define  H2S(A)  ( ((char *) (A) - priv->vmem) + 0xA3000000 )
priv168drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv170drivers/net/dgrs.cif (priv->plxreg)
priv192drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv200drivers/net/dgrs.cif (!dgrs_dma || !priv->plxreg || !priv->plxdma)
priv228drivers/net/dgrs.cpriv->vplxdma = (ulong *) vremap (priv->plxdma, 256);
priv229drivers/net/dgrs.cif (!priv->vplxdma)
priv241drivers/net/dgrs.cpriv->vplxdma[PLX_DMA0_MODE/4] = 0xFFFFFFFF;
priv242drivers/net/dgrs.cx = priv->vplxdma[PLX_DMA0_MODE/4];
priv273drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv280drivers/net/dgrs.cpriv->vplxdma[PLX_DMA0_PCI_ADDR/4] = pciaddr;
priv281drivers/net/dgrs.cpriv->vplxdma[PLX_DMA0_LCL_ADDR/4] = lcladdr;
priv282drivers/net/dgrs.cpriv->vplxdma[PLX_DMA0_SIZE/4] = len;
priv283drivers/net/dgrs.cpriv->vplxdma[PLX_DMA0_DESCRIPTOR/4] = to_host
priv286drivers/net/dgrs.cpriv->vplxdma[PLX_DMA0_MODE/4] =
priv299drivers/net/dgrs.cpriv->vplxdma[PLX_DMA0_MODE/4] =
priv306drivers/net/dgrs.cpriv->vplxdma[PLX_DMA0_DESCRIPTOR/4] = lcladdr;
priv309drivers/net/dgrs.cpriv->vplxdma[PLX_DMA_CSR/4] =
priv323drivers/net/dgrs.ccsr = (volatile) priv->vplxdma[PLX_DMA_CSR/4];
priv332drivers/net/dgrs.cpriv->use_dma = 0;
priv344drivers/net/dgrs.cDGRS_PRIV  *priv,
priv363drivers/net/dgrs.c++priv->stats.rx_dropped;
priv379drivers/net/dgrs.cif (priv->use_dma && priv->dmadesc_h && len > 64)
priv396drivers/net/dgrs.cddp_h = priv->dmadesc_h;
priv397drivers/net/dgrs.cddp_s = priv->dmadesc_s;
priv438drivers/net/dgrs.cif (ddp_h - priv->dmadesc_h)
priv443drivers/net/dgrs.c0, (ulong) priv->dmadesc_s, len, 0);
priv451drivers/net/dgrs.celse if (priv->use_dma)
priv531drivers/net/dgrs.c++priv->stats.rx_packets;
priv553drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv564drivers/net/dgrs.cif (priv->rfdp->cmd & I596_RFD_EL)
priv570drivers/net/dgrs.crbdp = priv->rbdp;
priv572drivers/net/dgrs.cpriv->rfdp->rbdp = (I596_RBD *) H2S(rbdp);
priv613drivers/net/dgrs.cpriv->rbdp = rbdp;
priv614drivers/net/dgrs.cpriv->rfdp->status = I596_RFD_C | I596_RFD_OK;
priv615drivers/net/dgrs.cpriv->rfdp = (I596_RFD *) S2H(priv->rfdp->next);
priv617drivers/net/dgrs.c++priv->stats.tx_packets;
priv623drivers/net/dgrs.cpriv->scbp->status |= I596_SCB_RNR;  /* simulate I82596 */
priv666drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv668drivers/net/dgrs.creturn (&priv->stats);
priv677drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv679drivers/net/dgrs.cpriv->port->is_promisc = (dev->flags & IFF_PROMISC) ? 1 : 0;
priv688drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv710drivers/net/dgrs.cif (ioc.port > priv->bcomm->bc_nports)
priv714drivers/net/dgrs.cif (ioc.len > priv->bcomm->bc_filter_area_len)
priv720drivers/net/dgrs.cif ( (volatile) priv->bcomm->bc_filter_cmd <= 0 )
priv727drivers/net/dgrs.cpriv->bcomm->bc_filter_port = ioc.port;
priv728drivers/net/dgrs.cpriv->bcomm->bc_filter_num = ioc.filter;
priv729drivers/net/dgrs.cpriv->bcomm->bc_filter_len = ioc.len;
priv733drivers/net/dgrs.cmemcpy_fromfs(S2H(priv->bcomm->bc_filter_area),
priv735drivers/net/dgrs.cpriv->bcomm->bc_filter_cmd = BC_FILTER_SET;
priv738drivers/net/dgrs.cpriv->bcomm->bc_filter_cmd = BC_FILTER_CLR;
priv752drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv756drivers/net/dgrs.c++priv->intrcnt;
priv757drivers/net/dgrs.cif (1) ++priv->bcomm->bc_cnt[4];
priv763drivers/net/dgrs.ccmd = priv->scbp->cmd;
priv771drivers/net/dgrs.cpriv->rfdp = (I596_RFD *) S2H(priv->scbp->rfdp);
priv772drivers/net/dgrs.cpriv->rbdp = (I596_RBD *) S2H(priv->rfdp->rbdp);
priv774drivers/net/dgrs.cpriv->scbp->status &= ~(I596_SCB_RNR|I596_SCB_RUS);
priv784drivers/net/dgrs.cpriv->scbp->cmd = 0;  /* Ignore all other commands */
priv787drivers/net/dgrs.cpriv->scbp->status &= ~(I596_SCB_CNA|I596_SCB_CUS);
priv792drivers/net/dgrs.ccbp = (I596_CB *) S2H(priv->scbp->cbp);
priv793drivers/net/dgrs.cpriv->scbp->cmd = 0;  /* Safe to clear the command */
priv799drivers/net/dgrs.cdgrs_rcv_frame(dev, priv, cbp);
priv809drivers/net/dgrs.cpriv->scbp->status |= I596_SCB_CNA;
priv815drivers/net/dgrs.cif (priv->plxreg)
priv825drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv838drivers/net/dgrs.cpriv->vmem = vremap(dev->mem_start, 2048*1024);
priv839drivers/net/dgrs.cif (!priv->vmem)
priv848drivers/net/dgrs.cif (priv->plxreg)
priv864drivers/net/dgrs.cpriv->is_reg = ES4H_IS_LINEAR | is |
priv866drivers/net/dgrs.cOUTB(dev->base_addr + ES4H_IS, priv->is_reg);
priv875drivers/net/dgrs.cpriv->use_dma = check_board_dma(dev);
priv876drivers/net/dgrs.cif (priv->use_dma)
priv882drivers/net/dgrs.cmemcpy(priv->vmem, dgrs_code, dgrs_ncode);  /* Load code */
priv883drivers/net/dgrs.cif (memcmp(priv->vmem, dgrs_code, dgrs_ncode))
priv885drivers/net/dgrs.cvfree(priv->vmem);
priv886drivers/net/dgrs.cpriv->vmem = NULL;
priv894drivers/net/dgrs.cpriv->bcomm = (struct bios_comm *) (priv->vmem + 0x0100);
priv895drivers/net/dgrs.cpriv->bcomm->bc_nowait = 1;  /* Tell board to make printf not wait */
priv896drivers/net/dgrs.cpriv->bcomm->bc_host = 1;  /* Tell board there is a host port */
priv897drivers/net/dgrs.cpriv->bcomm->bc_squelch = 0;  /* Flag from Space.c */
priv898drivers/net/dgrs.cpriv->bcomm->bc_150ohm = 0;  /* Flag from Space.c */
priv900drivers/net/dgrs.cpriv->bcomm->bc_spew = 0;  /* Debug flag from Space.c */
priv901drivers/net/dgrs.cpriv->bcomm->bc_maxrfd = 0;  /* Debug flag from Space.c */
priv902drivers/net/dgrs.cpriv->bcomm->bc_maxrbd = 0;  /* Debug flag from Space.c */
priv907drivers/net/dgrs.cif (priv->use_dma)
priv908drivers/net/dgrs.cpriv->bcomm->bc_hostarea_len = (2048/64) * 16;
priv913drivers/net/dgrs.cpriv->bcomm->bc_spantree = dgrs_spantree;
priv914drivers/net/dgrs.cpriv->bcomm->bc_hashexpire = dgrs_hashexpire;
priv915drivers/net/dgrs.cmemcpy(priv->bcomm->bc_ipaddr, dgrs_ipaddr, 4);
priv916drivers/net/dgrs.cmemcpy(priv->bcomm->bc_ipxnet, &dgrs_ipxnet, 4);
priv925drivers/net/dgrs.cif (priv->bcomm->bc_status >= BC_RUN)
priv929drivers/net/dgrs.cif (priv->bcomm->bc_status < BC_RUN)
priv935drivers/net/dgrs.cpriv->port = (PORT *) S2H(priv->bcomm->bc_port);
priv936drivers/net/dgrs.cpriv->scbp = (I596_SCB *) S2H(priv->port->scbp);
priv938drivers/net/dgrs.cpriv->rfdp = (I596_RFD *) S2H(priv->port->rfd_head);
priv939drivers/net/dgrs.cpriv->rbdp = (I596_RBD *) S2H(priv->port->rbd_head);
priv941drivers/net/dgrs.cpriv->rfdp = (I596_RFD *) S2H(priv->scbp->rfdp);
priv942drivers/net/dgrs.cpriv->rbdp = (I596_RBD *) S2H(priv->rfdp->rbdp);
priv945drivers/net/dgrs.cpriv->scbp->status = I596_SCB_CNA;  /* CU is idle */
priv954drivers/net/dgrs.cpriv->dmadesc_s = (DMACHAIN *) S2DMA(priv->bcomm->bc_hostarea);
priv955drivers/net/dgrs.cif (priv->dmadesc_s)
priv956drivers/net/dgrs.cpriv->dmadesc_h = (DMACHAIN *) S2H(priv->dmadesc_s);
priv958drivers/net/dgrs.cpriv->dmadesc_h = NULL;
priv963drivers/net/dgrs.cif (priv->plxreg)
priv983drivers/net/dgrs.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv989drivers/net/dgrs.cpriv->plxreg, priv->plxdma);
priv1004drivers/net/dgrs.cmemcpy(dev->dev_addr, priv->port->ethaddr, 6);
priv1019drivers/net/dgrs.cif (priv->plxreg)
priv1025drivers/net/dgrs.cpriv->intrcnt = 0;
priv1027drivers/net/dgrs.cif (priv->intrcnt >= 2)
priv1029drivers/net/dgrs.cif (priv->intrcnt < 2)
priv1032drivers/net/dgrs.cdev->name, dev->irq, priv->intrcnt);
priv1064drivers/net/dgrs.cDGRS_PRIV  *priv;
priv1073drivers/net/dgrs.cdev->priv = ((void *)dev) + sizeof(struct device);
priv1074drivers/net/dgrs.cpriv = (DGRS_PRIV *)dev->priv;
priv1076drivers/net/dgrs.cdev->name = priv->devname; /* An empty string. */
priv1081drivers/net/dgrs.cpriv->plxreg = plxreg;
priv1082drivers/net/dgrs.cpriv->plxdma = plxdma;
priv1083drivers/net/dgrs.cpriv->vplxdma = NULL;
priv1088drivers/net/dgrs.cpriv->next_dev = dgrs_root_dev;
priv1097drivers/net/dgrs.cdev->priv = kmalloc(sizeof (DGRS_PRIV), GFP_KERNEL);
priv1098drivers/net/dgrs.cmemset(dev->priv, 0, sizeof (DGRS_PRIV));
priv1101drivers/net/dgrs.cpriv = (DGRS_PRIV *)dev->priv;
priv1107drivers/net/dgrs.cpriv->plxreg = plxreg;
priv1108drivers/net/dgrs.cpriv->plxdma = plxdma;
priv1109drivers/net/dgrs.cpriv->vplxdma = NULL;
priv1324drivers/net/dgrs.cDGRS_PRIV  *priv;
priv1326drivers/net/dgrs.cpriv = (DGRS_PRIV *) dgrs_root_dev->priv;
priv1327drivers/net/dgrs.cnext_dev = priv->next_dev;
priv1332drivers/net/dgrs.cif (priv->vmem)
priv1333drivers/net/dgrs.cvfree(priv->vmem);
priv1334drivers/net/dgrs.cif (priv->vplxdma)
priv1335drivers/net/dgrs.cvfree((uchar *) priv->vplxdma);
priv86drivers/net/dgrs_driver.c#define  S2H(A)  ( ((unsigned long)(A)&0x00ffffff) + priv->vmem )
priv87drivers/net/dgrs_driver.c#define  H2S(A)  ( ((char *) (A) - priv->vmem) + 0xA3000000 )
priv168drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv170drivers/net/dgrs_driver.cif (priv->plxreg)
priv192drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv200drivers/net/dgrs_driver.cif (!dgrs_dma || !priv->plxreg || !priv->plxdma)
priv228drivers/net/dgrs_driver.cpriv->vplxdma = (ulong *) vremap (priv->plxdma, 256);
priv229drivers/net/dgrs_driver.cif (!priv->vplxdma)
priv241drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA0_MODE/4] = 0xFFFFFFFF;
priv242drivers/net/dgrs_driver.cx = priv->vplxdma[PLX_DMA0_MODE/4];
priv273drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv280drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA0_PCI_ADDR/4] = pciaddr;
priv281drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA0_LCL_ADDR/4] = lcladdr;
priv282drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA0_SIZE/4] = len;
priv283drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA0_DESCRIPTOR/4] = to_host
priv286drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA0_MODE/4] =
priv299drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA0_MODE/4] =
priv306drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA0_DESCRIPTOR/4] = lcladdr;
priv309drivers/net/dgrs_driver.cpriv->vplxdma[PLX_DMA_CSR/4] =
priv323drivers/net/dgrs_driver.ccsr = (volatile) priv->vplxdma[PLX_DMA_CSR/4];
priv332drivers/net/dgrs_driver.cpriv->use_dma = 0;
priv344drivers/net/dgrs_driver.cDGRS_PRIV  *priv,
priv363drivers/net/dgrs_driver.c++priv->stats.rx_dropped;
priv379drivers/net/dgrs_driver.cif (priv->use_dma && priv->dmadesc_h && len > 64)
priv396drivers/net/dgrs_driver.cddp_h = priv->dmadesc_h;
priv397drivers/net/dgrs_driver.cddp_s = priv->dmadesc_s;
priv438drivers/net/dgrs_driver.cif (ddp_h - priv->dmadesc_h)
priv443drivers/net/dgrs_driver.c0, (ulong) priv->dmadesc_s, len, 0);
priv451drivers/net/dgrs_driver.celse if (priv->use_dma)
priv531drivers/net/dgrs_driver.c++priv->stats.rx_packets;
priv553drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv564drivers/net/dgrs_driver.cif (priv->rfdp->cmd & I596_RFD_EL)
priv570drivers/net/dgrs_driver.crbdp = priv->rbdp;
priv572drivers/net/dgrs_driver.cpriv->rfdp->rbdp = (I596_RBD *) H2S(rbdp);
priv613drivers/net/dgrs_driver.cpriv->rbdp = rbdp;
priv614drivers/net/dgrs_driver.cpriv->rfdp->status = I596_RFD_C | I596_RFD_OK;
priv615drivers/net/dgrs_driver.cpriv->rfdp = (I596_RFD *) S2H(priv->rfdp->next);
priv617drivers/net/dgrs_driver.c++priv->stats.tx_packets;
priv623drivers/net/dgrs_driver.cpriv->scbp->status |= I596_SCB_RNR;  /* simulate I82596 */
priv666drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv668drivers/net/dgrs_driver.creturn (&priv->stats);
priv677drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv679drivers/net/dgrs_driver.cpriv->port->is_promisc = (dev->flags & IFF_PROMISC) ? 1 : 0;
priv688drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv710drivers/net/dgrs_driver.cif (ioc.port > priv->bcomm->bc_nports)
priv714drivers/net/dgrs_driver.cif (ioc.len > priv->bcomm->bc_filter_area_len)
priv720drivers/net/dgrs_driver.cif ( (volatile) priv->bcomm->bc_filter_cmd <= 0 )
priv727drivers/net/dgrs_driver.cpriv->bcomm->bc_filter_port = ioc.port;
priv728drivers/net/dgrs_driver.cpriv->bcomm->bc_filter_num = ioc.filter;
priv729drivers/net/dgrs_driver.cpriv->bcomm->bc_filter_len = ioc.len;
priv733drivers/net/dgrs_driver.cmemcpy_fromfs(S2H(priv->bcomm->bc_filter_area),
priv735drivers/net/dgrs_driver.cpriv->bcomm->bc_filter_cmd = BC_FILTER_SET;
priv738drivers/net/dgrs_driver.cpriv->bcomm->bc_filter_cmd = BC_FILTER_CLR;
priv752drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv756drivers/net/dgrs_driver.c++priv->intrcnt;
priv757drivers/net/dgrs_driver.cif (1) ++priv->bcomm->bc_cnt[4];
priv763drivers/net/dgrs_driver.ccmd = priv->scbp->cmd;
priv771drivers/net/dgrs_driver.cpriv->rfdp = (I596_RFD *) S2H(priv->scbp->rfdp);
priv772drivers/net/dgrs_driver.cpriv->rbdp = (I596_RBD *) S2H(priv->rfdp->rbdp);
priv774drivers/net/dgrs_driver.cpriv->scbp->status &= ~(I596_SCB_RNR|I596_SCB_RUS);
priv784drivers/net/dgrs_driver.cpriv->scbp->cmd = 0;  /* Ignore all other commands */
priv787drivers/net/dgrs_driver.cpriv->scbp->status &= ~(I596_SCB_CNA|I596_SCB_CUS);
priv792drivers/net/dgrs_driver.ccbp = (I596_CB *) S2H(priv->scbp->cbp);
priv793drivers/net/dgrs_driver.cpriv->scbp->cmd = 0;  /* Safe to clear the command */
priv799drivers/net/dgrs_driver.cdgrs_rcv_frame(dev, priv, cbp);
priv809drivers/net/dgrs_driver.cpriv->scbp->status |= I596_SCB_CNA;
priv815drivers/net/dgrs_driver.cif (priv->plxreg)
priv825drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv838drivers/net/dgrs_driver.cpriv->vmem = vremap(dev->mem_start, 2048*1024);
priv839drivers/net/dgrs_driver.cif (!priv->vmem)
priv848drivers/net/dgrs_driver.cif (priv->plxreg)
priv864drivers/net/dgrs_driver.cpriv->is_reg = ES4H_IS_LINEAR | is |
priv866drivers/net/dgrs_driver.cOUTB(dev->base_addr + ES4H_IS, priv->is_reg);
priv875drivers/net/dgrs_driver.cpriv->use_dma = check_board_dma(dev);
priv876drivers/net/dgrs_driver.cif (priv->use_dma)
priv882drivers/net/dgrs_driver.cmemcpy(priv->vmem, dgrs_code, dgrs_ncode);  /* Load code */
priv883drivers/net/dgrs_driver.cif (memcmp(priv->vmem, dgrs_code, dgrs_ncode))
priv885drivers/net/dgrs_driver.cvfree(priv->vmem);
priv886drivers/net/dgrs_driver.cpriv->vmem = NULL;
priv894drivers/net/dgrs_driver.cpriv->bcomm = (struct bios_comm *) (priv->vmem + 0x0100);
priv895drivers/net/dgrs_driver.cpriv->bcomm->bc_nowait = 1;  /* Tell board to make printf not wait */
priv896drivers/net/dgrs_driver.cpriv->bcomm->bc_host = 1;  /* Tell board there is a host port */
priv897drivers/net/dgrs_driver.cpriv->bcomm->bc_squelch = 0;  /* Flag from Space.c */
priv898drivers/net/dgrs_driver.cpriv->bcomm->bc_150ohm = 0;  /* Flag from Space.c */
priv900drivers/net/dgrs_driver.cpriv->bcomm->bc_spew = 0;  /* Debug flag from Space.c */
priv901drivers/net/dgrs_driver.cpriv->bcomm->bc_maxrfd = 0;  /* Debug flag from Space.c */
priv902drivers/net/dgrs_driver.cpriv->bcomm->bc_maxrbd = 0;  /* Debug flag from Space.c */
priv907drivers/net/dgrs_driver.cif (priv->use_dma)
priv908drivers/net/dgrs_driver.cpriv->bcomm->bc_hostarea_len = (2048/64) * 16;
priv913drivers/net/dgrs_driver.cpriv->bcomm->bc_spantree = dgrs_spantree;
priv914drivers/net/dgrs_driver.cpriv->bcomm->bc_hashexpire = dgrs_hashexpire;
priv915drivers/net/dgrs_driver.cmemcpy(priv->bcomm->bc_ipaddr, dgrs_ipaddr, 4);
priv916drivers/net/dgrs_driver.cmemcpy(priv->bcomm->bc_ipxnet, &dgrs_ipxnet, 4);
priv925drivers/net/dgrs_driver.cif (priv->bcomm->bc_status >= BC_RUN)
priv929drivers/net/dgrs_driver.cif (priv->bcomm->bc_status < BC_RUN)
priv935drivers/net/dgrs_driver.cpriv->port = (PORT *) S2H(priv->bcomm->bc_port);
priv936drivers/net/dgrs_driver.cpriv->scbp = (I596_SCB *) S2H(priv->port->scbp);
priv938drivers/net/dgrs_driver.cpriv->rfdp = (I596_RFD *) S2H(priv->port->rfd_head);
priv939drivers/net/dgrs_driver.cpriv->rbdp = (I596_RBD *) S2H(priv->port->rbd_head);
priv941drivers/net/dgrs_driver.cpriv->rfdp = (I596_RFD *) S2H(priv->scbp->rfdp);
priv942drivers/net/dgrs_driver.cpriv->rbdp = (I596_RBD *) S2H(priv->rfdp->rbdp);
priv945drivers/net/dgrs_driver.cpriv->scbp->status = I596_SCB_CNA;  /* CU is idle */
priv954drivers/net/dgrs_driver.cpriv->dmadesc_s = (DMACHAIN *) S2DMA(priv->bcomm->bc_hostarea);
priv955drivers/net/dgrs_driver.cif (priv->dmadesc_s)
priv956drivers/net/dgrs_driver.cpriv->dmadesc_h = (DMACHAIN *) S2H(priv->dmadesc_s);
priv958drivers/net/dgrs_driver.cpriv->dmadesc_h = NULL;
priv963drivers/net/dgrs_driver.cif (priv->plxreg)
priv983drivers/net/dgrs_driver.cDGRS_PRIV  *priv = (DGRS_PRIV *) dev->priv;
priv989drivers/net/dgrs_driver.cpriv->plxreg, priv->plxdma);
priv1004drivers/net/dgrs_driver.cmemcpy(dev->dev_addr, priv->port->ethaddr, 6);
priv1019drivers/net/dgrs_driver.cif (priv->plxreg)
priv1025drivers/net/dgrs_driver.cpriv->intrcnt = 0;
priv1027drivers/net/dgrs_driver.cif (priv->intrcnt >= 2)
priv1029drivers/net/dgrs_driver.cif (priv->intrcnt < 2)
priv1032drivers/net/dgrs_driver.cdev->name, dev->irq, priv->intrcnt);
priv1064drivers/net/dgrs_driver.cDGRS_PRIV  *priv;
priv1073drivers/net/dgrs_driver.cdev->priv = ((void *)dev) + sizeof(struct device);
priv1074drivers/net/dgrs_driver.cpriv = (DGRS_PRIV *)dev->priv;
priv1076drivers/net/dgrs_driver.cdev->name = priv->devname; /* An empty string. */
priv1081drivers/net/dgrs_driver.cpriv->plxreg = plxreg;
priv1082drivers/net/dgrs_driver.cpriv->plxdma = plxdma;
priv1083drivers/net/dgrs_driver.cpriv->vplxdma = NULL;
priv1088drivers/net/dgrs_driver.cpriv->next_dev = dgrs_root_dev;
priv1097drivers/net/dgrs_driver.cdev->priv = kmalloc(sizeof (DGRS_PRIV), GFP_KERNEL);
priv1098drivers/net/dgrs_driver.cmemset(dev->priv, 0, sizeof (DGRS_PRIV));
priv1101drivers/net/dgrs_driver.cpriv = (DGRS_PRIV *)dev->priv;
priv1107drivers/net/dgrs_driver.cpriv->plxreg = plxreg;
priv1108drivers/net/dgrs_driver.cpriv->plxdma = plxdma;
priv1109drivers/net/dgrs_driver.cpriv->vplxdma = NULL;
priv1324drivers/net/dgrs_driver.cDGRS_PRIV  *priv;
priv1326drivers/net/dgrs_driver.cpriv = (DGRS_PRIV *) dgrs_root_dev->priv;
priv1327drivers/net/dgrs_driver.cnext_dev = priv->next_dev;
priv1332drivers/net/dgrs_driver.cif (priv->vmem)
priv1333drivers/net/dgrs_driver.cvfree(priv->vmem);
priv1334drivers/net/dgrs_driver.cif (priv->vplxdma)
priv1335drivers/net/dgrs_driver.cvfree((uchar *) priv->vplxdma);
priv128drivers/net/dlci.cdlp = dev->priv;
priv164drivers/net/dlci.cdlp = dev->priv;
priv243drivers/net/dlci.cdlp = dev->priv;
priv355drivers/net/dlci.cdlp = (struct dlci_local *) master->priv;
priv358drivers/net/dlci.cflp = slave->priv;
priv363drivers/net/dlci.ckfree(master->priv);
priv387drivers/net/dlci.cdlp = master->priv;
priv389drivers/net/dlci.cflp = slave->priv;
priv404drivers/net/dlci.ckfree(master->priv);
priv420drivers/net/dlci.cdlp = dev->priv;
priv422drivers/net/dlci.cflp = dlp->slave->priv;
priv460drivers/net/dlci.cdlp = dev->priv;
priv508drivers/net/dlci.cdlp = dev->priv;
priv519drivers/net/dlci.cdlp = dev->priv;
priv532drivers/net/dlci.cflp = dlp->slave->priv;
priv546drivers/net/dlci.cdlp = dev->priv;
priv548drivers/net/dlci.cflp = dlp->slave->priv;
priv561drivers/net/dlci.cdlp = dev->priv;
priv571drivers/net/dlci.cdev->priv = kmalloc(sizeof(struct dlci_local), GFP_KERNEL);
priv572drivers/net/dlci.cif (!dev->priv)
priv575drivers/net/dlci.cmemset(dev->priv, 0, sizeof(struct dlci_local));
priv576drivers/net/dlci.cdlp = dev->priv;
priv640drivers/net/dlci.cif (dlci.priv)
priv641drivers/net/dlci.ckfree(dlci.priv);
priv86drivers/net/dummy.cdev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL);
priv87drivers/net/dummy.cif (dev->priv == NULL)
priv89drivers/net/dummy.cmemset(dev->priv, 0, sizeof(struct enet_statistics));
priv117drivers/net/dummy.cstats = (struct enet_statistics *)dev->priv;
priv128drivers/net/dummy.cstruct enet_statistics *stats = (struct enet_statistics*) dev->priv;
priv168drivers/net/dummy.ckfree(dev_dummy.priv);
priv169drivers/net/dummy.cdev_dummy.priv = NULL;
priv438drivers/net/e2100.cif (dev->priv != NULL) {
priv440drivers/net/e2100.ckfree(dev->priv);
priv441drivers/net/e2100.cdev->priv = NULL;
priv421drivers/net/eepro.cdev->priv = kmalloc(sizeof(struct eepro_local), GFP_KERNEL);
priv422drivers/net/eepro.cif (dev->priv == NULL)
priv424drivers/net/eepro.cmemset(dev->priv, 0, sizeof(struct eepro_local));
priv520drivers/net/eepro.cstruct eepro_local *lp = (struct eepro_local *)dev->priv;
priv655drivers/net/eepro.cstruct eepro_local *lp = (struct eepro_local *)dev->priv;
priv775drivers/net/eepro.cstruct eepro_local *lp = (struct eepro_local *)dev->priv;
priv824drivers/net/eepro.cstruct eepro_local *lp = (struct eepro_local *)dev->priv;
priv834drivers/net/eepro.cstruct eepro_local *lp = (struct eepro_local *)dev->priv;
priv994drivers/net/eepro.cstruct eepro_local *lp = (struct eepro_local *)dev->priv;
priv1092drivers/net/eepro.cstruct eepro_local *lp = (struct eepro_local *)dev->priv;
priv1172drivers/net/eepro.cstruct eepro_local *lp = (struct eepro_local *)dev->priv;
priv1237drivers/net/eepro.ckfree_s(dev_eepro.priv,sizeof(struct eepro_local));
priv1238drivers/net/eepro.cdev_eepro.priv=NULL;
priv137drivers/net/eexpress.c#define PRIV(x)         ((struct net_local *)(x)->priv)
priv334drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv352drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv496drivers/net/eexpress.clp = (struct net_local *)dev->priv;
priv567drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv652drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv729drivers/net/eexpress.cdev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL);
priv730drivers/net/eexpress.cif (!dev->priv) 
priv733drivers/net/eexpress.cmemset(dev->priv, 0, sizeof(struct net_local));
priv851drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv913drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv966drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv1014drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv1056drivers/net/eexpress.cstruct net_local *lp = (struct net_local *)dev->priv;
priv1248drivers/net/eexpress.cif (dev->priv != NULL) {
priv1249drivers/net/eexpress.ckfree(dev->priv);
priv1250drivers/net/eexpress.cdev->priv = NULL;
priv227drivers/net/eql.cdev->priv = kmalloc (sizeof (equalizer_t), GFP_KERNEL);
priv228drivers/net/eql.cif (dev->priv == NULL)
priv230drivers/net/eql.cmemset (dev->priv, 0, sizeof (equalizer_t));
priv231drivers/net/eql.ceql = (equalizer_t *) dev->priv;
priv236drivers/net/eql.ckfree(dev->priv);
priv237drivers/net/eql.cdev->priv = NULL;
priv243drivers/net/eql.ceql->timer.data       = (unsigned long) dev->priv;
priv288drivers/net/eql.cequalizer_t *eql = (equalizer_t *) dev->priv;
priv321drivers/net/eql.cequalizer_t *eql = (equalizer_t *) dev->priv;
priv371drivers/net/eql.cequalizer_t *eql = (equalizer_t *) dev->priv;
priv411drivers/net/eql.cequalizer_t *eql = (equalizer_t *) dev->priv;
priv466drivers/net/eql.cequalizer_t *eql = (equalizer_t *) master_dev->priv;
priv510drivers/net/eql.cequalizer_t *eql = (equalizer_t *) master_dev->priv;
priv536drivers/net/eql.ceql = (equalizer_t *) dev->priv;
priv575drivers/net/eql.ceql = (equalizer_t *) dev->priv;
priv609drivers/net/eql.ceql = (equalizer_t *) dev->priv;
priv635drivers/net/eql.ceql = (equalizer_t *) dev->priv;
priv717drivers/net/eql.cequalizer_t *eql = (equalizer_t *) queue->master_dev->priv;
priv448drivers/net/eth16i.cif(dev->priv == NULL)
priv449drivers/net/eth16i.cdev->priv = kmalloc(sizeof(struct eth16i_local), GFP_KERNEL);
priv450drivers/net/eth16i.cmemset(dev->priv, 0, sizeof(struct eth16i_local));
priv791drivers/net/eth16i.cstruct eth16i_local *lp = (struct eth16i_local *)dev->priv;
priv835drivers/net/eth16i.cstruct eth16i_local *lp = (struct eth16i_local *)dev->priv;
priv861drivers/net/eth16i.cstruct eth16i_local *lp = (struct eth16i_local *)dev->priv;
priv980drivers/net/eth16i.cstruct eth16i_local *lp = (struct eth16i_local *)dev->priv;
priv1107drivers/net/eth16i.clp = (struct eth16i_local *)dev->priv;
priv1165drivers/net/eth16i.cstruct eth16i_local *lp = (struct eth16i_local *)dev->priv;
priv367drivers/net/ewrk3.cfor (; (dev->priv == NULL) && (dev->next != NULL); dev = dev->next);
priv369drivers/net/ewrk3.cif (dev->priv) status = 0;
priv509drivers/net/ewrk3.cdev->priv = (void *) kmalloc(sizeof(struct ewrk3_private), 
priv511drivers/net/ewrk3.cif (dev->priv == NULL) {
priv514drivers/net/ewrk3.clp = (struct ewrk3_private *)dev->priv;
priv515drivers/net/ewrk3.cmemset(dev->priv, 0, sizeof(struct ewrk3_private));
priv617drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv690drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv725drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv885drivers/net/ewrk3.clp = (struct ewrk3_private *)dev->priv;
priv941drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv1085drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv1120drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv1163drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv1176drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv1211drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv1675drivers/net/ewrk3.cstruct ewrk3_private *lp = (struct ewrk3_private *)dev->priv;
priv1916drivers/net/ewrk3.cif (thisEthwrk.priv) {
priv1917drivers/net/ewrk3.ckfree(thisEthwrk.priv);
priv1918drivers/net/ewrk3.cthisEthwrk.priv = NULL;
priv255drivers/net/fmv18x.cdev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL);
priv256drivers/net/fmv18x.cif (dev->priv == NULL)
priv258drivers/net/fmv18x.cmemset(dev->priv, 0, sizeof(struct net_local));
priv275drivers/net/fmv18x.cstruct net_local *lp = (struct net_local *)dev->priv;
priv312drivers/net/fmv18x.cstruct net_local *lp = (struct net_local *)dev->priv;
priv420drivers/net/fmv18x.clp = (struct net_local *)dev->priv;
priv467drivers/net/fmv18x.cstruct net_local *lp = (struct net_local *)dev->priv;
priv558drivers/net/fmv18x.c((struct net_local *)dev->priv)->open_time = 0;
priv584drivers/net/fmv18x.cstruct net_local *lp = (struct net_local *)dev->priv;
priv646drivers/net/fmv18x.ckfree(dev_fmv18x.priv);
priv647drivers/net/fmv18x.cdev_fmv18x.priv = NULL;
priv463drivers/net/hp-plus.cif (dev->priv != NULL) {
priv466drivers/net/hp-plus.ckfree(dev->priv);
priv467drivers/net/hp-plus.cdev->priv = NULL;
priv430drivers/net/hp.cif (dev->priv != NULL) {
priv432drivers/net/hp.ckfree(dev->priv);
priv433drivers/net/hp.cdev->priv = NULL;
priv406drivers/net/hp100.cif ( ( dev -> priv = kmalloc( sizeof( struct hp100_private ), GFP_KERNEL ) ) == NULL )
priv408drivers/net/hp100.cmemset( dev -> priv, 0, sizeof( struct hp100_private ) );
priv410drivers/net/hp100.clp = (struct hp100_private *)dev -> priv;
priv489drivers/net/hp100.cstruct hp100_private *lp = (struct hp100_private *)dev -> priv;
priv551drivers/net/hp100.cstruct hp100_private *lp = (struct hp100_private *)dev -> priv;
priv579drivers/net/hp100.cstruct hp100_private *lp = (struct hp100_private *)dev -> priv;
priv708drivers/net/hp100.cstruct hp100_private *lp = (struct hp100_private *)dev -> priv;
priv808drivers/net/hp100.creturn &((struct hp100_private *)dev -> priv) -> stats;
priv815drivers/net/hp100.cstruct hp100_private *lp = (struct hp100_private *)dev -> priv;
priv852drivers/net/hp100.cstruct hp100_private *lp = (struct hp100_private *)dev -> priv;
priv922drivers/net/hp100.clp = (struct hp100_private *)dev -> priv;
priv940drivers/net/hp100.cstruct hp100_private *lp = (struct hp100_private *)dev -> priv;
priv1001drivers/net/hp100.cstruct hp100_private *lp = (struct hp100_private *)dev -> priv;
priv1134drivers/net/hp100.cif ( ((struct hp100_private *)dev_hp100.priv) -> mem_ptr_virt )
priv1135drivers/net/hp100.cvfree( ((struct hp100_private *)dev_hp100.priv) -> mem_ptr_virt );
priv1136drivers/net/hp100.ckfree_s( dev_hp100.priv, sizeof( struct hp100_private ) );
priv1137drivers/net/hp100.cdev_hp100.priv = NULL;
priv335drivers/net/ibmtr.cdev->priv = ti;     /* this seems like the logical use of the
priv576drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *)dev->priv;
priv596drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *)dev->priv;
priv618drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
priv647drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
priv1017drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
priv1087drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
priv1122drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
priv1148drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
priv1186drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
priv1277drivers/net/ibmtr.cstruct tok_info *ti=(struct tok_info *) dev->priv;
priv1434drivers/net/ibmtr.cti=(struct tok_info *) dev->priv;
priv1481drivers/net/ibmtr.ctoki=(struct tok_info *) dev->priv;
priv454drivers/net/lance.cdev->priv = lp;
priv609drivers/net/lance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv697drivers/net/lance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv713drivers/net/lance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv742drivers/net/lance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv756drivers/net/lance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv891drivers/net/lance.clp = (struct lance_private *)dev->priv;
priv1008drivers/net/lance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv1086drivers/net/lance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv1118drivers/net/lance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv158drivers/net/lance32.cdev->priv = lp;
priv288drivers/net/lance32.cstruct lance32_private *lp = (struct lance32_private *)dev->priv;
priv372drivers/net/lance32.cstruct lance32_private *lp = (struct lance32_private *)dev->priv;
priv388drivers/net/lance32.cstruct lance32_private *lp = (struct lance32_private *)dev->priv;
priv430drivers/net/lance32.cstruct lance32_private *lp = (struct lance32_private *)dev->priv;
priv550drivers/net/lance32.clp = (struct lance32_private *)dev->priv;
priv666drivers/net/lance32.cstruct lance32_private *lp = (struct lance32_private *)dev->priv;
priv744drivers/net/lance32.cstruct lance32_private *lp = (struct lance32_private *)dev->priv;
priv775drivers/net/lance32.cstruct lance32_private *lp = (struct lance32_private *)dev->priv;
priv58drivers/net/loopback.cstruct enet_statistics *stats = (struct enet_statistics *)dev->priv;
priv105drivers/net/loopback.creturn (struct enet_statistics *)dev->priv;
priv138drivers/net/loopback.cdev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL);
priv139drivers/net/loopback.cif (dev->priv == NULL)
priv141drivers/net/loopback.cmemset(dev->priv, 0, sizeof(struct enet_statistics));
priv715drivers/net/ne.cif (dev->priv != NULL) {
priv716drivers/net/ne.ckfree(dev->priv);
priv717drivers/net/ne.cdev->priv = NULL;
priv94drivers/net/net_init.cdev->priv = sizeof_priv
priv97drivers/net/net_init.cif (dev->priv) memset(dev->priv, 0, sizeof_priv);
priv107drivers/net/net_init.cdev->priv = (void *) (dev + 1);
priv150drivers/net/new_tunnel.cstats = (struct enet_statistics *)dev->priv;
priv323drivers/net/new_tunnel.creturn((struct enet_statistics*) dev->priv);
priv350drivers/net/new_tunnel.cdev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL);
priv351drivers/net/new_tunnel.cif (dev->priv == NULL)
priv353drivers/net/new_tunnel.cmemset(dev->priv, 0, sizeof(struct enet_statistics));
priv426drivers/net/new_tunnel.ckfree_s(dev_tunnel.priv,sizeof(struct enet_statistics));
priv427drivers/net/new_tunnel.cdev_tunnel.priv=NULL;
priv283drivers/net/ni52.cstruct priv pb;
priv284drivers/net/ni52.cstruct priv *p = /* (struct priv *) dev->priv*/ &pb;
priv325drivers/net/ni52.cstruct priv *p =  (struct priv *) dev->priv; 
priv473drivers/net/ni52.cdev->priv = (void *) kmalloc(sizeof(struct priv),GFP_KERNEL); 
priv474drivers/net/ni52.cif(dev->priv == NULL)
priv480drivers/net/ni52.cmemset((char *) dev->priv,0,sizeof(struct priv));
priv482drivers/net/ni52.c((struct priv *) (dev->priv))->memtop = (char *) dev->mem_start + size;
priv483drivers/net/ni52.c((struct priv *) (dev->priv))->base =  dev->mem_start + size - 0x01000000;
priv488drivers/net/ni52.c((struct priv *) dev->priv)->num_recv_buffs = NUM_RECV_BUFFS_8;
priv490drivers/net/ni52.c((struct priv *) dev->priv)->num_recv_buffs = NUM_RECV_BUFFS_16;
priv538drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv772drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv818drivers/net/ni52.cstruct priv *p;
priv824drivers/net/ni52.cp = (struct priv *) dev->priv;
priv897drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv1016drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv1040drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv1092drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv1112drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv1266drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv1339drivers/net/ni52.ckfree(dev_ni52.priv);
priv1340drivers/net/ni52.cdev_ni52.priv = NULL;
priv1351drivers/net/ni52.cstruct priv *p = (struct priv *) dev->priv;
priv224drivers/net/ni65.cstruct priv *p; 
priv287drivers/net/ni65.cptr = kmalloc(sizeof(struct priv)+8,GFP_KERNEL|GFP_DMA);
priv291drivers/net/ni65.cif( (unsigned long) ptr + sizeof(struct priv) > 0x1000000) {
priv295drivers/net/ni65.cp = dev->priv = (struct priv *) ptr;
priv296drivers/net/ni65.cmemset((char *) dev->priv,0,sizeof(struct priv));
priv355drivers/net/ni65.cstruct priv *p = (struct priv *) dev->priv;
priv477drivers/net/ni65.cstruct priv *p = (struct priv *) dev->priv;
priv496drivers/net/ni65.cstruct priv *p = (struct priv *) dev->priv;
priv532drivers/net/ni65.cstruct priv *p = (struct priv *) dev->priv;
priv591drivers/net/ni65.cstruct priv *p = (struct priv *) dev->priv;
priv678drivers/net/ni65.cstruct priv *p = (struct priv *) dev->priv;
priv751drivers/net/ni65.creturn &((struct priv *) dev->priv)->stats;
priv1093drivers/net/pi2.cstruct pi_local *lp = (struct pi_local *) dev->priv;
priv1249drivers/net/pi2.cpi0a.priv = kmalloc(sizeof(struct pi_local) + (DMA_BUFF_SIZE + sizeof(struct mbuf)) * 4, GFP_KERNEL | GFP_DMA);
priv1259drivers/net/pi2.cpi0b.priv = kmalloc(sizeof(struct pi_local) + (DMA_BUFF_SIZE + sizeof(struct mbuf)) * 4, GFP_KERNEL | GFP_DMA);
priv1313drivers/net/pi2.cdev->priv = (void *) (((int) dev->priv + 7) & ~7);
priv1314drivers/net/pi2.clp = (struct pi_local *) dev->priv;
priv1316drivers/net/pi2.cmemset(dev->priv, 0, sizeof(struct pi_local));
priv1319drivers/net/pi2.cmem_ptr = (unsigned long) dev->priv + sizeof(struct pi_local);
priv1459drivers/net/pi2.cstruct pi_local *lp = (struct pi_local *) dev->priv;
priv1495drivers/net/pi2.cstruct pi_local *lp = (struct pi_local *) dev->priv;
priv1530drivers/net/pi2.clp = (struct pi_local *) pi0a.priv;  /* Assume channel A */
priv1534drivers/net/pi2.clp = (struct pi_local *) pi0b.priv;
priv1538drivers/net/pi2.clp = (struct pi_local *) pi0a.priv;
priv1542drivers/net/pi2.clp = (struct pi_local *) pi0a.priv;
priv1546drivers/net/pi2.clp = (struct pi_local *) pi0a.priv;
priv1550drivers/net/pi2.clp = (struct pi_local *) pi0b.priv;
priv1554drivers/net/pi2.clp = (struct pi_local *) pi0b.priv;
priv1576drivers/net/pi2.clp = (struct pi_local *) dev->priv;
priv1599drivers/net/pi2.cstruct pi_local *lp = (struct pi_local *) dev->priv;
priv1679drivers/net/pi2.cstruct pi_local *lp = (struct pi_local *) dev->priv;
priv277drivers/net/plip.cdev->priv = kmalloc(sizeof (struct net_local), GFP_KERNEL);
priv278drivers/net/plip.cif (dev->priv == NULL) {
priv283drivers/net/plip.cmemset(dev->priv, 0, sizeof(struct net_local));
priv284drivers/net/plip.cnl = (struct net_local *) dev->priv;
priv313drivers/net/plip.cstruct net_local *nl = (struct net_local *)dev->priv;
priv357drivers/net/plip.cstruct net_local *nl = (struct net_local *)dev->priv;
priv808drivers/net/plip.cstruct net_local *nl = (struct net_local *)dev->priv;
priv862drivers/net/plip.cstruct net_local *nl = (struct net_local *)dev->priv;
priv884drivers/net/plip.cstruct net_local *nl = (struct net_local *)dev->priv;
priv937drivers/net/plip.cstruct net_local *nl = (struct net_local *)dev->priv;
priv981drivers/net/plip.cstruct net_local *nl = (struct net_local *)dev->priv;
priv1016drivers/net/plip.cstruct net_local *nl = (struct net_local *)dev->priv;
priv1040drivers/net/plip.cstruct net_local *nl = (struct net_local *) dev->priv;
priv1131drivers/net/plip.cif (dev_plip[i].priv) {
priv1134drivers/net/plip.ckfree_s(dev_plip[i].priv, sizeof(struct net_local));
priv1135drivers/net/plip.cdev_plip[i].priv = NULL;
priv216drivers/net/ppp.c#define dev2ppp(dev)  ((struct ppp *) (dev->priv))
priv3232drivers/net/ppp.cdev->priv      = (void *) ppp;
priv190drivers/net/pt.cif ((struct pt_local*)(&pt0b.priv) == lp)
priv364drivers/net/pt.cstruct pt_local *lp = (struct pt_local*) dev->priv;
priv487drivers/net/pt.cstruct pt_local *lp = (struct pt_local*) dev->priv;
priv489drivers/net/pt.cprintk("PTd chipset_init(): pt0a tstate = %d.\n", ((struct pt_local*)pt0a.priv)->tstate);
priv490drivers/net/pt.cprintk("PTd chipset_init(): pt0b tstate = %d.\n", ((struct pt_local*)pt0b.priv)->tstate);  
priv552drivers/net/pt.cpt0a.priv= kmalloc(sizeof(struct pt_local) + (DMA_BUFF_SIZE + sizeof(struct mbuf)) * 4, GFP_KERNEL | GFP_DMA);
priv561drivers/net/pt.cpt0b.priv= kmalloc(sizeof(struct pt_local) + (DMA_BUFF_SIZE + sizeof(struct mbuf)) * 4, GFP_KERNEL | GFP_DMA);
priv782drivers/net/pt.cdev->priv = (void *) (((int) dev->priv + 7) & ~7);
priv783drivers/net/pt.clp = (struct pt_local*) dev->priv;
priv785drivers/net/pt.cmemset(dev->priv, 0, sizeof(struct pt_local));
priv788drivers/net/pt.cmem_ptr = (unsigned long) dev->priv + sizeof(struct pt_local);
priv926drivers/net/pt.cstruct pt_local *lp = dev->priv;
priv974drivers/net/pt.cstruct pt_local *lp = (struct pt_local *) dev->priv;
priv998drivers/net/pt.cstruct pt_local *lp = dev->priv;
priv1033drivers/net/pt.cstruct pt_local *lp = (struct pt_local *) dev->priv;
priv1113drivers/net/pt.cstruct pt_local *lp = (struct pt_local *) dev->priv;
priv1266drivers/net/pt.cstruct pt_local *lp = (struct pt_local*) dev->priv;
priv1487drivers/net/pt.cstruct pt_local *lp = dev->priv;
priv1509drivers/net/pt.clp = (struct pt_local*)pt0a.priv;
priv1513drivers/net/pt.clp = (struct pt_local*)pt0a.priv;
priv1517drivers/net/pt.clp = (struct pt_local*)pt0a.priv;
priv1521drivers/net/pt.clp= (struct pt_local*)pt0b.priv;
priv1525drivers/net/pt.clp = (struct pt_local*)pt0b.priv;
priv1529drivers/net/pt.clp = (struct pt_local*)pt0b.priv;
priv1544drivers/net/pt.cpt_tmrisr( (struct pt_local*)pt0a.priv);
priv1552drivers/net/pt.cpt_tmrisr( (struct pt_local*)pt0b.priv);
priv173drivers/net/sdla.cflp = dev->priv;
priv200drivers/net/sdla.cflp = dev->priv;
priv418drivers/net/sdla.cflp = dev->priv;
priv496drivers/net/sdla.cflp = slave->priv;
priv518drivers/net/sdla.cflp = slave->priv;
priv543drivers/net/sdla.cflp = slave->priv;
priv576drivers/net/sdla.cflp = slave->priv;
priv606drivers/net/sdla.cflp = slave->priv;
priv615drivers/net/sdla.cdlp = master->priv;
priv645drivers/net/sdla.cflp = dev->priv;
priv748drivers/net/sdla.cflp = dev->priv;
priv854drivers/net/sdla.cdlp = master->priv;
priv875drivers/net/sdla.cflp = dev->priv;
priv925drivers/net/sdla.cflp = dev->priv;
priv941drivers/net/sdla.cflp = dev->priv;
priv1005drivers/net/sdla.cflp = dev->priv;
priv1082drivers/net/sdla.cdlp = flp->master[i]->priv;
priv1106drivers/net/sdla.cflp = dev->priv;
priv1247drivers/net/sdla.cflp = dev->priv;
priv1269drivers/net/sdla.cflp = dev->priv;
priv1335drivers/net/sdla.cflp = dev->priv;
priv1350drivers/net/sdla.cflp = dev->priv;
priv1621drivers/net/sdla.cflp = dev->priv;
priv1637drivers/net/sdla.cdev->priv = flp;
priv1699drivers/net/sdla.cif (sdla0.priv)
priv1700drivers/net/sdla.ckfree(sdla0.priv);
priv320drivers/net/seeq8005.cdev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL);
priv321drivers/net/seeq8005.cif (dev->priv == NULL)
priv323drivers/net/seeq8005.cmemset(dev->priv, 0, sizeof(struct net_local));
priv350drivers/net/seeq8005.cstruct net_local *lp = (struct net_local *)dev->priv;
priv437drivers/net/seeq8005.clp = (struct net_local *)dev->priv;
priv475drivers/net/seeq8005.cstruct net_local *lp = (struct net_local *)dev->priv;
priv573drivers/net/seeq8005.cstruct net_local *lp = (struct net_local *)dev->priv;
priv599drivers/net/seeq8005.cstruct net_local *lp = (struct net_local *)dev->priv;
priv635drivers/net/seeq8005.cstruct net_local *lp = (struct net_local *)dev->priv;
priv639drivers/net/sk_g16.cstruct priv *p;         /* SK_G16 private structure */
priv787drivers/net/sk_g16.cp = dev->priv = (void *) kmalloc(sizeof(struct priv), GFP_KERNEL);
priv790drivers/net/sk_g16.cmemset((char *) dev->priv, 0, sizeof(struct priv)); /* clear memory */
priv868drivers/net/sk_g16.cstruct priv *p = (struct priv *)dev->priv;
priv1028drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv; 
priv1193drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
priv1314drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
priv1389drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
priv1509drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
priv1694drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
priv2077drivers/net/sk_g16.cstruct priv *p = (struct priv *) dev->priv;
priv276drivers/net/skeleton.cif (dev->priv == NULL) {
priv277drivers/net/skeleton.cdev->priv = kmalloc(sizeof(struct net_local), GFP_KERNEL);
priv278drivers/net/skeleton.cif (dev->priv == NULL)
priv282drivers/net/skeleton.cmemset(dev->priv, 0, sizeof(struct net_local));
priv310drivers/net/skeleton.cstruct net_local *lp = (struct net_local *)dev->priv;
priv346drivers/net/skeleton.cstruct net_local *lp = (struct net_local *)dev->priv;
priv413drivers/net/skeleton.clp = (struct net_local *)dev->priv;
priv440drivers/net/skeleton.cstruct net_local *lp = (struct net_local *)dev->priv;
priv493drivers/net/skeleton.cstruct net_local *lp = (struct net_local *)dev->priv;
priv528drivers/net/skeleton.cstruct net_local *lp = (struct net_local *)dev->priv;
priv623drivers/net/skeleton.cif (this_device.priv)
priv624drivers/net/skeleton.ckfree_s(this_device.priv, sizeof(struct net_local));
priv151drivers/net/slip.cslp->dev.priv         = (void*)&(slp->ctrl);
priv167drivers/net/slip.cslp->dev.priv = (void*)&(slp->ctrl);
priv488drivers/net/slip.cstruct slip *sl = (struct slip*)(dev->priv);
priv543drivers/net/slip.cstruct slip *sl = (struct slip*)(dev->priv);
priv561drivers/net/slip.cstruct slip *sl = (struct slip*)(dev->priv);
priv576drivers/net/slip.cstruct slip *sl = (struct slip*)(dev->priv);
priv669drivers/net/slip.cstruct slip *sl = (struct slip*)(dev->priv);
priv822drivers/net/slip.cstruct slip *sl = (struct slip*)(dev->priv);
priv1187drivers/net/slip.cstruct slip *sl = (struct slip*)(dev->priv);
priv1264drivers/net/slip.cstruct slip *sl = (struct slip*)(dev->priv);
priv398drivers/net/smc-ultra.cif (dev->priv != NULL) {
priv401drivers/net/smc-ultra.ckfree(dev->priv);
priv402drivers/net/smc-ultra.cdev->priv = NULL;
priv549drivers/net/smc9194.cstruct smc_local *lp   = (struct smc_local *)dev->priv;
priv643drivers/net/smc9194.cstruct smc_local *lp = (struct smc_local *)dev->priv;
priv1092drivers/net/smc9194.cif (dev->priv == NULL) {
priv1093drivers/net/smc9194.cdev->priv = kmalloc(sizeof(struct smc_local), GFP_KERNEL);
priv1094drivers/net/smc9194.cif (dev->priv == NULL)
priv1098drivers/net/smc9194.cmemset(dev->priv, 0, sizeof(struct smc_local));
priv1176drivers/net/smc9194.cmemset(dev->priv, 0, sizeof(struct smc_local));
priv1242drivers/net/smc9194.c((struct smc_local *)dev->priv)->saved_skb = NULL;
priv1286drivers/net/smc9194.cstruct smc_local *lp   = (struct smc_local *)dev->priv;
priv1428drivers/net/smc9194.cstruct smc_local *lp = (struct smc_local *)dev->priv;
priv1568drivers/net/smc9194.cstruct smc_local *lp = (struct smc_local *)dev->priv;
priv1647drivers/net/smc9194.cstruct smc_local *lp = (struct smc_local *)dev->priv;
priv1774drivers/net/smc9194.cif (devSMC9194.priv)
priv1775drivers/net/smc9194.ckfree_s(devSMC9194.priv, sizeof(struct smc_local));
priv707drivers/net/strip.cstruct strip *strip_info = (struct strip *)(dev->priv);
priv1015drivers/net/strip.cstruct strip *strip_info = (struct strip *)(dev->priv);
priv1058drivers/net/strip.cstruct strip *strip_info = (struct strip *)(dev->priv);
priv1121drivers/net/strip.cstruct strip *strip_info = (struct strip *)(dev->priv);
priv1277drivers/net/strip.cstrip_info->dev.priv         = (void*)strip_info;
priv226drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *) dev->priv;
priv354drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *) dev->priv;
priv426drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *) dev->priv;
priv505drivers/net/sunlance.clp = (struct lance_private *) dev->priv;
priv551drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv594drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *) dev->priv;
priv614drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv645drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *)dev->priv;
priv737drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *) dev->priv;
priv745drivers/net/sunlance.cstruct lance_private *lp = (struct lance_private *) dev->priv;
priv772drivers/net/sunlance.cdev->priv = kmalloc (sizeof (struct lance_private), GFP_KERNEL);
priv773drivers/net/sunlance.cif (dev->priv == NULL)
priv799drivers/net/sunlance.cdev->priv = (void *)(((int)dev->priv + 7) & ~7);
priv800drivers/net/sunlance.clp = (struct lance_private *) dev->priv;
priv801drivers/net/sunlance.cmemset ((char *)dev->priv, 0, sizeof (struct lance_private));
priv617drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv637drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv657drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv677drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv746drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv773drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv871drivers/net/tulip.clp = (struct tulip_private *)dev->priv;
priv980drivers/net/tulip.cstruct tulip_private *lp = (struct tulip_private *)dev->priv;
priv1040drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv1066drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv1078drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv1106drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv1142drivers/net/tulip.cif (!dev || dev->priv) {
priv1158drivers/net/tulip.cdev->priv = (void *)tp;
priv1169drivers/net/tulip.cdev->priv = (void *)tp;
priv1181drivers/net/tulip.cstruct tulip_private *tp = (struct tulip_private *)dev->priv;
priv196drivers/net/wavelan.clp = (net_local *)dev->priv;
priv215drivers/net/wavelan.clp = (net_local *)dev->priv;
priv387drivers/net/wavelan.clp = (net_local *)dev->priv;
priv464drivers/net/wavelan.clp = (net_local *)dev->priv;
priv504drivers/net/wavelan.clp = (net_local *)dev->priv;
priv551drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1012drivers/net/wavelan.cdev->priv = kmalloc(sizeof(net_local), GFP_KERNEL);
priv1013drivers/net/wavelan.cif (dev->priv == NULL)
priv1015drivers/net/wavelan.cmemset(dev->priv, 0x00, sizeof(net_local));
priv1016drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1082drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1147drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1227drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1295drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1488drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1826drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1875drivers/net/wavelan.clp = (net_local *)dev->priv;
priv1973drivers/net/wavelan.clp = (net_local *)dev->priv;
priv2013drivers/net/wavelan.clp = (net_local *)dev->priv;
priv2028drivers/net/wavelan.clp = (net_local *)dev->priv;
priv2075drivers/net/wavelan.clp = (net_local *)dev->priv;
priv2197drivers/net/wavelan.ckfree_s(dev_wavelan.priv, sizeof(struct net_local));
priv2198drivers/net/wavelan.cdev_wavelan.priv = NULL;
priv2419drivers/net/wavelan.clp = (net_local *)dev->priv;
priv2436drivers/net/wavelan.clp = (net_local *)dev->priv;
priv2470drivers/net/wavelan.clp = (net_local *)dev->priv;
priv492drivers/net/wd.cif (dev->priv != NULL) {
priv494drivers/net/wd.ckfree(dev->priv);
priv495drivers/net/wd.cdev->priv = NULL;
priv238drivers/net/wic.cdev->priv = kmalloc(sizeof (struct net_local), GFP_KERNEL);
priv239drivers/net/wic.cif (dev->priv == NULL)
priv241drivers/net/wic.cmemset(dev->priv, 0, sizeof(struct net_local));
priv242drivers/net/wic.cnl = (struct net_local *) dev->priv;
priv271drivers/net/wic.cstruct net_local *nl = (struct net_local *)dev->priv;
priv363drivers/net/wic.cstruct net_local *nl = (struct net_local *)dev->priv;
priv869drivers/net/wic.cstruct net_local *nl = (struct net_local *)dev->priv;
priv922drivers/net/wic.cstruct net_local *nl = (struct net_local *)dev->priv;
priv944drivers/net/wic.cstruct net_local *nl = (struct net_local *)dev->priv;
priv999drivers/net/wic.cstruct net_local *nl = (struct net_local *)dev->priv;
priv1036drivers/net/wic.cstruct net_local *nl = (struct net_local *)dev->priv;
priv1070drivers/net/wic.cstruct net_local *nl = (struct net_local *)dev->priv;
priv1433drivers/net/wic.cif (dev_wic0.priv) {
priv1436drivers/net/wic.ckfree_s(dev_wic0.priv, sizeof(struct net_local));
priv1437drivers/net/wic.cdev_wic0.priv = NULL;
priv1439drivers/net/wic.cif (dev_wic1.priv) {
priv1442drivers/net/wic.ckfree_s(dev_wic1.priv, sizeof(struct net_local));
priv1443drivers/net/wic.cdev_wic1.priv = NULL;
priv1445drivers/net/wic.cif (dev_wic2.priv) {
priv1448drivers/net/wic.ckfree_s(dev_wic2.priv, sizeof(struct net_local));
priv1449drivers/net/wic.cdev_wic2.priv = NULL;
priv244drivers/net/znet.cdev->priv = (void *) &zn;
priv437drivers/net/znet.cstruct net_local *lp = (struct net_local *)dev->priv;
priv472drivers/net/znet.cstruct net_local *lp = (struct net_local *)dev->priv;
priv621drivers/net/znet.cstruct net_local *lp = (struct net_local *)dev->priv;
priv53include/linux/kernel.hextern int kill_proc(int pid, int sig, int priv);
priv54include/linux/kernel.hextern int kill_pg(int pgrp, int sig, int priv);
priv55include/linux/kernel.hextern int kill_sl(int sess, int sig, int priv);
priv137include/linux/netdevice.hvoid        *priv;  /* pointer to private data  */
priv349include/linux/sched.hextern int send_sig(unsigned long sig,struct task_struct * p,int priv);
priv319include/linux/tty.hextern void disassociate_ctty(int priv);
priv72kernel/exit.cint send_sig(unsigned long sig,struct task_struct * p,int priv)
priv76kernel/exit.cif (!priv && ((sig != SIGCONT) || (current->session != p->session)) &&
priv257kernel/exit.cint kill_pg(int pgrp, int sig, int priv)
priv267kernel/exit.cif ((err = send_sig(sig,p,priv)) != 0)
priv281kernel/exit.cint kill_sl(int sess, int sig, int priv)
priv291kernel/exit.cif ((err = send_sig(sig,p,priv)) != 0)
priv300kernel/exit.cint kill_proc(int pid, int sig, int priv)
priv308kernel/exit.creturn send_sig(sig,p,priv);
priv58net/netrom/nr_dev.cstruct enet_statistics *stats = (struct enet_statistics *)dev->priv;
priv112net/netrom/nr_dev.cstruct enet_statistics *stats = (struct enet_statistics *)dev->priv;
priv178net/netrom/nr_dev.cstruct enet_statistics *stats = (struct enet_statistics *)dev->priv;
priv213net/netrom/nr_dev.creturn (struct enet_statistics *)dev->priv;
priv242net/netrom/nr_dev.cdev->priv = kmalloc(sizeof(struct enet_statistics), GFP_KERNEL);
priv243net/netrom/nr_dev.cif (dev->priv == NULL)
priv246net/netrom/nr_dev.cmemset(dev->priv, 0, sizeof(struct enet_statistics));