Lines Matching refs:p_rxdesc_curr
419 darmdfec->p_rxdesc_curr = darmdfec->p_rxdesc; in armdfec_init_rx_desc_ring()
472 writel((u32)darmdfec->p_rxdesc_curr, temp); in armdfec_init()
602 struct rx_desc *p_rxdesc_curr = darmdfec->p_rxdesc_curr; in armdfec_recv() local
615 } while (readl(&p_rxdesc_curr->cmd_sts) & BUF_OWNED_BY_DMA); in armdfec_recv()
617 if (p_rxdesc_curr->byte_cnt != 0) { in armdfec_recv()
620 (u32)p_rxdesc_curr->byte_cnt, in armdfec_recv()
621 (u32)p_rxdesc_curr->buf_ptr, in armdfec_recv()
622 (u32)p_rxdesc_curr->cmd_sts); in armdfec_recv()
630 cmd_sts = readl(&p_rxdesc_curr->cmd_sts); in armdfec_recv()
650 p_rxdesc_curr->buf_ptr + RX_BUF_OFFSET, in armdfec_recv()
651 (int)(p_rxdesc_curr->byte_cnt - RX_BUF_OFFSET)); in armdfec_recv()
656 p_rxdesc_curr->cmd_sts = BUF_OWNED_BY_DMA | RX_EN_INT; in armdfec_recv()
657 p_rxdesc_curr->buf_size = PKTSIZE_ALIGN; in armdfec_recv()
658 p_rxdesc_curr->byte_cnt = 0; in armdfec_recv()
660 temp = (u32)&darmdfec->p_rxdesc_curr; in armdfec_recv()
661 writel((u32)p_rxdesc_curr->nxtdesc_p, temp); in armdfec_recv()