Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dmvgbe.c387 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()
[all …]
Darmada100_fec.c407 p_rx_desc->cmd_sts = BUF_OWNED_BY_DMA | RX_EN_INT; in armdfec_init_rx_desc_ring()
552 u32 cmd_sts, temp; in armdfec_send() local
565 p_txdesc->cmd_sts = TX_ZERO_PADDING | TX_GEN_CRC; in armdfec_send()
566 p_txdesc->cmd_sts |= TX_FIRST_DESC | TX_LAST_DESC; in armdfec_send()
567 p_txdesc->cmd_sts |= BUF_OWNED_BY_DMA; in armdfec_send()
568 p_txdesc->cmd_sts |= TX_EN_INT; in armdfec_send()
580 cmd_sts = readl(&p_txdesc->cmd_sts); in armdfec_send()
581 while (cmd_sts & BUF_OWNED_BY_DMA) { in armdfec_send()
583 if ((cmd_sts & (TX_ERROR | TX_LAST_DESC)) == in armdfec_send()
588 cmd_sts = readl(&p_txdesc->cmd_sts); in armdfec_send()
[all …]
Darmada100_fec.h135 u32 cmd_sts; /* Command/status field */ member
143 u32 cmd_sts; /* Descriptor command status */ member
Dmvgbe.h465 u32 cmd_sts; /* Descriptor command status */ member
473 u32 cmd_sts; /* Descriptor command status */ member