Lines Matching refs:txbd
112 cbd_t txbd[TX_BUF_CNT]; member
134 for(i=0; rtx.txbd[txIdx].cbd_sc & BD_ENET_TX_READY; i++) { in fec_send()
141 rtx.txbd[txIdx].cbd_bufaddr = (uint)packet; in fec_send()
142 rtx.txbd[txIdx].cbd_datlen = length; in fec_send()
143 rtx.txbd[txIdx].cbd_sc |= (BD_ENET_TX_READY | BD_ENET_TX_LAST | \ in fec_send()
146 for(i=0; rtx.txbd[txIdx].cbd_sc & BD_ENET_TX_READY; i++) { in fec_send()
154 printf("cycles: 0x%x txIdx=0x%04x status: 0x%04x\n", i, txIdx,rtx.txbd[txIdx].cbd_sc); in fec_send()
157 printf("%08x %08x %08x %08x\n",*((uint *)rtx.txbd[txIdx].cbd_bufaddr+i*4),\ in fec_send()
158 …*((uint *)rtx.txbd[txIdx].cbd_bufaddr + i*4 + 1),*((uint *)rtx.txbd[txIdx].cbd_bufaddr + i*4 + 2),… in fec_send()
159 *((uint *)rtx.txbd[txIdx].cbd_bufaddr + i*4 + 3)); in fec_send()
164 result = rtx.txbd[txIdx].cbd_sc & BD_ENET_TX_STATS; in fec_send()
272 rtx.txbd[i].cbd_sc = 0; in fec_init()
273 rtx.txbd[i].cbd_datlen = 0; in fec_init()
274 rtx.txbd[i].cbd_bufaddr = 0; in fec_init()
276 rtx.txbd[TX_BUF_CNT - 1].cbd_sc |= BD_ENET_TX_WRAP; in fec_init()
312 pram_ptr->fen_genfcc.fcc_tbase = (unsigned int)(&rtx.txbd[txIdx]); in fec_init()