Lines Matching refs:rxbd
111 cbd_t rxbd[PKTBUFSRX]; member
177 if (rtx.rxbd[rxIdx].cbd_sc & BD_ENET_RX_EMPTY) { in fec_recv()
181 length = rtx.rxbd[rxIdx].cbd_datlen; in fec_recv()
183 if (rtx.rxbd[rxIdx].cbd_sc & 0x003f) { in fec_recv()
184 printf("fec: rx error %04x\n", rtx.rxbd[rxIdx].cbd_sc); in fec_recv()
193 rtx.rxbd[rxIdx].cbd_datlen = 0; in fec_recv()
197 rtx.rxbd[PKTBUFSRX - 1].cbd_sc = (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY); in fec_recv()
201 rtx.rxbd[rxIdx].cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()
263 rtx.rxbd[i].cbd_sc = BD_ENET_RX_EMPTY; in fec_init()
264 rtx.rxbd[i].cbd_datlen = 0; in fec_init()
265 rtx.rxbd[i].cbd_bufaddr = (uint)net_rx_packets[i]; in fec_init()
267 rtx.rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP; in fec_init()
305 pram_ptr->fen_genfcc.fcc_rbase = (unsigned int)(&rtx.rxbd[rxIdx]); in fec_init()