Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/tulip/
Dinterrupt.c73 if (tp->rx_buffers[entry].skb == NULL) { in tulip_refill_rx()
77 skb = tp->rx_buffers[entry].skb = dev_alloc_skb(PKT_BUF_SZ); in tulip_refill_rx()
83 tp->rx_buffers[entry].mapping = mapping; in tulip_refill_rx()
190 tp->rx_buffers[entry].mapping, in tulip_rx()
193 eth_copy_and_sum(skb, tp->rx_buffers[entry].skb->tail, in tulip_rx()
198 tp->rx_buffers[entry].skb->tail, in tulip_rx()
202 char *temp = skb_put(skb = tp->rx_buffers[entry].skb, in tulip_rx()
206 if (tp->rx_buffers[entry].mapping != in tulip_rx()
212 tp->rx_buffers[entry].mapping, in tulip_rx()
217 pci_unmap_single(tp->pdev, tp->rx_buffers[entry].mapping, in tulip_rx()
[all …]
Dtulip_core.c679 tp->rx_buffers[i].skb = NULL; in tulip_init_ring()
680 tp->rx_buffers[i].mapping = 0; in tulip_init_ring()
693 tp->rx_buffers[i].skb = skb; in tulip_init_ring()
698 tp->rx_buffers[i].mapping = mapping; in tulip_init_ring()
870 struct sk_buff *skb = tp->rx_buffers[i].skb; in tulip_close()
871 dma_addr_t mapping = tp->rx_buffers[i].mapping; in tulip_close()
873 tp->rx_buffers[i].skb = NULL; in tulip_close()
874 tp->rx_buffers[i].mapping = 0; in tulip_close()
Dtulip.h381 struct ring_info rx_buffers[RX_RING_SIZE]; member
/linux-2.4.37.9/drivers/net/
Db44.c611 src_map = &bp->rx_buffers[src_idx]; in b44_alloc_rx_skb()
613 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb()
656 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx()
658 src_map = &bp->rx_buffers[src_idx]; in b44_recycle_rx()
689 struct ring_info *rp = &bp->rx_buffers[cons]; in b44_rx()
969 rp = &bp->rx_buffers[i]; in b44_free_rings()
1024 if (bp->rx_buffers) { in b44_free_consistent()
1025 kfree(bp->rx_buffers); in b44_free_consistent()
1026 bp->rx_buffers = NULL; in b44_free_consistent()
1053 bp->rx_buffers = kmalloc(size, GFP_KERNEL); in b44_alloc_consistent()
[all …]
Db44.h500 struct ring_info *rx_buffers; member
/linux-2.4.37.9/Documentation/networking/
DNAPI_HOWTO.txt526 if (tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL)
551 tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL)
589 tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL)
597 if (tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL)