Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
Dbmac.c72 struct sk_buff *rx_bufs[N_RX_RING]; member
489 if (bp->rx_bufs[i] != NULL) { in bmac_suspend()
490 dev_kfree_skb(bp->rx_bufs[i]); in bmac_suspend()
491 bp->rx_bufs[i] = NULL; in bmac_suspend()
619 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_init_rx_ring()
620 bp->rx_bufs[i] = skb = dev_alloc_skb(RX_BUFLEN+2); in bmac_init_rx_ring()
710 skb = bp->rx_bufs[i]; in bmac_rxdma_intr()
711 bp->rx_bufs[i] = NULL; in bmac_rxdma_intr()
723 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_rxdma_intr()
724 bp->rx_bufs[i] = skb = dev_alloc_skb(RX_BUFLEN+2); in bmac_rxdma_intr()
[all …]
Dmace.c51 struct sk_buff *rx_bufs[N_RX_RING]; member
418 if (mp->rx_bufs[i] != NULL) { in mace_clean_rings()
419 dev_kfree_skb(mp->rx_bufs[i]); in mace_clean_rings()
420 mp->rx_bufs[i] = NULL; in mace_clean_rings()
456 mp->rx_bufs[i] = skb; in mace_open()
463 mp->rx_bufs[i] = NULL; in mace_open()
910 skb = mp->rx_bufs[i]; in mace_rxdma_intr()
937 mp->rx_bufs[i] = NULL; in mace_rxdma_intr()
959 skb = mp->rx_bufs[i]; in mace_rxdma_intr()
964 mp->rx_bufs[i] = skb; in mace_rxdma_intr()
Dgreth.h108 unsigned char *rx_bufs[GRETH_RXBD_NUM]; member
Dgreth.c213 kfree(greth->rx_bufs[i]); in greth_clean_rings()
270 greth->rx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL); in greth_init_rings()
272 if (greth->rx_bufs[i] == NULL) { in greth_init_rings()
279 greth->rx_bufs[i], in greth_init_rings()
/linux-2.6.39/drivers/net/irda/
Ddonauboe.c508 self->ring->rx[i].address = virt_to_bus (self->rx_bufs[i]); in toshoboe_initring()
1229 dumpbufs(self->rx_bufs[self->rxs],len,'<'); in toshoboe_interrupt()
1240 if (!toshoboe_checkfcs (self->rx_bufs[self->rxs], len)) in toshoboe_interrupt()
1279 skb_copy_to_linear_data(skb, self->rx_bufs[self->rxs], in toshoboe_interrupt()
1512 kfree (self->rx_bufs[i]); in toshoboe_close()
1513 self->rx_bufs[i] = NULL; in toshoboe_close()
1642 self->rx_bufs[i] = kmalloc (RX_BUF_SZ, GFP_KERNEL); in toshoboe_open()
1643 if (!self->rx_bufs[i]) in toshoboe_open()
1686 kfree (self->rx_bufs[i]); in toshoboe_open()
Ddonauboe.h340 void *rx_bufs[OBOE_RING_MAX_SIZE]; member
/linux-2.6.39/drivers/net/tulip/
Dde4x5.c859 char *rx_bufs; /* rx bufs on alpha, sparc, ... */ member
1204 lp->rx_bufs = (char *)(((long)(lp->rx_ring + NUM_RX_DESC in de4x5_hw_init()
3636 memcpy(skb_put(p,tlen),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,tlen); in de4x5_alloc_rx_buff()
3637 memcpy(skb_put(p,len-tlen),lp->rx_bufs,len-tlen); in de4x5_alloc_rx_buff()
3639 memcpy(skb_put(p,len),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,len); in de4x5_alloc_rx_buff()