Lines Matching refs:dram_size
395 prop->dram_size = DRAM_PHYS_DEFAULT_SIZE; in goya_get_fixed_properties()
396 prop->dram_end_address = prop->dram_base_address + prop->dram_size; in goya_get_fixed_properties()
747 WREG32(mmMMU_LOG2_DDR_SIZE, ilog2(prop->dram_size)); in goya_late_init()
4059 } else if (addr < DRAM_PHYS_BASE + hdev->asic_prop.dram_size) { in goya_debugfs_read32()
4115 } else if (addr < DRAM_PHYS_BASE + hdev->asic_prop.dram_size) { in goya_debugfs_write32()
4160 DRAM_PHYS_BASE + hdev->asic_prop.dram_size - sizeof(u64)) { in goya_debugfs_read64()
4203 DRAM_PHYS_BASE + hdev->asic_prop.dram_size - sizeof(u64)) { in goya_debugfs_write64()
5115 u64 dram_size; in goya_cpucp_info_get() local
5125 dram_size = le64_to_cpu(prop->cpucp_info.dram_size); in goya_cpucp_info_get()
5126 if (dram_size) { in goya_cpucp_info_get()
5127 if ((!is_power_of_2(dram_size)) || in goya_cpucp_info_get()
5128 (dram_size < DRAM_PHYS_DEFAULT_SIZE)) { in goya_cpucp_info_get()
5131 dram_size); in goya_cpucp_info_get()
5132 dram_size = DRAM_PHYS_DEFAULT_SIZE; in goya_cpucp_info_get()
5135 prop->dram_size = dram_size; in goya_cpucp_info_get()
5136 prop->dram_end_address = prop->dram_base_address + dram_size; in goya_cpucp_info_get()