Home
last modified time | relevance | path

Searched refs:txbd (Results 1 – 10 of 10) sorted by relevance

/u-boot/arch/powerpc/cpu/mpc85xx/
A Dether_fcc.c112 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()
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()
[all …]
/u-boot/drivers/net/
A Dmcffec.c53 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()
356 info->txbd[i].cbd_datlen = 0; /* Reset */ 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()
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()
431 info->txbd[info->tx_idx].cbd_sc, in mcffec_send()
[all …]
A Dfsl_mcdmafec.c56 info->txbd = in init_eth_info()
57 (cbd_t *)((u32)info->txbd + tmp + in init_eth_info()
59 tmp = (u32)info->txbd; in init_eth_info()
68 info->txbd = in init_eth_info()
76 printf("rxbd %x txbd %x\n", (int)info->rxbd, (int)info->txbd); in init_eth_info()
295 info->txbd[i].cbd_sc = 0; in fec_init()
296 info->txbd[i].cbd_datlen = 0; in fec_init()
297 info->txbd[i].cbd_bufaddr = (uint) (&info->txbuf[0]); in fec_init()
331 (s8 *)info->txbd, in fec_init()
364 p_used_tbd = &info->txbd[info->used_tbd_idx]; in mcdmafec_send()
[all …]
A Dmpc8xx_fec.c109 cbd_t txbd[TX_BUF_CNT]; /* Tx BD */ member
186 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && in fec_send()
194 out_be32(&rtx->txbd[txIdx].cbd_bufaddr, (uint)packet); in fec_send()
195 out_be16(&rtx->txbd[txIdx].cbd_datlen, length); in fec_send()
196 setbits_be16(&rtx->txbd[txIdx].cbd_sc, in fec_send()
204 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && in fec_send()
213 rc = in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_STATS; in fec_send()
586 out_be16(&rtx->txbd[i].cbd_sc, BD_ENET_TX_LAST | BD_ENET_TX_TC); in fec_init()
587 out_be16(&rtx->txbd[i].cbd_datlen, 0); /* Reset */ in fec_init()
588 out_be32(&rtx->txbd[i].cbd_bufaddr, (uint)txbuf); in fec_init()
[all …]
A Dtsec.c283 in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_READY; in tsec_send()
291 out_be32(&priv->txbd[priv->tx_idx].bufptr, (u32)packet); in tsec_send()
292 out_be16(&priv->txbd[priv->tx_idx].length, length); in tsec_send()
293 status = in_be16(&priv->txbd[priv->tx_idx].status); in tsec_send()
294 out_be16(&priv->txbd[priv->tx_idx].status, status | in tsec_send()
302 in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_READY; in tsec_send()
533 out_be32(&regs->tbase, (u32)&priv->txbd[0]); in startup_tsec()
547 out_be16(&priv->txbd[i].status, 0); in startup_tsec()
548 out_be16(&priv->txbd[i].length, 0); in startup_tsec()
549 out_be32(&priv->txbd[i].bufptr, 0); in startup_tsec()
[all …]
/u-boot/drivers/serial/
A Dserial_mpc8xx.c34 cbd_t txbd; /* Tx BD */ member
126 out_be32(&rtx->txbd.cbd_bufaddr, (__force uint)&rtx->txbuf); in serial_mpc8xx_probe()
127 out_be16(&rtx->txbd.cbd_sc, 0); in serial_mpc8xx_probe()
149 setbits_be16(&rtx->txbd.cbd_sc, BD_SC_WRAP); in serial_mpc8xx_probe()
186 out_be16(&rtx->txbd.cbd_datlen, 1); in serial_mpc8xx_putc()
187 setbits_be16(&rtx->txbd.cbd_sc, BD_SC_READY); in serial_mpc8xx_putc()
189 while (in_be16(&rtx->txbd.cbd_sc) & BD_SC_READY) in serial_mpc8xx_putc()
/u-boot/drivers/net/fm/
A Deth.c340 struct fm_port_bd *txbd; in fm_eth_tx_port_parameter_init() local
379 muram_writew(&txbd->len, 0); in fm_eth_tx_port_parameter_init()
380 muram_writew(&txbd->buf_ptr_hi, 0); in fm_eth_tx_port_parameter_init()
381 out_be32(&txbd->buf_ptr_lo, 0); in fm_eth_tx_port_parameter_init()
382 txbd++; in fm_eth_tx_port_parameter_init()
580 struct fm_port_bd *txbd, *txbd_base; in fm_eth_send() local
590 txbd = fm_eth->cur_txbd; in fm_eth_send()
604 muram_writew(&txbd->len, len); in fm_eth_send()
628 txbd++; in fm_eth_send()
631 txbd = txbd_base; in fm_eth_send()
[all …]
/u-boot/arch/m68k/include/asm/
A Dfsl_mcdmafec.h74 cbd_t *txbd; /* Tx BD */ member
A Dfec.h97 cbd_t *txbd; /* Tx BD */ member
/u-boot/include/
A Dtsec.h402 struct txbd8 __iomem txbd[TX_BUF_CNT]; member

Completed in 20 milliseconds