Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dzynq_gem.c697 void *bd_space; in zynq_gem_probe() local
712 bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE); in zynq_gem_probe()
713 if (!bd_space) in zynq_gem_probe()
716 mmu_set_region_dcache_behaviour((phys_addr_t)bd_space, in zynq_gem_probe()
720 priv->tx_bd = (struct emac_bd *)bd_space; in zynq_gem_probe()
721 priv->rx_bd = (struct emac_bd *)((ulong)bd_space + BD_SEPRN_SPACE); in zynq_gem_probe()
H A Dmvneta.c1687 void *bd_space; in mvneta_probe() local
1700 bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE); in mvneta_probe()
1701 flush_dcache_range((ulong)bd_space, (ulong)bd_space + BD_SPACE); in mvneta_probe()
1702 mmu_set_region_dcache_behaviour((phys_addr_t)bd_space, BD_SPACE, in mvneta_probe()
1704 buffer_loc.tx_descs = (struct mvneta_tx_desc *)bd_space; in mvneta_probe()
1709 ((phys_addr_t)bd_space + size); in mvneta_probe()
1712 buffer_loc.rx_buffers = (phys_addr_t)(bd_space + size); in mvneta_probe()
H A Dmvpp2.c5335 void *bd_space; in mvpp2_base_probe() local
5351 bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE); in mvpp2_base_probe()
5352 mmu_set_region_dcache_behaviour((unsigned long)bd_space, in mvpp2_base_probe()
5355 buffer_loc.aggr_tx_descs = (struct mvpp2_tx_desc *)bd_space; in mvpp2_base_probe()
5359 (struct mvpp2_tx_desc *)((unsigned long)bd_space + size); in mvpp2_base_probe()
5363 (struct mvpp2_rx_desc *)((unsigned long)bd_space + size); in mvpp2_base_probe()
5368 (unsigned long *)((unsigned long)bd_space + size); in mvpp2_base_probe()
5377 (unsigned long *)((unsigned long)bd_space + size); in mvpp2_base_probe()
5382 memset(bd_space, 0, size); in mvpp2_base_probe()