Lines Matching refs:rxptr

541 	struct rx_desc *rxptr;  in uli526x_rx_packet()  local
545 rxptr = db->rx_ready_ptr; in uli526x_rx_packet()
547 rdes0 = le32_to_cpu(rxptr->rdes0); in uli526x_rx_packet()
549 printf("%s(): rxptr->rdes0=%x\n", __FUNCTION__, rxptr->rdes0); in uli526x_rx_packet()
556 uli526x_reuse_buf(rxptr); in uli526x_rx_packet()
574 __FUNCTION__, rxptr->rx_buf_ptr); in uli526x_rx_packet()
579 __FUNCTION__, rxptr->rx_buf_ptr); in uli526x_rx_packet()
585 __FUNCTION__, i, rxptr->rx_buf_ptr[i]); in uli526x_rx_packet()
589 (uchar *)rxptr->rx_buf_ptr, rxlen); in uli526x_rx_packet()
590 uli526x_reuse_buf(rxptr); in uli526x_rx_packet()
595 uli526x_reuse_buf(rxptr); in uli526x_rx_packet()
599 rxptr = rxptr->next_rx_desc; in uli526x_rx_packet()
602 db->rx_ready_ptr = rxptr; in uli526x_rx_packet()
610 static void uli526x_reuse_buf(struct rx_desc *rxptr) in uli526x_reuse_buf() argument
613 if (!(rxptr->rdes0 & cpu_to_le32(0x80000000))) in uli526x_reuse_buf()
614 rxptr->rdes0 = cpu_to_le32(0x80000000); in uli526x_reuse_buf()
706 struct rx_desc *rxptr; in allocate_rx_buffer() local
707 rxptr = db->first_rx_desc; in allocate_rx_buffer()
713 rxptr->rx_buf_ptr = (char *) addr; in allocate_rx_buffer()
714 rxptr->rdes2 = cpu_to_le32(addr); in allocate_rx_buffer()
715 rxptr->rdes0 = cpu_to_le32(0x80000000); in allocate_rx_buffer()
719 printf("%s(): rxptr address = 0x%x\n", __FUNCTION__, rxptr); in allocate_rx_buffer()
721 __FUNCTION__, rxptr->rx_buf_ptr); in allocate_rx_buffer()
722 printf("%s(): rdes2 = 0x%x\n", __FUNCTION__, rxptr->rdes2); in allocate_rx_buffer()
724 rxptr = rxptr->next_rx_desc; in allocate_rx_buffer()