Lines Matching refs:cmd_sts
414 p_rx_desc->cmd_sts = in mvgbe_init_rx_desc_ring()
581 u32 cmd_sts; in __mvgbe_send() local
596 p_txdesc->cmd_sts = MVGBE_ZERO_PADDING | MVGBE_GEN_CRC; in __mvgbe_send()
597 p_txdesc->cmd_sts |= MVGBE_TX_FIRST_DESC | MVGBE_TX_LAST_DESC; in __mvgbe_send()
598 p_txdesc->cmd_sts |= MVGBE_BUFFER_OWNED_BY_DMA; in __mvgbe_send()
599 p_txdesc->cmd_sts |= MVGBE_TX_EN_INTERRUPT; in __mvgbe_send()
616 cmd_sts = readl(&p_txdesc->cmd_sts); in __mvgbe_send()
617 while (cmd_sts & MVGBE_BUFFER_OWNED_BY_DMA) { in __mvgbe_send()
619 if ((cmd_sts & (MVGBE_ERROR_SUMMARY | MVGBE_TX_LAST_FRAME)) == in __mvgbe_send()
621 cmd_sts & (MVGBE_UR_ERROR | MVGBE_RL_ERROR)) { in __mvgbe_send()
625 cmd_sts = readl(&p_txdesc->cmd_sts); in __mvgbe_send()
642 u32 cmd_sts; in __mvgbe_recv() local
658 } while (readl(&p_rxdesc_curr->cmd_sts) & MVGBE_BUFFER_OWNED_BY_DMA); in __mvgbe_recv()
664 (u32) p_rxdesc_curr->cmd_sts); in __mvgbe_recv()
672 cmd_sts = readl(&p_rxdesc_curr->cmd_sts); in __mvgbe_recv()
674 if ((cmd_sts & in __mvgbe_recv()
681 } else if (cmd_sts & MVGBE_ERROR_SUMMARY) { in __mvgbe_recv()
701 p_rxdesc_curr->cmd_sts = in __mvgbe_recv()