Lines Matching refs:cbd_sc
133 while ((info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_READY) && in fec_send()
144 info->txbd[info->txIdx].cbd_sc |= BD_ENET_TX_RDY_LST; in fec_send()
166 while ((info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_READY) && in fec_send()
178 info->txbd[info->txIdx].cbd_sc, in fec_send()
179 (info->txbd[info->txIdx].cbd_sc & 0x003C) >> 2); in fec_send()
183 rc = (info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_STATS); in fec_send()
202 if (info->rxbd[info->rxIdx].cbd_sc & BD_ENET_RX_EMPTY) { in fec_recv()
209 if (info->rxbd[info->rxIdx].cbd_sc & 0x003f) { in fec_recv()
212 info->rxbd[info->rxIdx].cbd_sc); in fec_recv()
216 info->rxbd[info->rxIdx].cbd_sc); in fec_recv()
233 info->rxbd[PKTBUFSRX - 1].cbd_sc = BD_ENET_RX_W_E; in fec_recv()
236 info->rxbd[info->rxIdx].cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()
479 info->rxbd[i].cbd_sc = BD_ENET_RX_EMPTY; in fec_init()
483 info->rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP; in fec_init()
491 info->txbd[i].cbd_sc = BD_ENET_TX_LAST | BD_ENET_TX_TC; in fec_init()
495 info->txbd[TX_BUF_CNT - 1].cbd_sc |= BD_ENET_TX_WRAP; in fec_init()