Home
last modified time | relevance | path

Searched refs:txIdx (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dether_fcc.c102 static uint txIdx; /* index of the current TX buffer */ variable
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/
Dmcffec.c131 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()
182 info->txIdx = (info->txIdx + 1) % TX_BUF_CNT; in fec_send()
469 info->txIdx = 0; in fec_init()
[all …]
Dmpc8xx_fec.c95 static uint txIdx; /* index of the current TX buffer */ variable
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()
211 txIdx = (txIdx + 1) % TX_BUF_CNT; in fec_send()
559 txIdx = 0; in fec_init()
609 txIdx = 0; in fec_init()
Dfsl_mcdmafec.c221 pTbd = &info->txbd[info->txIdx]; in fec_send()
225 info->txIdx = (info->txIdx + 1) % CONFIG_SYS_TX_ETH_BUFFER; in fec_send()
237 return (int)(info->txbd[info->txIdx].cbd_sc & BD_ENET_TX_STATS); in fec_send()
394 info->txIdx = 0; in fec_init()
/external/u-boot/arch/m68k/include/asm/
Dfsl_mcdmafec.h76 uint txIdx; member
Dfec.h99 uint txIdx; member