Lines Matching refs:rxIdx
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()
220 net_process_received_packet(net_rx_packets[info->rxIdx], in fec_recv()
227 info->rxbd[info->rxIdx].cbd_datlen = 0; in fec_recv()
230 if (info->rxIdx == LAST_PKTBUFSRX) { in fec_recv()
232 info->rxIdx = 0; in fec_recv()
234 info->rxbd[info->rxIdx].cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()
235 info->rxIdx++; in fec_recv()
468 info->rxIdx = 0; in fec_init()
531 info->rxIdx = info->txIdx = 0; in fec_halt()