Home
last modified time | relevance | path

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

/drivers/net/ethernet/dec/tulip/
A Dinterrupt.c68 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()
227 tp->rx_buffers[entry].mapping, in tulip_poll()
246 tp->rx_buffers[entry].mapping, in tulip_poll()
444 tp->rx_buffers[entry].mapping, in tulip_rx()
476 tp->rx_buffers[entry].mapping, in tulip_rx()
479 tp->rx_buffers[entry].skb = NULL; in tulip_rx()
[all …]
A Dtulip_core.c616 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()
A Dtulip.h411 struct ring_info rx_buffers[RX_RING_SIZE]; member
/drivers/net/wireless/admtek/
A Dadm8211.c399 skb = priv->rx_buffers[entry].skb; in adm8211_interrupt_rci()
405 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()
1488 if (!priv->rx_buffers[i].skb) in adm8211_free_rings()
1733 priv->rx_buffers = kmalloc(sizeof(*priv->rx_buffers) * priv->rx_ring_size + in adm8211_alloc_rings()
1735 if (!priv->rx_buffers) in adm8211_alloc_rings()
1748 kfree(priv->rx_buffers); in adm8211_alloc_rings()
1749 priv->rx_buffers = NULL; in adm8211_alloc_rings()
1939 kfree(priv->rx_buffers); in adm8211_probe()
[all …]
A Dadm8211.h545 struct adm8211_rx_ring_info *rx_buffers; member
/drivers/net/ethernet/smsc/
A Dsmsc9420.c529 if (!pd->rx_buffers) in smsc9420_free_rx_ring()
533 if (pd->rx_buffers[i].skb) in smsc9420_free_rx_ring()
536 if (pd->rx_buffers[i].mapping) in smsc9420_free_rx_ring()
538 pd->rx_buffers[i].mapping, in smsc9420_free_rx_ring()
548 kfree(pd->rx_buffers); in smsc9420_free_rx_ring()
549 pd->rx_buffers = NULL; in smsc9420_free_rx_ring()
761 skb = pd->rx_buffers[index].skb; in smsc9420_rx_handoff()
1218 if (pd->rx_buffers == NULL) in smsc9420_alloc_rx_ring()
1226 pd->rx_buffers[i].skb = NULL; in smsc9420_alloc_rx_ring()
1227 pd->rx_buffers[i].mapping = 0; in smsc9420_alloc_rx_ring()
[all …]
/drivers/usb/gadget/function/
A Df_printer.c76 struct list_head rx_buffers; /* List of completed xfers */ member
280 list_add_tail(&req->list, &dev->rx_buffers); in rx_complete()
481 (likely(list_empty(&dev->rx_buffers)))) { in printer_read()
496 (likely(!list_empty(&dev->rx_buffers)))); in printer_read()
506 req = container_of(dev->rx_buffers.next, in printer_read()
768 likely(!list_empty(&dev->rx_buffers))) in printer_poll()
923 while (likely(!(list_empty(&dev->rx_buffers)))) { in printer_soft_reset()
924 req = container_of(dev->rx_buffers.next, struct usb_request, in printer_soft_reset()
1463 while (!list_empty(&dev->rx_buffers)) { in printer_func_unbind()
1464 req = container_of(dev->rx_buffers.next, in printer_func_unbind()
[all …]
/drivers/net/ethernet/broadcom/
A Db44.c644 src_map = &bp->rx_buffers[src_idx]; in b44_alloc_rx_skb()
646 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb()
717 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx()
719 src_map = &bp->rx_buffers[src_idx]; in b44_recycle_rx()
764 struct ring_info *rp = &bp->rx_buffers[cons]; in b44_rx()
1074 rp = &bp->rx_buffers[i]; in b44_free_rings()
1132 kfree(bp->rx_buffers); in b44_free_consistent()
1133 bp->rx_buffers = NULL; in b44_free_consistent()
1169 bp->rx_buffers = kzalloc(size, gfp); in b44_alloc_consistent()
1170 if (!bp->rx_buffers) in b44_alloc_consistent()
A Db44.h368 struct ring_info *rx_buffers; member
/drivers/net/ethernet/renesas/
A Dravb_main.c274 if (priv->rx_buffers[q][i].page) in ravb_ring_free()
276 priv->rx_buffers[q][i].page, in ravb_ring_free()
279 kfree(priv->rx_buffers[q]); in ravb_ring_free()
280 priv->rx_buffers[q] = NULL; in ravb_ring_free()
304 rx_buff = &priv->rx_buffers[q][entry]; in ravb_alloc_rx_buffer()
341 if (!priv->rx_buffers[q][entry].page) { in ravb_rx_ring_refill()
439 priv->rx_buffers[q] = kcalloc(priv->num_rx_ring[q], in ravb_ring_init()
440 sizeof(*priv->rx_buffers[q]), GFP_KERNEL); in ravb_ring_init()
441 if (!priv->rx_buffers[q]) in ravb_ring_init()
849 rx_buff = &priv->rx_buffers[q][entry]; in ravb_rx_gbeth()
[all …]
A Dravb.h1112 struct ravb_rx_buffer *rx_buffers[NUM_RX_QUEUE]; member
/drivers/net/wireless/intel/ipw2x00/
A Dipw2100.c2671 packet = &priv->rx_buffers[i]; in __ipw2100_rx_process()
4561 if (!priv->rx_buffers) { in ipw2100_rx_allocate()
4591 priv->rx_buffers[j].dma_addr, in ipw2100_rx_allocate()
4594 dev_kfree_skb(priv->rx_buffers[j].skb); in ipw2100_rx_allocate()
4597 kfree(priv->rx_buffers); in ipw2100_rx_allocate()
4598 priv->rx_buffers = NULL; in ipw2100_rx_allocate()
4640 if (!priv->rx_buffers) in ipw2100_rx_free()
4644 if (priv->rx_buffers[i].rxp) { in ipw2100_rx_free()
4646 priv->rx_buffers[i].dma_addr, in ipw2100_rx_free()
4653 kfree(priv->rx_buffers); in ipw2100_rx_free()
[all …]
A Dipw2100.h531 struct ipw2100_rx_packet *rx_buffers; member
/drivers/net/ethernet/cadence/
A Dmacb_main.c222 return queue->rx_buffers + queue->bp->rx_buffer_size * in macb_rx_buffer()
2465 if (queue->rx_buffers) { in macb_free_rx_buffers()
2468 queue->rx_buffers, queue->rx_buffers_dma); in macb_free_rx_buffers()
2469 queue->rx_buffers = NULL; in macb_free_rx_buffers()
2530 queue->rx_buffers = dma_alloc_coherent(&bp->pdev->dev, size, in macb_alloc_rx_buffers()
2532 if (!queue->rx_buffers) in macb_alloc_rx_buffers()
4460 q->rx_buffers = dma_alloc_coherent(&lp->pdev->dev, in at91ether_alloc_coherent()
4464 if (!q->rx_buffers) { in at91ether_alloc_coherent()
4488 if (q->rx_buffers) { in at91ether_free_coherent()
4492 q->rx_buffers, q->rx_buffers_dma); in at91ether_free_coherent()
[all …]
A Dmacb.h1238 void *rx_buffers; member

Completed in 103 milliseconds