Searched refs:txIdx (Results 1 – 6 of 6) sorted by relevance
102 static uint txIdx; /* index of the current TX buffer */ variable134 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()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()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()165 txIdx = (txIdx + 1) % TX_BUF_CNT; in fec_send()[all …]
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()182 info->txIdx = (info->txIdx + 1) % TX_BUF_CNT; in fec_send()469 info->txIdx = 0; in fec_init()[all …]
95 static uint txIdx; /* index of the current TX buffer */ variable182 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()
221 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()
76 uint txIdx; member
99 uint txIdx; member