Home
last modified time | relevance | path

Searched refs:p_rxdesc_curr (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/net/
Dmvgbe.c400 dmvgbe->p_rxdesc_curr = dmvgbe->p_rxdesc; in mvgbe_init_rx_desc_ring()
454 MVGBE_REG_WR(regs->rxcdp[RXUQ], (u32) dmvgbe->p_rxdesc_curr); in mvgbe_init()
577 struct mvgbe_rxdesc *p_rxdesc_curr = dmvgbe->p_rxdesc_curr; in mvgbe_recv() local
590 } while (readl(&p_rxdesc_curr->cmd_sts) & MVGBE_BUFFER_OWNED_BY_DMA); in mvgbe_recv()
592 if (p_rxdesc_curr->byte_cnt != 0) { in mvgbe_recv()
594 __func__, (u32) p_rxdesc_curr->byte_cnt, in mvgbe_recv()
595 (u32) p_rxdesc_curr->buf_ptr, in mvgbe_recv()
596 (u32) p_rxdesc_curr->cmd_sts); in mvgbe_recv()
604 cmd_sts = readl(&p_rxdesc_curr->cmd_sts); in mvgbe_recv()
625 net_process_received_packet((p_rxdesc_curr->buf_ptr + in mvgbe_recv()
[all …]
Darmada100_fec.c419 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()
[all …]
Darmada100_fec.h202 struct rx_desc *p_rxdesc_curr; member
Dmvgbe.h486 struct mvgbe_rxdesc *p_rxdesc_curr; member