Lines Matching refs:cmd_sts
387 p_rx_desc->cmd_sts = in mvgbe_init_rx_desc_ring()
525 u32 cmd_sts; in mvgbe_send() local
540 p_txdesc->cmd_sts = MVGBE_ZERO_PADDING | MVGBE_GEN_CRC; in mvgbe_send()
541 p_txdesc->cmd_sts |= MVGBE_TX_FIRST_DESC | MVGBE_TX_LAST_DESC; in mvgbe_send()
542 p_txdesc->cmd_sts |= MVGBE_BUFFER_OWNED_BY_DMA; in mvgbe_send()
543 p_txdesc->cmd_sts |= MVGBE_TX_EN_INTERRUPT; in mvgbe_send()
560 cmd_sts = readl(&p_txdesc->cmd_sts); in mvgbe_send()
561 while (cmd_sts & MVGBE_BUFFER_OWNED_BY_DMA) { in mvgbe_send()
563 if ((cmd_sts & (MVGBE_ERROR_SUMMARY | MVGBE_TX_LAST_FRAME)) == in mvgbe_send()
565 cmd_sts & (MVGBE_UR_ERROR | MVGBE_RL_ERROR)) { in mvgbe_send()
569 cmd_sts = readl(&p_txdesc->cmd_sts); in mvgbe_send()
578 u32 cmd_sts; in mvgbe_recv() local
590 } while (readl(&p_rxdesc_curr->cmd_sts) & MVGBE_BUFFER_OWNED_BY_DMA); 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()
606 if ((cmd_sts & in mvgbe_recv()
613 } else if (cmd_sts & MVGBE_ERROR_SUMMARY) { in mvgbe_recv()
633 p_rxdesc_curr->cmd_sts = in mvgbe_recv()