Searched refs:PKTBUFSRX (Results 1 – 21 of 21) sorted by relevance
/external/u-boot/drivers/net/ |
D | fsl_mcdmafec.c | 26 #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()
|
D | tsec.c | 299 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()
|
D | mcffec.c | 31 #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()
|
D | ftgmac100.c | 389 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()
|
D | ftmac100.c | 24 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()
|
D | mpc8xx_fec.c | 104 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()
|
D | ep93xx_eth.h | 24 #define NUMRXDESC PKTBUFSRX
|
D | ethoc.c | 335 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()
|
D | sni_ave.c | 487 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()
|
D | bcm-sf2-eth.c | 128 if (++i >= PKTBUFSRX) in bcm_sf2_eth_receive()
|
D | pic32_eth.c | 18 #define MAX_RX_DESCR PKTBUFSRX
|
D | cpsw.c | 37 #define NUM_DESCS (PKTBUFSRX * 2) 900 for (i = 0; i < PKTBUFSRX; i++) { in _cpsw_init()
|
D | dc2114x.c | 115 #define NUM_RX_DESC PKTBUFSRX
|
D | eepro100.c | 191 #define NUM_RX_DESC PKTBUFSRX
|
D | uli526x.c | 35 #define RX_DESC_CNT PKTBUFSRX /* Allocated Rx descriptors */
|
/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
D | ether_fcc.c | 111 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/ |
D | eth_legacy.c | 33 } 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()
|
D | net.c | 191 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/ |
D | net.h | 30 # define PKTBUFSRX CONFIG_SYS_RX_ETH_BUFFER macro 32 # define PKTBUFSRX 4 macro 524 extern uchar *net_rx_packets[PKTBUFSRX]; /* Receive packets */
|
D | tsec.h | 397 struct rxbd8 __iomem rxbd[PKTBUFSRX];
|
/external/u-boot/doc/ |
D | README.drivers.eth | 160 if (++i >= PKTBUFSRX)
|