Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c1099 off_t ddr_size; in tavor_hw_init() local
1150 status = ddi_dev_regsize(state->ts_dip, TAVOR_DDR_BAR, &ddr_size); in tavor_hw_init()
1173 ddr_size = TAVOR_DDR_SIZE_MIN; in tavor_hw_init()
1176 state->ts_cfg_profile_setting = ddr_size; in tavor_hw_init()
1179 &state->ts_reg_ddr_baseaddr, 0, ddr_size, &state->ts_reg_accattr, in tavor_hw_init()
1194 if (status == DDI_ME_NORESOURCES && ddr_size > TAVOR_DDR_SIZE_128) { in tavor_hw_init()
H A Dtavor_ioctl.c1334 uint64_t ddr_size; in tavor_ioctl_ddr_read() local
1369 ddr_size = (state->ts_ddr.ddr_endaddr - state->ts_ddr.ddr_baseaddr + 1); in tavor_ioctl_ddr_read()
1370 if ((uint64_t)rdreg.tdr_offset >= ddr_size) { in tavor_ioctl_ddr_read()
H A Dtavor_rsrc.c577 uint64_t ddr_size, fw_size; in tavor_rsrc_init_phase2() local
596 ddr_size = state->ts_ddr.ddr_endaddr - state->ts_ddr.ddr_baseaddr + 1; in tavor_rsrc_init_phase2()
610 (void *)(uintptr_t)state->ts_ddr.ddr_baseaddr, (ddr_size - fw_size), in tavor_rsrc_init_phase2()