Lines Matching refs:cbd_sc
131 while ((info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_READY) && in fec_send()
142 info->txbd[info->txIdx].cbd_sc |= BD_ENET_TX_RDY_LST; in fec_send()
164 while ((info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_READY) && in fec_send()
176 info->txbd[info->txIdx].cbd_sc, in fec_send()
177 (info->txbd[info->txIdx].cbd_sc & 0x003C) >> 2); in fec_send()
181 rc = (info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_STATS); in fec_send()
200 if (info->rxbd[info->rxIdx].cbd_sc & BD_ENET_RX_EMPTY) { 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()
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()
481 info->rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP; in fec_init()
489 info->txbd[i].cbd_sc = BD_ENET_TX_LAST | BD_ENET_TX_TC; in fec_init()
493 info->txbd[TX_BUF_CNT - 1].cbd_sc |= BD_ENET_TX_WRAP; in fec_init()