Lines Matching refs:rxptr
946 struct rx_desc *rxptr; in dmfe_rx_packet() local
951 rxptr = db->rx_ready_ptr; in dmfe_rx_packet()
954 rdes0 = le32_to_cpu(rxptr->rdes0); in dmfe_rx_packet()
961 dma_unmap_single(&db->pdev->dev, le32_to_cpu(rxptr->rdes2), in dmfe_rx_packet()
968 dmfe_reuse_skb(db, rxptr->rx_skb_ptr); in dmfe_rx_packet()
987 skb = rxptr->rx_skb_ptr; in dmfe_rx_packet()
994 dmfe_reuse_skb(db, rxptr->rx_skb_ptr); in dmfe_rx_packet()
1006 skb_copy_from_linear_data(rxptr->rx_skb_ptr, in dmfe_rx_packet()
1009 dmfe_reuse_skb(db, rxptr->rx_skb_ptr); in dmfe_rx_packet()
1021 dmfe_reuse_skb(db, rxptr->rx_skb_ptr); in dmfe_rx_packet()
1025 rxptr = rxptr->next_rx_desc; in dmfe_rx_packet()
1028 db->rx_ready_ptr = rxptr; in dmfe_rx_packet()
1331 struct rx_desc *rxptr = db->rx_insert_ptr; in dmfe_reuse_skb() local
1333 if (!(rxptr->rdes0 & cpu_to_le32(0x80000000))) { in dmfe_reuse_skb()
1334 rxptr->rx_skb_ptr = skb; in dmfe_reuse_skb()
1335 rxptr->rdes2 = cpu_to_le32(dma_map_single(&db->pdev->dev, skb->data, in dmfe_reuse_skb()
1338 rxptr->rdes0 = cpu_to_le32(0x80000000); in dmfe_reuse_skb()
1340 db->rx_insert_ptr = rxptr->next_rx_desc; in dmfe_reuse_skb()
1541 struct rx_desc *rxptr; in allocate_rx_buffer() local
1544 rxptr = db->rx_insert_ptr; in allocate_rx_buffer()
1549 rxptr->rx_skb_ptr = skb; /* FIXME (?) */ in allocate_rx_buffer()
1550 rxptr->rdes2 = cpu_to_le32(dma_map_single(&db->pdev->dev, skb->data, in allocate_rx_buffer()
1553 rxptr->rdes0 = cpu_to_le32(0x80000000); in allocate_rx_buffer()
1554 rxptr = rxptr->next_rx_desc; in allocate_rx_buffer()
1558 db->rx_insert_ptr = rxptr; in allocate_rx_buffer()