Home
last modified time | relevance | path

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

/u-boot/drivers/net/
A Dzynq_gem.c184 #define RX_BUF 32 macro
190 #define BD_SEPRN_SPACE (RX_BUF * sizeof(struct emac_bd))
389 memset(priv->rx_bd, 0, RX_BUF * sizeof(struct emac_bd)); in zynq_gem_init()
391 for (i = 0; i < RX_BUF; i++) { in zynq_gem_init()
627 if ((++priv->rxbd_current) >= RX_BUF) in zynq_gem_free_pkt()
685 priv->rxbuffers = memalign(ARCH_DMA_MINALIGN, RX_BUF * PKTSIZE_ALIGN); in zynq_gem_probe()
689 memset(priv->rxbuffers, 0, RX_BUF * PKTSIZE_ALIGN); in zynq_gem_probe()
691 flush_dcache_range(addr, addr + roundup(RX_BUF * PKTSIZE_ALIGN, ARCH_DMA_MINALIGN)); in zynq_gem_probe()

Completed in 3 milliseconds