Home
last modified time | relevance | path

Searched refs:rx_idx (Results 1 – 8 of 8) sorted by relevance

/u-boot/drivers/net/
A Dtsec.c325 uchar *packet = net_rx_packets[priv->rx_idx]; in tsec_recv()
333 out_be16(&priv->rxbd[priv->rx_idx].length, 0); in tsec_recv()
337 if ((priv->rx_idx + 1) == PKTBUFSRX) in tsec_recv()
341 priv->rx_idx = (priv->rx_idx + 1) % PKTBUFSRX; in tsec_recv()
386 out_be16(&priv->rxbd[priv->rx_idx].length, 0); in tsec_free_pkt()
390 if ((priv->rx_idx + 1) == PKTBUFSRX) in tsec_free_pkt()
394 priv->rx_idx = (priv->rx_idx + 1) % PKTBUFSRX; in tsec_free_pkt()
487 out_be16(&priv->rxbd[priv->rx_idx].length, 0); in redundant_init()
489 if ((priv->rx_idx + 1) == PKTBUFSRX) in redundant_init()
492 priv->rx_idx = (priv->rx_idx + 1) % PKTBUFSRX; in redundant_init()
[all …]
A Dmcffec.c334 info->rx_idx = 0; in mcffec_init()
456 length = info->rxbd[info->rx_idx].cbd_datlen; in mcffec_recv()
458 if (info->rxbd[info->rx_idx].cbd_sc & 0x003f) { in mcffec_recv()
461 info->rxbd[info->rx_idx].cbd_sc); in mcffec_recv()
468 *packetp = net_rx_packets[info->rx_idx]; in mcffec_recv()
474 info->rxbd[info->rx_idx].cbd_datlen = 0; in mcffec_recv()
477 if (info->rx_idx == LAST_PKTBUFSRX) { in mcffec_recv()
479 info->rx_idx = 0; in mcffec_recv()
481 info->rxbd[info->rx_idx].cbd_sc = BD_ENET_RX_EMPTY; in mcffec_recv()
482 info->rx_idx++; in mcffec_recv()
[all …]
A Dpch_gbe.c75 priv->rx_idx = 0; in pch_gbe_reset()
300 rx_desc = &priv->rx_desc[priv->rx_idx]; in pch_gbe_recv()
328 if (++priv->rx_idx >= PCH_GBE_DESC_NUM) in pch_gbe_free_pkt()
329 priv->rx_idx = 0; in pch_gbe_free_pkt()
330 rx_swp = priv->rx_idx; in pch_gbe_free_pkt()
A Dfsl_mcdmafec.c280 info->rx_idx = 0; in fec_init()
419 cbd_t *prbd = &info->rxbd[info->rx_idx]; in mcdmafec_recv()
465 if (info->rx_idx == (PKTBUFSRX - 1)) in mcdmafec_recv()
476 info->rx_idx = (info->rx_idx + 1) % PKTBUFSRX; in mcdmafec_recv()
A Dpch_gbe.h293 int rx_idx; member
/u-boot/arch/m68k/include/asm/
A Dfsl_mcdmafec.h75 uint rx_idx; member
A Dfec.h98 uint rx_idx; member
/u-boot/include/
A Dtsec.h413 uint rx_idx; /* index of the current RX buffer */ member

Completed in 15 milliseconds