Lines Matching refs:rfbuf
633 struct emac_buffer *rfbuf = GET_RFD_BUFFER(rx_q, i); in emac_rx_q_free_descs() local
635 if (rfbuf->dma_addr) { in emac_rx_q_free_descs()
636 dma_unmap_single(dev, rfbuf->dma_addr, rfbuf->length, in emac_rx_q_free_descs()
638 rfbuf->dma_addr = 0; in emac_rx_q_free_descs()
640 if (rfbuf->skb) { in emac_rx_q_free_descs()
641 dev_kfree_skb(rfbuf->skb); in emac_rx_q_free_descs()
642 rfbuf->skb = NULL; in emac_rx_q_free_descs()
1057 struct emac_buffer *rfbuf = rx_q->rfd.rfbuff; in emac_rx_rfd_clean() local
1062 rfbuf[consume_idx].skb = NULL; in emac_rx_rfd_clean()
1092 struct emac_buffer *rfbuf; in emac_mac_rx_process() local
1114 rfbuf = GET_RFD_BUFFER(rx_q, RRD_SI(&rrd)); in emac_mac_rx_process()
1116 rfbuf->dma_addr, rfbuf->length, in emac_mac_rx_process()
1118 rfbuf->dma_addr = 0; in emac_mac_rx_process()
1119 skb = rfbuf->skb; in emac_mac_rx_process()