Lines Matching refs:rxbd
104 cbd_t rxbd[PKTBUFSRX]; /* Rx BD */ member
225 if (in_be16(&rtx->rxbd[rxIdx].cbd_sc) & BD_ENET_RX_EMPTY) { in fec_recv()
230 length = in_be16(&rtx->rxbd[rxIdx].cbd_datlen); in fec_recv()
232 if (!(in_be16(&rtx->rxbd[rxIdx].cbd_sc) & 0x003f)) { in fec_recv()
251 out_be16(&rtx->rxbd[rxIdx].cbd_datlen, 0); 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()
571 out_be16(&rtx->rxbd[i].cbd_datlen, 0); /* Reset */ in fec_init()
572 out_be32(&rtx->rxbd[i].cbd_bufaddr, (uint)net_rx_packets[i]); in fec_init()
574 setbits_be16(&rtx->rxbd[PKTBUFSRX - 1].cbd_sc, BD_ENET_RX_WRAP); in fec_init()
590 out_be32(&fecp->fec_r_des_start, (__force unsigned int)rtx->rxbd); in fec_init()