Searched refs:txbd (Results 1 – 10 of 10) sorted by relevance
/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
D | ether_fcc.c | 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() [all …]
|
/external/u-boot/drivers/net/fm/ |
D | eth.c | 312 struct fm_port_bd *txbd; in fm_eth_tx_port_parameter_init() local 348 txbd = (struct fm_port_bd *)tx_bd_ring_base; in fm_eth_tx_port_parameter_init() 350 muram_writew(&txbd->status, TxBD_LAST); in fm_eth_tx_port_parameter_init() 351 muram_writew(&txbd->len, 0); in fm_eth_tx_port_parameter_init() 352 muram_writew(&txbd->buf_ptr_hi, 0); in fm_eth_tx_port_parameter_init() 353 out_be32(&txbd->buf_ptr_lo, 0); in fm_eth_tx_port_parameter_init() 354 txbd++; in fm_eth_tx_port_parameter_init() 518 struct fm_port_bd *txbd, *txbd_base; in fm_eth_send() local 524 txbd = fm_eth->cur_txbd; in fm_eth_send() 527 for (i = 0; muram_readw(&txbd->status) & TxBD_READY; i++) { in fm_eth_send() [all …]
|
/external/u-boot/drivers/net/ |
D | mcffec.c | 131 while ((info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_READY) && in fec_send() 140 info->txbd[info->txIdx].cbd_bufaddr = (uint) packet; in fec_send() 141 info->txbd[info->txIdx].cbd_datlen = length; 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() 489 info->txbd[i].cbd_sc = BD_ENET_TX_LAST | BD_ENET_TX_TC; in fec_init() 490 info->txbd[i].cbd_datlen = 0; /* Reset */ in fec_init() [all …]
|
D | fsl_mcdmafec.c | 189 pUsedTbd = &info->txbd[info->usedTbdIdx]; in fec_send() 221 pTbd = &info->txbd[info->txIdx]; in fec_send() 237 return (int)(info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_STATS); in fec_send() 408 info->txbd[i].cbd_sc = 0; in fec_init() 409 info->txbd[i].cbd_datlen = 0; in fec_init() 410 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]); in fec_init() 412 info->txbd[CONFIG_SYS_TX_ETH_BUFFER - 1].cbd_sc |= BD_ENET_TX_WRAP; in fec_init() 444 (s8 *) info->txbd, /*Source Address */ in fec_init() 528 fec_info[i].txbd = in mcdmafec_initialize() 529 (cbd_t *)((u32)fec_info[i].txbd + tmp + in mcdmafec_initialize() [all …]
|
D | mpc8xx_fec.c | 105 cbd_t txbd[TX_BUF_CNT]; /* Tx BD */ member 182 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && in fec_send() 190 out_be32(&rtx->txbd[txIdx].cbd_bufaddr, (uint)packet); in fec_send() 191 out_be16(&rtx->txbd[txIdx].cbd_datlen, length); in fec_send() 192 setbits_be16(&rtx->txbd[txIdx].cbd_sc, in fec_send() 200 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && in fec_send() 209 rc = in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_STATS; in fec_send() 582 out_be16(&rtx->txbd[i].cbd_sc, BD_ENET_TX_LAST | BD_ENET_TX_TC); in fec_init() 583 out_be16(&rtx->txbd[i].cbd_datlen, 0); /* Reset */ in fec_init() 584 out_be32(&rtx->txbd[i].cbd_bufaddr, (uint)txbuf); in fec_init() [all …]
|
D | tsec.c | 245 in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_READY; in tsec_send() 253 out_be32(&priv->txbd[priv->tx_idx].bufptr, (u32)packet); in tsec_send() 254 out_be16(&priv->txbd[priv->tx_idx].length, length); in tsec_send() 255 status = in_be16(&priv->txbd[priv->tx_idx].status); in tsec_send() 256 out_be16(&priv->txbd[priv->tx_idx].status, status | in tsec_send() 264 in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_READY; in tsec_send() 273 result = in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_STATS; in tsec_send() 489 out_be32(®s->tbase, (u32)&priv->txbd[0]); in startup_tsec() 503 out_be16(&priv->txbd[i].status, 0); in startup_tsec() 504 out_be16(&priv->txbd[i].length, 0); in startup_tsec() [all …]
|
/external/u-boot/drivers/serial/ |
D | serial_mpc8xx.c | 32 cbd_t txbd; /* Tx BD */ member 122 out_be32(&rtx->txbd.cbd_bufaddr, (__force uint)&rtx->txbuf); in smc_init() 123 out_be16(&rtx->txbd.cbd_sc, 0); in smc_init() 145 setbits_be16(&rtx->txbd.cbd_sc, BD_SC_WRAP); in smc_init() 182 out_be16(&rtx->txbd.cbd_datlen, 1); in smc_putc() 183 setbits_be16(&rtx->txbd.cbd_sc, BD_SC_READY); in smc_putc() 185 while (in_be16(&rtx->txbd.cbd_sc) & BD_SC_READY) in smc_putc()
|
/external/u-boot/arch/m68k/include/asm/ |
D | fsl_mcdmafec.h | 74 cbd_t *txbd; /* Tx BD */ member
|
D | fec.h | 97 cbd_t *txbd; /* Tx BD */ member
|
/external/u-boot/include/ |
D | tsec.h | 396 struct txbd8 __iomem txbd[TX_BUF_CNT]; member
|