Lines Matching refs:rxbd
200 if (info->rxbd[info->rxIdx].cbd_sc & BD_ENET_RX_EMPTY) { in fec_recv()
205 length = info->rxbd[info->rxIdx].cbd_datlen; in fec_recv()
207 if (info->rxbd[info->rxIdx].cbd_sc & 0x003f) { in fec_recv()
210 info->rxbd[info->rxIdx].cbd_sc); in fec_recv()
214 info->rxbd[info->rxIdx].cbd_sc); in fec_recv()
227 info->rxbd[info->rxIdx].cbd_datlen = 0; in fec_recv()
231 info->rxbd[PKTBUFSRX - 1].cbd_sc = BD_ENET_RX_W_E; in fec_recv()
234 info->rxbd[info->rxIdx].cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()
477 info->rxbd[i].cbd_sc = BD_ENET_RX_EMPTY; in fec_init()
478 info->rxbd[i].cbd_datlen = 0; /* Reset */ in fec_init()
479 info->rxbd[i].cbd_bufaddr = (uint) net_rx_packets[i]; in fec_init()
481 info->rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP; in fec_init()
496 fecp->erdsr = (unsigned int)(&info->rxbd[0]); in fec_init()
532 memset(info->rxbd, 0, PKTBUFSRX * sizeof(cbd_t)); in fec_halt()
565 fec_info[i].rxbd = (cbd_t *)((u32)fec_info[i].rxbd + tmp); in mcffec_initialize()
566 tmp = (u32)fec_info[i].rxbd; in mcffec_initialize()
576 fec_info[i].rxbd = in mcffec_initialize()
588 (int)fec_info[i].rxbd, (int)fec_info[i].txbd); in mcffec_initialize()