Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dtsec.c284 while (!(in_be16(&priv->rxbd[priv->rx_idx].status) & RXBD_EMPTY)) { in tsec_recv()
285 int length = in_be16(&priv->rxbd[priv->rx_idx].length); in tsec_recv()
286 u16 status = in_be16(&priv->rxbd[priv->rx_idx].status); in tsec_recv()
287 uchar *packet = net_rx_packets[priv->rx_idx]; in tsec_recv()
295 out_be16(&priv->rxbd[priv->rx_idx].length, 0); in tsec_recv()
299 if ((priv->rx_idx + 1) == PKTBUFSRX) in tsec_recv()
301 out_be16(&priv->rxbd[priv->rx_idx].status, status); in tsec_recv()
303 priv->rx_idx = (priv->rx_idx + 1) % PKTBUFSRX; in tsec_recv()
320 if (!(in_be16(&priv->rxbd[priv->rx_idx].status) & RXBD_EMPTY)) { in tsec_recv()
321 int length = in_be16(&priv->rxbd[priv->rx_idx].length); in tsec_recv()
[all …]
Dpch_gbe.c71 priv->rx_idx = 0; in pch_gbe_reset()
296 rx_desc = &priv->rx_desc[priv->rx_idx]; in pch_gbe_recv()
324 if (++priv->rx_idx >= PCH_GBE_DESC_NUM) in pch_gbe_free_pkt()
325 priv->rx_idx = 0; in pch_gbe_free_pkt()
326 rx_swp = priv->rx_idx; in pch_gbe_free_pkt()
Dpch_gbe.h293 int rx_idx; member
/external/u-boot/include/
Dtsec.h407 uint rx_idx; /* index of the current RX buffer */ member