Lines Matching refs:rxptr

804 	struct rx_desc *rxptr;  in uli526x_rx_packet()  local
809 rxptr = db->rx_ready_ptr; in uli526x_rx_packet()
812 rdes0 = le32_to_cpu(rxptr->rdes0); in uli526x_rx_packet()
821 dma_unmap_single(&db->pdev->dev, le32_to_cpu(rxptr->rdes2), in uli526x_rx_packet()
827 uli526x_reuse_skb(db, rxptr->rx_skb_ptr); in uli526x_rx_packet()
848 skb = rxptr->rx_skb_ptr; in uli526x_rx_packet()
858 skb_tail_pointer(rxptr->rx_skb_ptr), in uli526x_rx_packet()
860 uli526x_reuse_skb(db, rxptr->rx_skb_ptr); in uli526x_rx_packet()
872 uli526x_reuse_skb(db, rxptr->rx_skb_ptr); in uli526x_rx_packet()
876 rxptr = rxptr->next_rx_desc; in uli526x_rx_packet()
879 db->rx_ready_ptr = rxptr; in uli526x_rx_packet()
1242 struct rx_desc *rxptr = db->rx_insert_ptr; in uli526x_reuse_skb() local
1244 if (!(rxptr->rdes0 & cpu_to_le32(0x80000000))) { in uli526x_reuse_skb()
1245 rxptr->rx_skb_ptr = skb; in uli526x_reuse_skb()
1246 rxptr->rdes2 = cpu_to_le32(dma_map_single(&db->pdev->dev, skb_tail_pointer(skb), in uli526x_reuse_skb()
1249 rxptr->rdes0 = cpu_to_le32(0x80000000); in uli526x_reuse_skb()
1251 db->rx_insert_ptr = rxptr->next_rx_desc; in uli526x_reuse_skb()
1409 struct rx_desc *rxptr; in allocate_rx_buffer() local
1412 rxptr = db->rx_insert_ptr; in allocate_rx_buffer()
1418 rxptr->rx_skb_ptr = skb; /* FIXME (?) */ in allocate_rx_buffer()
1419 rxptr->rdes2 = cpu_to_le32(dma_map_single(&db->pdev->dev, skb_tail_pointer(skb), in allocate_rx_buffer()
1422 rxptr->rdes0 = cpu_to_le32(0x80000000); in allocate_rx_buffer()
1423 rxptr = rxptr->next_rx_desc; in allocate_rx_buffer()
1427 db->rx_insert_ptr = rxptr; in allocate_rx_buffer()