Searched refs:cmd_sts (Results 1 – 9 of 9) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | armada100_fec.c | 407 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 …]
|
H A D | mvgbe.c | 411 p_rx_desc->cmd_sts = in mvgbe_init_rx_desc_ring() 578 u32 cmd_sts; in __mvgbe_send() local 593 p_txdesc->cmd_sts = MVGBE_ZERO_PADDING | MVGBE_GEN_CRC; in __mvgbe_send() 594 p_txdesc->cmd_sts |= MVGBE_TX_FIRST_DESC | MVGBE_TX_LAST_DESC; in __mvgbe_send() 595 p_txdesc->cmd_sts |= MVGBE_BUFFER_OWNED_BY_DMA; in __mvgbe_send() 596 p_txdesc->cmd_sts |= MVGBE_TX_EN_INTERRUPT; in __mvgbe_send() 613 cmd_sts = readl(&p_txdesc->cmd_sts); in __mvgbe_send() 614 while (cmd_sts & MVGBE_BUFFER_OWNED_BY_DMA) { in __mvgbe_send() 616 if ((cmd_sts & (MVGBE_ERROR_SUMMARY | MVGBE_TX_LAST_FRAME)) == in __mvgbe_send() 618 cmd_sts & (MVGBE_UR_ERROR | MVGBE_RL_ERROR)) { in __mvgbe_send() [all …]
|
H A D | armada100_fec.h | 135 u32 cmd_sts; /* Command/status field */ member 143 u32 cmd_sts; /* Descriptor command status */ member
|
H A D | mvgbe.h | 467 u32 cmd_sts; /* Descriptor command status */ member 475 u32 cmd_sts; /* Descriptor command status */ member
|
/openbmc/linux/drivers/peci/controller/ |
H A D | peci-npcm.c | 78 u32 cmd_sts; in npcm_peci_xfer() local 82 ret = regmap_read_poll_timeout(priv->regmap, NPCM_PECI_CTL_STS, cmd_sts, in npcm_peci_xfer() 83 !(cmd_sts & NPCM_PECI_CTRL_START_BUSY), in npcm_peci_xfer() 180 u32 cmd_sts; in npcm_peci_init_ctrl() local 206 ret = regmap_read_poll_timeout(priv->regmap, NPCM_PECI_CTL_STS, cmd_sts, in npcm_peci_init_ctrl() 207 !(cmd_sts & NPCM_PECI_CTRL_START_BUSY), in npcm_peci_init_ctrl()
|
H A D | peci-aspeed.c | 170 u32 cmd_sts = readl(priv->base + ASPEED_PECI_CMD); in aspeed_peci_check_idle() local 179 if (FIELD_GET(ASPEED_PECI_CMD_STS_MASK, cmd_sts)) { in aspeed_peci_check_idle() 204 cmd_sts, in aspeed_peci_check_idle() 205 !(cmd_sts & ASPEED_PECI_CMD_IDLE_MASK), in aspeed_peci_check_idle()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | ast2600_i2c.c | 23 u32 cmd_sts; member 131 writel(cmd, &priv->regs->cmd_sts); in ast2600_i2c_read_data() 160 writel(cmd, &priv->regs->cmd_sts); in ast2600_i2c_write_data() 183 writel(cmd, &priv->regs->cmd_sts); in ast2600_i2c_write_data() 202 u32 csr = readl(&priv->regs->cmd_sts); in ast2600_i2c_deblock() 213 csr = readl(&priv->regs->cmd_sts); in ast2600_i2c_deblock() 218 writel(AST2600_I2CM_RECOVER_CMD_EN, &priv->regs->cmd_sts); in ast2600_i2c_deblock()
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 193 u32 cmd_sts; /* Descriptor command status */ member 201 u32 cmd_sts; /* Command/status field */ member 207 u32 cmd_sts; /* Descriptor command status */ member 215 u32 cmd_sts; /* Command/status field */ member 515 unsigned int cmd_sts; in rxq_process() local 521 cmd_sts = rx_desc->cmd_sts; in rxq_process() 522 if (cmd_sts & BUFFER_OWNED_BY_DMA) in rxq_process() 558 if ((cmd_sts & (RX_FIRST_DESC | RX_LAST_DESC | ERROR_SUMMARY)) in rxq_process() 568 if (cmd_sts & LAYER_4_CHECKSUM_OK) in rxq_process() 579 if ((cmd_sts & (RX_FIRST_DESC | RX_LAST_DESC)) != in rxq_process() [all …]
|
H A D | pxa168_eth.c | 176 u32 cmd_sts; /* Descriptor command status */ member 184 u32 cmd_sts; /* Command/status field */ member 332 p_used_rx_desc->cmd_sts = BUF_OWNED_BY_DMA | RX_EN_INT; in rxq_refill() 700 u32 cmd_sts; in txq_reclaim() local 713 cmd_sts = desc->cmd_sts; in txq_reclaim() 714 if (!force && (cmd_sts & BUF_OWNED_BY_DMA)) { in txq_reclaim() 730 if (cmd_sts & TX_ERROR) { in txq_reclaim() 774 unsigned int cmd_sts; in rxq_process() local 782 cmd_sts = rx_desc->cmd_sts; in rxq_process() 784 if (cmd_sts & (BUF_OWNED_BY_DMA)) in rxq_process() [all …]
|