Lines Matching refs:txbd
105 cbd_t txbd[TX_BUF_CNT]; /* Tx BD */ member
182 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && in fec_send()
190 out_be32(&rtx->txbd[txIdx].cbd_bufaddr, (uint)packet); in fec_send()
191 out_be16(&rtx->txbd[txIdx].cbd_datlen, length); in fec_send()
192 setbits_be16(&rtx->txbd[txIdx].cbd_sc, in fec_send()
200 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && in fec_send()
209 rc = in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_STATS; in fec_send()
582 out_be16(&rtx->txbd[i].cbd_sc, BD_ENET_TX_LAST | BD_ENET_TX_TC); in fec_init()
583 out_be16(&rtx->txbd[i].cbd_datlen, 0); /* Reset */ in fec_init()
584 out_be32(&rtx->txbd[i].cbd_bufaddr, (uint)txbuf); in fec_init()
586 setbits_be16(&rtx->txbd[TX_BUF_CNT - 1].cbd_sc, BD_ENET_TX_WRAP); in fec_init()
591 out_be32(&fecp->fec_x_des_start, (__force unsigned int)rtx->txbd); in fec_init()