Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dmace.c55 struct sk_buff *rx_bufs[N_RX_RING]; member
485 mp->rx_bufs[i] = skb; in mace_open()
492 mp->rx_bufs[i] = 0; in mace_open()
535 if (mp->rx_bufs[i] != 0) { in mace_clean_rings()
536 dev_kfree_skb(mp->rx_bufs[i]); in mace_clean_rings()
537 mp->rx_bufs[i] = 0; in mace_clean_rings()
965 skb = mp->rx_bufs[i]; in mace_rxdma_intr()
994 mp->rx_bufs[i] = 0; in mace_rxdma_intr()
1016 skb = mp->rx_bufs[i]; in mace_rxdma_intr()
1021 mp->rx_bufs[i] = skb; in mace_rxdma_intr()
Dbmac.c72 struct sk_buff *rx_bufs[N_RX_RING]; member
516 if (bp->rx_bufs[i] != NULL) { in bmac_sleep_notify()
517 dev_kfree_skb(bp->rx_bufs[i]); in bmac_sleep_notify()
518 bp->rx_bufs[i] = NULL; in bmac_sleep_notify()
652 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_init_rx_ring()
653 bp->rx_bufs[i] = skb = dev_alloc_skb(RX_BUFLEN+2); in bmac_init_rx_ring()
743 skb = bp->rx_bufs[i]; in bmac_rxdma_intr()
744 bp->rx_bufs[i] = NULL; in bmac_rxdma_intr()
759 if ((skb = bp->rx_bufs[i]) == NULL) { in bmac_rxdma_intr()
760 bp->rx_bufs[i] = skb = dev_alloc_skb(RX_BUFLEN+2); in bmac_rxdma_intr()
[all …]
Dde4x5.c861 char *rx_bufs; /* rx bufs on alpha, sparc, ... */ member
1283 lp->rx_bufs = (char *)(((long)(lp->rx_ring + NUM_RX_DESC in de4x5_hw_init()
3670 memcpy(skb_put(p,tlen),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,tlen); in de4x5_alloc_rx_buff()
3671 memcpy(skb_put(p,len-tlen),lp->rx_bufs,len-tlen); in de4x5_alloc_rx_buff()
3673 memcpy(skb_put(p,len),lp->rx_bufs + lp->rx_old * RX_BUFF_SZ,len); in de4x5_alloc_rx_buff()
/linux-2.4.37.9/drivers/net/irda/
Ddonauboe.c554 self->ring->rx[i].address = virt_to_bus (self->rx_bufs[i]); in toshoboe_initring()
1284 dumpbufs(self->rx_bufs[self->rxs],len,'<'); in toshoboe_interrupt()
1295 if (!toshoboe_checkfcs (self->rx_bufs[self->rxs], len)) in toshoboe_interrupt()
1334 memcpy (skb->data, self->rx_bufs[self->rxs], len); in toshoboe_interrupt()
1578 kfree (self->rx_bufs[i]); in toshoboe_close()
1579 self->rx_bufs[i] = NULL; in toshoboe_close()
1708 self->rx_bufs[i] = kmalloc (RX_BUF_SZ, GFP_KERNEL); in toshoboe_open()
1709 if (!self->rx_bufs[i]) in toshoboe_open()
1766 if (self->rx_bufs[i]) in toshoboe_open()
1767 kfree (self->rx_bufs[i]); in toshoboe_open()
Ddonauboe.h341 void *rx_bufs[OBOE_RING_MAX_SIZE]; member