Lines Matching refs:txbd
132 while ((info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_READY) && in fec_send()
141 info->txbd[info->txIdx].cbd_bufaddr = (uint) packet; in fec_send()
142 info->txbd[info->txIdx].cbd_datlen = length; in fec_send()
143 info->txbd[info->txIdx].cbd_sc |= BD_ENET_TX_RDY_LST; in fec_send()
165 while ((info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_READY) && in fec_send()
177 info->txbd[info->txIdx].cbd_sc, in fec_send()
178 (info->txbd[info->txIdx].cbd_sc & 0x003C) >> 2); in fec_send()
182 rc = (info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_STATS); in fec_send()
490 info->txbd[i].cbd_sc = BD_ENET_TX_LAST | BD_ENET_TX_TC; in fec_init()
491 info->txbd[i].cbd_datlen = 0; /* Reset */ in fec_init()
492 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]); in fec_init()
494 info->txbd[TX_BUF_CNT - 1].cbd_sc |= BD_ENET_TX_WRAP; in fec_init()
498 fecp->etdsr = (unsigned int)(&info->txbd[0]); in fec_init()
534 memset(info->txbd, 0, TX_BUF_CNT * sizeof(cbd_t)); in fec_halt()
568 fec_info[i].txbd = in mcffec_initialize()
569 (cbd_t *)((u32)fec_info[i].txbd + tmp + in mcffec_initialize()
571 tmp = (u32)fec_info[i].txbd; in mcffec_initialize()
580 fec_info[i].txbd = in mcffec_initialize()
589 (int)fec_info[i].rxbd, (int)fec_info[i].txbd); in mcffec_initialize()