Searched refs:edc_size (Results 1 – 2 of 2) sorted by relevance
257 u32 edc_size, mc_size, win_pf, mem_reg, mem_aperture, mem_base; in csio_t5_memory_rw() local272 edc_size = EDRAM0_SIZE_G(csio_rd_reg32(hw, MA_EDRAM0_BAR_A)); in csio_t5_memory_rw()274 memoffset = (mtype * (edc_size * 1024 * 1024)); in csio_t5_memory_rw()278 memoffset = (MEM_MC0 * edc_size + mc_size) * 1024 * 1024; in csio_t5_memory_rw()
500 u32 edc_size, mc_size, mem_reg; in t4_memory_rw_init() local509 edc_size = EDRAM0_SIZE_G(t4_read_reg(adap, MA_EDRAM0_BAR_A)); in t4_memory_rw_init()511 *mem_off = 2 * (edc_size * 1024 * 1024); in t4_memory_rw_init()513 *mem_off = (mtype * (edc_size * 1024 * 1024)); in t4_memory_rw_init()517 *mem_off = (MEM_MC0 * edc_size + mc_size) * 1024 * 1024; in t4_memory_rw_init()