Lines Matching refs:cbd_sc
182 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && 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()
225 if (in_be16(&rtx->rxbd[rxIdx].cbd_sc) & BD_ENET_RX_EMPTY) { in fec_recv()
232 if (!(in_be16(&rtx->rxbd[rxIdx].cbd_sc) & 0x003f)) { in fec_recv()
255 out_be16(&rtx->rxbd[PKTBUFSRX - 1].cbd_sc, in fec_recv()
259 out_be16(&rtx->rxbd[rxIdx].cbd_sc, BD_ENET_RX_EMPTY); in fec_recv()
570 out_be16(&rtx->rxbd[i].cbd_sc, BD_ENET_RX_EMPTY); in fec_init()
574 setbits_be16(&rtx->rxbd[PKTBUFSRX - 1].cbd_sc, BD_ENET_RX_WRAP); in fec_init()
582 out_be16(&rtx->txbd[i].cbd_sc, BD_ENET_TX_LAST | BD_ENET_TX_TC); in fec_init()
586 setbits_be16(&rtx->txbd[TX_BUF_CNT - 1].cbd_sc, BD_ENET_TX_WRAP); in fec_init()