Lines Matching refs:rx_buffers
68 if (tp->rx_buffers[entry].skb == NULL) { in tulip_refill_rx()
72 skb = tp->rx_buffers[entry].skb = in tulip_refill_rx()
81 tp->rx_buffers[entry].skb = NULL; in tulip_refill_rx()
85 tp->rx_buffers[entry].mapping = mapping; in tulip_refill_rx()
214 tp->rx_buffers[entry].mapping, in tulip_poll()
217 skb_copy_to_linear_data(skb, tp->rx_buffers[entry].skb->data, in tulip_poll()
222 tp->rx_buffers[entry].skb->data, in tulip_poll()
226 tp->rx_buffers[entry].mapping, in tulip_poll()
229 char *temp = skb_put(skb = tp->rx_buffers[entry].skb, in tulip_poll()
233 if (tp->rx_buffers[entry].mapping != in tulip_poll()
238 (unsigned long long)tp->rx_buffers[entry].mapping, in tulip_poll()
243 pci_unmap_single(tp->pdev, tp->rx_buffers[entry].mapping, in tulip_poll()
246 tp->rx_buffers[entry].skb = NULL; in tulip_poll()
247 tp->rx_buffers[entry].mapping = 0; in tulip_poll()
317 if (tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) in tulip_poll()
340 tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) in tulip_poll()
343 if (tp->rx_buffers[tp->dirty_rx % RX_RING_SIZE].skb == NULL) in tulip_poll()
440 tp->rx_buffers[entry].mapping, in tulip_rx()
443 skb_copy_to_linear_data(skb, tp->rx_buffers[entry].skb->data, in tulip_rx()
448 tp->rx_buffers[entry].skb->data, in tulip_rx()
452 tp->rx_buffers[entry].mapping, in tulip_rx()
455 char *temp = skb_put(skb = tp->rx_buffers[entry].skb, in tulip_rx()
459 if (tp->rx_buffers[entry].mapping != in tulip_rx()
464 (long long)tp->rx_buffers[entry].mapping, in tulip_rx()
469 pci_unmap_single(tp->pdev, tp->rx_buffers[entry].mapping, in tulip_rx()
472 tp->rx_buffers[entry].skb = NULL; in tulip_rx()
473 tp->rx_buffers[entry].mapping = 0; in tulip_rx()
781 if (tp->rx_buffers[entry].skb == NULL) {