Home
last modified time | relevance | path

Searched refs:prbd (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Dfsl_mcdmafec.c245 cbd_t *prbd = &info->rxbd[info->rxIdx]; in fec_recv() local
277 if (!(prbd->cbd_sc & BD_ENET_RX_EMPTY)) { in fec_recv()
278 if ((prbd->cbd_sc & BD_ENET_RX_LAST) && in fec_recv()
279 !(prbd->cbd_sc & BD_ENET_RX_ERR) && in fec_recv()
280 ((prbd->cbd_datlen - 4) > 14)) { in fec_recv()
283 frame_length = prbd->cbd_datlen - 4; in fec_recv()
286 net_process_received_packet((uchar *)prbd->cbd_bufaddr, in fec_recv()
293 prbd->cbd_sc = (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY); in fec_recv()
295 prbd->cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()
297 prbd->cbd_datlen = PKTSIZE_ALIGN; in fec_recv()
H A Dfec_mxc.c382 static void fec_rbd_clean(int last, struct fec_bd *prbd) in fec_rbd_clean() argument
387 writew(flags, &prbd->status); in fec_rbd_clean()
388 writew(0, &prbd->data_length); in fec_rbd_clean()