Home
last modified time | relevance | path

Searched refs:PKTBUFSRX (Results 1 – 21 of 21) sorted by relevance

/external/u-boot/drivers/net/
Dfsl_mcdmafec.c26 #define LAST_PKTBUFSRX PKTBUFSRX - 1
292 if ((info->rxIdx) == (PKTBUFSRX - 1)) in fec_recv()
303 info->rxIdx = (info->rxIdx + 1) % PKTBUFSRX; in fec_recv()
398 for (i = 0; i < PKTBUFSRX; i++) { in fec_init()
403 info->rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP; in fec_init()
530 (PKTBUFSRX * sizeof(cbd_t))); in mcdmafec_initialize()
539 (PKTBUFSRX * sizeof(cbd_t))); in mcdmafec_initialize()
Dtsec.c299 if ((priv->rx_idx + 1) == PKTBUFSRX) in tsec_recv()
303 priv->rx_idx = (priv->rx_idx + 1) % PKTBUFSRX; in tsec_recv()
352 if ((priv->rx_idx + 1) == PKTBUFSRX) in tsec_free_pkt()
356 priv->rx_idx = (priv->rx_idx + 1) % PKTBUFSRX; in tsec_free_pkt()
445 if ((priv->rx_idx + 1) == PKTBUFSRX) in redundant_init()
448 priv->rx_idx = (priv->rx_idx + 1) % PKTBUFSRX; in redundant_init()
493 for (i = 0; i < PKTBUFSRX; i++) { in startup_tsec()
498 status = in_be16(&priv->rxbd[PKTBUFSRX - 1].status); in startup_tsec()
499 out_be16(&priv->rxbd[PKTBUFSRX - 1].status, status | RXBD_WRAP); in startup_tsec()
Dmcffec.c31 #define LAST_PKTBUFSRX PKTBUFSRX - 1
231 info->rxbd[PKTBUFSRX - 1].cbd_sc = BD_ENET_RX_W_E; in fec_recv()
476 for (i = 0; i < PKTBUFSRX; i++) { in fec_init()
481 info->rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP; in fec_init()
532 memset(info->rxbd, 0, PKTBUFSRX * sizeof(cbd_t)); in fec_halt()
569 (PKTBUFSRX * sizeof(cbd_t))); in mcffec_initialize()
578 (PKTBUFSRX * sizeof(cbd_t))); in mcffec_initialize()
Dftgmac100.c389 sizeof(*rxdes) * PKTBUFSRX, &priv->rxdes_dma); in ftgmac100_init()
392 memset(rxdes, 0, sizeof(*rxdes) * PKTBUFSRX); in ftgmac100_init()
408 rxdes[PKTBUFSRX - 1].rxdes0 = FTGMAC100_RXDES0_EDORR; in ftgmac100_init()
422 for (i = 0; i < PKTBUFSRX; i++) { in ftgmac100_init()
500 priv->rx_index = (priv->rx_index + 1) % PKTBUFSRX; in ftgmac100_recv()
Dftmac100.c24 struct ftmac100_rxdes rxdes[PKTBUFSRX];
103 rxdes[PKTBUFSRX - 1].rxdes1 = FTMAC100_RXDES1_EDORR; in _ftmac100_init()
105 for (i = 0; i < PKTBUFSRX; i++) { in _ftmac100_init()
149 priv->rx_index = (priv->rx_index + 1) % PKTBUFSRX; in _ftmac100_free_pkt()
Dmpc8xx_fec.c104 cbd_t rxbd[PKTBUFSRX]; /* Rx BD */
254 if ((rxIdx + 1) >= PKTBUFSRX) { in fec_recv()
255 out_be16(&rtx->rxbd[PKTBUFSRX - 1].cbd_sc, in fec_recv()
569 for (i = 0; i < PKTBUFSRX; i++) { in fec_init()
574 setbits_be16(&rtx->rxbd[PKTBUFSRX - 1].cbd_sc, BD_ENET_RX_WRAP); in fec_init()
Dep93xx_eth.h24 #define NUMRXDESC PKTBUFSRX
Dethoc.c335 priv->num_rx = PKTBUFSRX; in ethoc_init_common()
707 (1 + PKTBUFSRX) * PKTSIZE_ALIGN); in ethoc_probe()
790 for (count = 0; count < PKTBUFSRX; ++count) { in ethoc_recv()
Dsni_ave.c487 writel(AVE_DESC_SIZE(priv, PKTBUFSRX) << 16, priv->iobase + AVE_RXDC); in ave_start()
488 for (i = 0; i < PKTBUFSRX; i++) { in ave_start()
612 if (++priv->rx_pos >= PKTBUFSRX) in ave_free_packet()
Dbcm-sf2-eth.c128 if (++i >= PKTBUFSRX) in bcm_sf2_eth_receive()
Dpic32_eth.c18 #define MAX_RX_DESCR PKTBUFSRX
Dcpsw.c37 #define NUM_DESCS (PKTBUFSRX * 2)
900 for (i = 0; i < PKTBUFSRX; i++) { in _cpsw_init()
Ddc2114x.c115 #define NUM_RX_DESC PKTBUFSRX
Deepro100.c191 #define NUM_RX_DESC PKTBUFSRX
Duli526x.c35 #define RX_DESC_CNT PKTBUFSRX /* Allocated Rx descriptors */
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dether_fcc.c111 cbd_t rxbd[PKTBUFSRX];
196 if ((rxIdx + 1) >= PKTBUFSRX) { in fec_recv()
197 rtx.rxbd[PKTBUFSRX - 1].cbd_sc = (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY); in fec_recv()
261 for (i = 0; i < PKTBUFSRX; i++) in fec_init()
267 rtx.rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP; in fec_init()
/external/u-boot/net/
Deth_legacy.c33 } eth_rcv_bufs[PKTBUFSRX];
403 if ((eth_rcv_last+1) % PKTBUFSRX == eth_rcv_current) in eth_save_packet()
413 eth_rcv_last = (eth_rcv_last + 1) % PKTBUFSRX; in eth_save_packet()
436 eth_rcv_current = (eth_rcv_current + 1) % PKTBUFSRX; in eth_receive()
Dnet.c191 static uchar net_pkt_buf[(PKTBUFSRX+1) * PKTSIZE_ALIGN + PKTALIGN];
193 uchar *net_rx_packets[PKTBUFSRX];
385 for (i = 0; i < PKTBUFSRX; i++) { in net_init()
/external/u-boot/include/
Dnet.h30 # define PKTBUFSRX CONFIG_SYS_RX_ETH_BUFFER macro
32 # define PKTBUFSRX 4 macro
524 extern uchar *net_rx_packets[PKTBUFSRX]; /* Receive packets */
Dtsec.h397 struct rxbd8 __iomem rxbd[PKTBUFSRX];
/external/u-boot/doc/
DREADME.drivers.eth160 if (++i >= PKTBUFSRX)