/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() 218 skb_copy_to_linear_data(skb, tp->rx_buffers[entry].skb->data, in tulip_poll() 223 tp->rx_buffers[entry].skb->data, in tulip_poll() 227 tp->rx_buffers[entry].mapping, in tulip_poll() 231 char *temp = skb_put(skb = tp->rx_buffers[entry].skb, in tulip_poll() 235 if (tp->rx_buffers[entry].mapping != in tulip_poll() [all …]
|
D | tulip_core.c | 616 tp->rx_buffers[i].skb = NULL; in tulip_init_ring() 617 tp->rx_buffers[i].mapping = 0; in tulip_init_ring() 630 tp->rx_buffers[i].skb = skb; in tulip_init_ring() 635 tp->rx_buffers[i].mapping = mapping; in tulip_init_ring() 788 struct sk_buff *skb = tp->rx_buffers[i].skb; in tulip_free_ring() 789 dma_addr_t mapping = tp->rx_buffers[i].mapping; in tulip_free_ring() 791 tp->rx_buffers[i].skb = NULL; in tulip_free_ring() 792 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/wireless/admtek/ |
D | adm8211.c | 385 priv->rx_buffers[entry].mapping, in adm8211_interrupt_rci() 389 skb_tail_pointer(priv->rx_buffers[entry].skb), in adm8211_interrupt_rci() 392 priv->rx_buffers[entry].mapping, in adm8211_interrupt_rci() 399 skb = priv->rx_buffers[entry].skb; in adm8211_interrupt_rci() 402 priv->rx_buffers[entry].mapping, in adm8211_interrupt_rci() 404 priv->rx_buffers[entry].skb = newskb; in adm8211_interrupt_rci() 405 priv->rx_buffers[entry].mapping = in adm8211_interrupt_rci() 411 priv->rx_buffers[entry].mapping)) { in adm8211_interrupt_rci() 412 priv->rx_buffers[entry].skb = NULL; in adm8211_interrupt_rci() 423 cpu_to_le32(priv->rx_buffers[entry].mapping); in adm8211_interrupt_rci() [all …]
|
D | adm8211.h | 545 struct adm8211_rx_ring_info *rx_buffers; member
|
/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 52 struct smsc9420_ring_info *rx_buffers; member 528 if (!pd->rx_buffers) in smsc9420_free_rx_ring() 532 if (pd->rx_buffers[i].skb) in smsc9420_free_rx_ring() 533 dev_kfree_skb_any(pd->rx_buffers[i].skb); in smsc9420_free_rx_ring() 535 if (pd->rx_buffers[i].mapping) in smsc9420_free_rx_ring() 537 pd->rx_buffers[i].mapping, in smsc9420_free_rx_ring() 547 kfree(pd->rx_buffers); in smsc9420_free_rx_ring() 548 pd->rx_buffers = NULL; in smsc9420_free_rx_ring() 756 dma_unmap_single(&pd->pdev->dev, pd->rx_buffers[index].mapping, in smsc9420_rx_handoff() 758 pd->rx_buffers[index].mapping = 0; in smsc9420_rx_handoff() [all …]
|
/drivers/usb/gadget/function/ |
D | f_printer.c | 73 struct list_head rx_buffers; /* List of completed xfers */ member 276 list_add_tail(&req->list, &dev->rx_buffers); in rx_complete() 478 (likely(list_empty(&dev->rx_buffers)))) { in printer_read() 493 (likely(!list_empty(&dev->rx_buffers)))); in printer_read() 498 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read() 501 req = container_of(dev->rx_buffers.next, in printer_read() 746 likely(!list_empty(&dev->rx_buffers))) in printer_poll() 905 while (likely(!(list_empty(&dev->rx_buffers)))) { in printer_soft_reset() 906 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset() 913 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset() [all …]
|
/drivers/net/ethernet/broadcom/ |
D | b44.c | 666 src_map = &bp->rx_buffers[src_idx]; in b44_alloc_rx_skb() 668 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb() 739 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx() 741 src_map = &bp->rx_buffers[src_idx]; in b44_recycle_rx() 786 struct ring_info *rp = &bp->rx_buffers[cons]; in b44_rx() 1096 rp = &bp->rx_buffers[i]; in b44_free_rings() 1154 kfree(bp->rx_buffers); in b44_free_consistent() 1155 bp->rx_buffers = NULL; in b44_free_consistent() 1191 bp->rx_buffers = kzalloc(size, gfp); in b44_alloc_consistent() 1192 if (!bp->rx_buffers) in b44_alloc_consistent()
|
D | b44.h | 368 struct ring_info *rx_buffers; member
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 227 return queue->rx_buffers + queue->bp->rx_buffer_size * in macb_rx_buffer() 2404 if (queue->rx_buffers) { in macb_free_rx_buffers() 2407 queue->rx_buffers, queue->rx_buffers_dma); in macb_free_rx_buffers() 2408 queue->rx_buffers = NULL; in macb_free_rx_buffers() 2463 queue->rx_buffers = dma_alloc_coherent(&bp->pdev->dev, size, in macb_alloc_rx_buffers() 2465 if (!queue->rx_buffers) in macb_alloc_rx_buffers() 2470 size, (unsigned long)queue->rx_buffers_dma, queue->rx_buffers); in macb_alloc_rx_buffers() 4149 q->rx_buffers = dma_alloc_coherent(&lp->pdev->dev, in at91ether_alloc_coherent() 4153 if (!q->rx_buffers) { in at91ether_alloc_coherent() 4177 if (q->rx_buffers) { in at91ether_free_coherent() [all …]
|
D | macb.h | 1228 void *rx_buffers; member
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 2455 struct ipw2100_rx_packet *packet = &priv->rx_buffers[i]; in isr_rx() 2528 struct ipw2100_rx_packet *packet = &priv->rx_buffers[i]; in isr_rx_monitor() 2608 struct ipw2100_rx *u = priv->rx_buffers[i].rxp; in ipw2100_corruption_check() 2687 packet = &priv->rx_buffers[i]; in __ipw2100_rx_process() 4574 priv->rx_buffers = kmalloc_array(RX_QUEUE_LENGTH, in ipw2100_rx_allocate() 4577 if (!priv->rx_buffers) { in ipw2100_rx_allocate() 4588 struct ipw2100_rx_packet *packet = &priv->rx_buffers[i]; in ipw2100_rx_allocate() 4607 priv->rx_buffers[j].dma_addr, in ipw2100_rx_allocate() 4610 dev_kfree_skb(priv->rx_buffers[j].skb); in ipw2100_rx_allocate() 4613 kfree(priv->rx_buffers); in ipw2100_rx_allocate() [all …]
|
D | ipw2100.h | 531 struct ipw2100_rx_packet *rx_buffers; member
|
/drivers/staging/vt6656/ |
D | main_usb.c | 50 module_param_named(rx_buffers, vnt_rx_buffers, int, 0644); 51 MODULE_PARM_DESC(rx_buffers, "Number of receive usb rx buffers");
|