Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/csiostor/
Dcsio_hw_t5.c257 u32 edc_size, mc_size, win_pf, mem_reg, mem_aperture, mem_base; in csio_t5_memory_rw() local
272 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()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c500 u32 edc_size, mc_size, mem_reg; in t4_memory_rw_init() local
509 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()