Searched refs:ddr_size (Results 1 – 3 of 3) sorted by relevance
1099 off_t ddr_size; in tavor_hw_init() local1150 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()
1334 uint64_t ddr_size; in tavor_ioctl_ddr_read() local1369 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()
577 uint64_t ddr_size, fw_size; in tavor_rsrc_init_phase2() local596 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()