/drivers/net/ethernet/dec/tulip/ |
D | interrupt.c | 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() [all …]
|
D | tulip_core.c | 629 tp->rx_buffers[i].skb = NULL; in tulip_init_ring() 630 tp->rx_buffers[i].mapping = 0; in tulip_init_ring() 643 tp->rx_buffers[i].skb = skb; in tulip_init_ring() 648 tp->rx_buffers[i].mapping = mapping; in tulip_init_ring() 802 struct sk_buff *skb = tp->rx_buffers[i].skb; in tulip_free_ring() 803 dma_addr_t mapping = tp->rx_buffers[i].mapping; in tulip_free_ring() 805 tp->rx_buffers[i].skb = NULL; in tulip_free_ring() 806 tp->rx_buffers[i].mapping = 0; in tulip_free_ring()
|
D | tulip.h | 411 struct ring_info rx_buffers[RX_RING_SIZE]; member
|
/drivers/net/ethernet/micrel/ |
D | ks8695net.c | 184 struct ks8695_skbuff rx_buffers[MAX_RX_DESC]; member 279 if (!ksp->rx_buffers[buff_n].skb) { in ks8695_refill_rxbuffers() 284 ksp->rx_buffers[buff_n].skb = skb; in ks8695_refill_rxbuffers() 298 ksp->rx_buffers[buff_n].skb = NULL; in ks8695_refill_rxbuffers() 301 ksp->rx_buffers[buff_n].dma_ptr = mapping; in ks8695_refill_rxbuffers() 302 ksp->rx_buffers[buff_n].length = MAX_RXBUF_SIZE; in ks8695_refill_rxbuffers() 469 && ksp->rx_buffers[buff_n].skb in ks8695_rx() 507 skb = ksp->rx_buffers[buff_n].skb; in ks8695_rx() 510 ksp->rx_buffers[buff_n].skb = NULL; in ks8695_rx() 515 ksp->rx_buffers[buff_n].dma_ptr, in ks8695_rx() [all …]
|
/drivers/net/wireless/ |
D | adm8211.c | 391 priv->rx_buffers[entry].mapping, in adm8211_interrupt_rci() 394 skb_tail_pointer(priv->rx_buffers[entry].skb), in adm8211_interrupt_rci() 398 priv->rx_buffers[entry].mapping, in adm8211_interrupt_rci() 404 skb = priv->rx_buffers[entry].skb; in adm8211_interrupt_rci() 408 priv->rx_buffers[entry].mapping, in adm8211_interrupt_rci() 410 priv->rx_buffers[entry].skb = newskb; in adm8211_interrupt_rci() 411 priv->rx_buffers[entry].mapping = in adm8211_interrupt_rci() 422 cpu_to_le32(priv->rx_buffers[entry].mapping); in adm8211_interrupt_rci() 1437 priv->rx_buffers[i].skb = NULL; in adm8211_init_rings() 1445 rx_info = &priv->rx_buffers[i]; in adm8211_init_rings() [all …]
|
D | adm8211.h | 544 struct adm8211_rx_ring_info *rx_buffers; member
|
/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 64 struct smsc9420_ring_info *rx_buffers; member 583 if (!pd->rx_buffers) in smsc9420_free_rx_ring() 587 if (pd->rx_buffers[i].skb) in smsc9420_free_rx_ring() 588 dev_kfree_skb_any(pd->rx_buffers[i].skb); in smsc9420_free_rx_ring() 590 if (pd->rx_buffers[i].mapping) in smsc9420_free_rx_ring() 591 pci_unmap_single(pd->pdev, pd->rx_buffers[i].mapping, in smsc9420_free_rx_ring() 601 kfree(pd->rx_buffers); in smsc9420_free_rx_ring() 602 pd->rx_buffers = NULL; in smsc9420_free_rx_ring() 811 pci_unmap_single(pd->pdev, pd->rx_buffers[index].mapping, in smsc9420_rx_handoff() 813 pd->rx_buffers[index].mapping = 0; in smsc9420_rx_handoff() [all …]
|
/drivers/usb/gadget/legacy/ |
D | printer.c | 71 struct list_head rx_buffers; /* List of completed xfers */ member 299 list_add_tail(&req->list, &dev->rx_buffers); in rx_complete() 491 (likely(list_empty(&dev->rx_buffers)))) { in printer_read() 506 (likely(!list_empty(&dev->rx_buffers)))); in printer_read() 511 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read() 514 req = container_of(dev->rx_buffers.next, in printer_read() 736 likely(!list_empty(&dev->rx_buffers))) in printer_poll() 885 while (likely(!(list_empty(&dev->rx_buffers)))) { in printer_soft_reset() 886 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset() 893 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset() [all …]
|
/drivers/net/ethernet/cadence/ |
D | at91_ether.c | 55 lp->rx_buffers = dma_alloc_coherent(&lp->pdev->dev, in at91ether_start() 58 if (!lp->rx_buffers) { in at91ether_start() 151 lp->rx_buffers, lp->rx_buffers_dma); in at91ether_close() 152 lp->rx_buffers = NULL; in at91ether_close() 195 p_recv = lp->rx_buffers + lp->rx_tail * MAX_RBUFF_SZ; in at91ether_rx()
|
D | macb.c | 100 return bp->rx_buffers + bp->rx_buffer_size * macb_rx_ring_wrap(index); in macb_rx_buffer() 1297 if (bp->rx_buffers) { in macb_free_rx_buffers() 1300 bp->rx_buffers, bp->rx_buffers_dma); in macb_free_rx_buffers() 1301 bp->rx_buffers = NULL; in macb_free_rx_buffers() 1344 bp->rx_buffers = dma_alloc_coherent(&bp->pdev->dev, size, in macb_alloc_rx_buffers() 1346 if (!bp->rx_buffers) in macb_alloc_rx_buffers() 1351 size, (unsigned long)bp->rx_buffers_dma, bp->rx_buffers); in macb_alloc_rx_buffers()
|
D | macb.h | 607 void *rx_buffers; member
|
/drivers/net/ethernet/broadcom/ |
D | b44.c | 670 src_map = &bp->rx_buffers[src_idx]; in b44_alloc_rx_skb() 672 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb() 743 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx() 745 src_map = &bp->rx_buffers[src_idx]; in b44_recycle_rx() 790 struct ring_info *rp = &bp->rx_buffers[cons]; in b44_rx() 1103 rp = &bp->rx_buffers[i]; in b44_free_rings() 1161 kfree(bp->rx_buffers); in b44_free_consistent() 1162 bp->rx_buffers = NULL; in b44_free_consistent() 1198 bp->rx_buffers = kzalloc(size, gfp); in b44_alloc_consistent() 1199 if (!bp->rx_buffers) in b44_alloc_consistent()
|
D | b44.h | 363 struct ring_info *rx_buffers; member
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 2466 struct ipw2100_rx_packet *packet = &priv->rx_buffers[i]; in isr_rx() 2540 struct ipw2100_rx_packet *packet = &priv->rx_buffers[i]; in isr_rx_monitor() 2620 struct ipw2100_rx *u = priv->rx_buffers[i].rxp; in ipw2100_corruption_check() 2699 packet = &priv->rx_buffers[i]; in __ipw2100_rx_process() 4586 priv->rx_buffers = kmalloc(RX_QUEUE_LENGTH * in ipw2100_rx_allocate() 4589 if (!priv->rx_buffers) { in ipw2100_rx_allocate() 4600 struct ipw2100_rx_packet *packet = &priv->rx_buffers[i]; in ipw2100_rx_allocate() 4618 pci_unmap_single(priv->pci_dev, priv->rx_buffers[j].dma_addr, in ipw2100_rx_allocate() 4621 dev_kfree_skb(priv->rx_buffers[j].skb); in ipw2100_rx_allocate() 4624 kfree(priv->rx_buffers); in ipw2100_rx_allocate() [all …]
|
D | ipw2100.h | 545 struct ipw2100_rx_packet *rx_buffers; member
|
/drivers/staging/vt6656/ |
D | main_usb.c | 65 module_param_named(rx_buffers, vnt_rx_buffers, int, 0644); 66 MODULE_PARM_DESC(rx_buffers, "Number of receive usb rx buffers");
|