Searched refs:prbd (Results 1 – 2 of 2) sorted by relevance
246 cbd_t *prbd = &info->rxbd[info->rxIdx]; in fec_recv() local278 if (!(prbd->cbd_sc & BD_ENET_RX_EMPTY)) { in fec_recv()279 if ((prbd->cbd_sc & BD_ENET_RX_LAST) && in fec_recv()280 !(prbd->cbd_sc & BD_ENET_RX_ERR) && in fec_recv()281 ((prbd->cbd_datlen - 4) > 14)) { in fec_recv()284 frame_length = prbd->cbd_datlen - 4; in fec_recv()287 net_process_received_packet((uchar *)prbd->cbd_bufaddr, in fec_recv()294 prbd->cbd_sc = (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY); in fec_recv()296 prbd->cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()298 prbd->cbd_datlen = PKTSIZE_ALIGN; in fec_recv()
391 static void fec_rbd_clean(int last, struct fec_bd *prbd) in fec_rbd_clean() argument396 writew(flags, &prbd->status); in fec_rbd_clean()397 writew(0, &prbd->data_length); in fec_rbd_clean()