Lines Matching refs:rxptr

542 	struct rx_desc *rxptr;  in uli526x_rx_packet()  local
546 rxptr = db->rx_ready_ptr; in uli526x_rx_packet()
548 rdes0 = le32_to_cpu(rxptr->rdes0); in uli526x_rx_packet()
550 printf("%s(): rxptr->rdes0=%x\n", __FUNCTION__, rxptr->rdes0); in uli526x_rx_packet()
557 uli526x_reuse_buf(rxptr); in uli526x_rx_packet()
575 __FUNCTION__, rxptr->rx_buf_ptr); in uli526x_rx_packet()
580 __FUNCTION__, rxptr->rx_buf_ptr); in uli526x_rx_packet()
586 __FUNCTION__, i, rxptr->rx_buf_ptr[i]); in uli526x_rx_packet()
590 (uchar *)rxptr->rx_buf_ptr, rxlen); in uli526x_rx_packet()
591 uli526x_reuse_buf(rxptr); in uli526x_rx_packet()
596 uli526x_reuse_buf(rxptr); in uli526x_rx_packet()
600 rxptr = rxptr->next_rx_desc; in uli526x_rx_packet()
603 db->rx_ready_ptr = rxptr; in uli526x_rx_packet()
611 static void uli526x_reuse_buf(struct rx_desc *rxptr) in uli526x_reuse_buf() argument
614 if (!(rxptr->rdes0 & cpu_to_le32(0x80000000))) in uli526x_reuse_buf()
615 rxptr->rdes0 = cpu_to_le32(0x80000000); in uli526x_reuse_buf()
707 struct rx_desc *rxptr; in allocate_rx_buffer() local
708 rxptr = db->first_rx_desc; in allocate_rx_buffer()
714 rxptr->rx_buf_ptr = (char *) addr; in allocate_rx_buffer()
715 rxptr->rdes2 = cpu_to_le32(addr); in allocate_rx_buffer()
716 rxptr->rdes0 = cpu_to_le32(0x80000000); in allocate_rx_buffer()
720 printf("%s(): rxptr address = 0x%x\n", __FUNCTION__, rxptr); in allocate_rx_buffer()
722 __FUNCTION__, rxptr->rx_buf_ptr); in allocate_rx_buffer()
723 printf("%s(): rdes2 = 0x%x\n", __FUNCTION__, rxptr->rdes2); in allocate_rx_buffer()
725 rxptr = rxptr->next_rx_desc; in allocate_rx_buffer()