Lines Matching refs:cmd_sts
391 p_rx_desc->cmd_sts = in mvgbe_init_rx_desc_ring()
529 u32 cmd_sts; in mvgbe_send() local
544 p_txdesc->cmd_sts = MVGBE_ZERO_PADDING | MVGBE_GEN_CRC; in mvgbe_send()
545 p_txdesc->cmd_sts |= MVGBE_TX_FIRST_DESC | MVGBE_TX_LAST_DESC; in mvgbe_send()
546 p_txdesc->cmd_sts |= MVGBE_BUFFER_OWNED_BY_DMA; in mvgbe_send()
547 p_txdesc->cmd_sts |= MVGBE_TX_EN_INTERRUPT; in mvgbe_send()
564 cmd_sts = readl(&p_txdesc->cmd_sts); in mvgbe_send()
565 while (cmd_sts & MVGBE_BUFFER_OWNED_BY_DMA) { in mvgbe_send()
567 if ((cmd_sts & (MVGBE_ERROR_SUMMARY | MVGBE_TX_LAST_FRAME)) == in mvgbe_send()
569 cmd_sts & (MVGBE_UR_ERROR | MVGBE_RL_ERROR)) { in mvgbe_send()
573 cmd_sts = readl(&p_txdesc->cmd_sts); in mvgbe_send()
582 u32 cmd_sts; in mvgbe_recv() local
594 } while (readl(&p_rxdesc_curr->cmd_sts) & MVGBE_BUFFER_OWNED_BY_DMA); in mvgbe_recv()
600 (u32) p_rxdesc_curr->cmd_sts); in mvgbe_recv()
608 cmd_sts = readl(&p_rxdesc_curr->cmd_sts); in mvgbe_recv()
610 if ((cmd_sts & in mvgbe_recv()
617 } else if (cmd_sts & MVGBE_ERROR_SUMMARY) { in mvgbe_recv()
637 p_rxdesc_curr->cmd_sts = in mvgbe_recv()