Lines Matching refs:dram_size
399 prop->dram_size = DRAM_PHYS_DEFAULT_SIZE; in goya_set_fixed_properties()
400 prop->dram_end_address = prop->dram_base_address + prop->dram_size; in goya_set_fixed_properties()
893 WREG32(mmMMU_LOG2_DDR_SIZE, ilog2(prop->dram_size)); in goya_late_init()
954 region->region_size = hdev->asic_prop.dram_size; in goya_set_pci_memory_regions()
5087 u64 dram_size; in goya_cpucp_info_get() local
5099 dram_size = le64_to_cpu(prop->cpucp_info.dram_size); in goya_cpucp_info_get()
5100 if (dram_size) { in goya_cpucp_info_get()
5101 if ((!is_power_of_2(dram_size)) || in goya_cpucp_info_get()
5102 (dram_size < DRAM_PHYS_DEFAULT_SIZE)) { in goya_cpucp_info_get()
5105 dram_size); in goya_cpucp_info_get()
5106 dram_size = DRAM_PHYS_DEFAULT_SIZE; in goya_cpucp_info_get()
5109 prop->dram_size = dram_size; in goya_cpucp_info_get()
5110 prop->dram_end_address = prop->dram_base_address + dram_size; in goya_cpucp_info_get()