Lines Matching refs:txbd
53 info->txbd = in init_eth_info()
54 (cbd_t *)((u32)info->txbd + tmp + in init_eth_info()
56 tmp = (u32)info->txbd; in init_eth_info()
65 info->txbd = in init_eth_info()
73 printf("rxbd %x txbd %x\n", (int)info->rxbd, (int)info->txbd); in init_eth_info()
355 info->txbd[i].cbd_sc = BD_ENET_TX_LAST | BD_ENET_TX_TC; in mcffec_init()
356 info->txbd[i].cbd_datlen = 0; /* Reset */ in mcffec_init()
357 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]); in mcffec_init()
359 info->txbd[TX_BUF_CNT - 1].cbd_sc |= BD_ENET_TX_WRAP; in mcffec_init()
363 fecp->etdsr = (unsigned int)(&info->txbd[0]); in mcffec_init()
389 while ((info->txbd[info->tx_idx].cbd_sc & BD_ENET_TX_READY) && in mcffec_send()
397 info->txbd[info->tx_idx].cbd_bufaddr = (uint)packet; in mcffec_send()
398 info->txbd[info->tx_idx].cbd_datlen = length; in mcffec_send()
399 info->txbd[info->tx_idx].cbd_sc |= BD_ENET_TX_RDY_LST; in mcffec_send()
420 while ((info->txbd[info->tx_idx].cbd_sc & BD_ENET_TX_READY) && in mcffec_send()
431 info->txbd[info->tx_idx].cbd_sc, in mcffec_send()
432 (info->txbd[info->tx_idx].cbd_sc & 0x003C) >> 2); in mcffec_send()
436 rc = (info->txbd[info->tx_idx].cbd_sc & BD_ENET_TX_STATS); in mcffec_send()
505 memset(info->txbd, 0, TX_BUF_CNT * sizeof(cbd_t)); in mcffec_halt()