Searched refs:bd_space (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/drivers/net/ |
D | zynq_gem.c | 630 void *bd_space; in zynq_gem_probe() local 642 bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE); in zynq_gem_probe() 643 if (!bd_space) in zynq_gem_probe() 646 mmu_set_region_dcache_behaviour((phys_addr_t)bd_space, in zynq_gem_probe() 650 priv->tx_bd = (struct emac_bd *)bd_space; in zynq_gem_probe() 651 priv->rx_bd = (struct emac_bd *)((ulong)bd_space + BD_SEPRN_SPACE); in zynq_gem_probe()
|
D | mvneta.c | 1691 void *bd_space; in mvneta_probe() local 1704 bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE); in mvneta_probe() 1705 flush_dcache_range((ulong)bd_space, (ulong)bd_space + BD_SPACE); in mvneta_probe() 1706 mmu_set_region_dcache_behaviour((phys_addr_t)bd_space, BD_SPACE, in mvneta_probe() 1708 buffer_loc.tx_descs = (struct mvneta_tx_desc *)bd_space; in mvneta_probe() 1713 ((phys_addr_t)bd_space + size); in mvneta_probe() 1716 buffer_loc.rx_buffers = (phys_addr_t)(bd_space + size); in mvneta_probe()
|
D | mvpp2.c | 5355 void *bd_space; in mvpp2_base_probe() local 5371 bd_space = memalign(1 << MMU_SECTION_SHIFT, BD_SPACE); in mvpp2_base_probe() 5372 mmu_set_region_dcache_behaviour((unsigned long)bd_space, in mvpp2_base_probe() 5375 buffer_loc.aggr_tx_descs = (struct mvpp2_tx_desc *)bd_space; in mvpp2_base_probe() 5379 (struct mvpp2_tx_desc *)((unsigned long)bd_space + size); in mvpp2_base_probe() 5383 (struct mvpp2_rx_desc *)((unsigned long)bd_space + size); in mvpp2_base_probe() 5388 (unsigned long *)((unsigned long)bd_space + size); in mvpp2_base_probe() 5397 (unsigned long *)((unsigned long)bd_space + size); in mvpp2_base_probe() 5402 memset(bd_space, 0, size); in mvpp2_base_probe()
|