Home
last modified time | relevance | path

Searched refs:total_mem (Results 1 – 23 of 23) sorted by relevance

/OK3568_Linux_fs/u-boot/board/freescale/b4860qds/
H A Dddr.c201 unsigned long long total_mem, current_mem_base, total_ctlr_mem; in step_assign_addresses() local
205 total_mem = 0; in step_assign_addresses()
231 pinfo->common_timing_params[i].total_mem = in step_assign_addresses()
233 total_mem = current_mem_base + total_ctlr_mem; in step_assign_addresses()
258 pinfo->common_timing_params[i].total_mem = in step_assign_addresses()
260 total_mem += total_ctlr_mem; in step_assign_addresses()
263 debug("Total mem by %s is 0x%llx\n", __func__, total_mem); in step_assign_addresses()
265 return total_mem; in step_assign_addresses()
/OK3568_Linux_fs/u-boot/drivers/ddr/fsl/
H A Dmain.c244 unsigned long long total_mem, current_mem_base, total_ctlr_mem; in __step_assign_addresses() local
310 total_mem = 0; in __step_assign_addresses()
355 pinfo->common_timing_params[i].total_mem = in __step_assign_addresses()
357 total_mem = current_mem_base + total_ctlr_mem; in __step_assign_addresses()
362 current_mem_base = total_mem; in __step_assign_addresses()
376 pinfo->common_timing_params[i].total_mem = in __step_assign_addresses()
378 total_mem += total_ctlr_mem; in __step_assign_addresses()
401 pinfo->common_timing_params[i].total_mem = in __step_assign_addresses()
403 total_mem += total_ctlr_mem; in __step_assign_addresses()
406 debug("Total mem by %s is 0x%llx\n", __func__, total_mem); in __step_assign_addresses()
[all …]
H A Dutil.c127 unsigned long long size = memctl_common_params->total_mem; in __fsl_ddr_set_lawbar()
H A Dinteractive.c197 COMMON_TIMING(total_mem), in lowest_common_dimm_parameters_edit()
481 plcd_dimm_params->total_mem, in print_lowest_common_dimm_parameters()
482 plcd_dimm_params->total_mem / 0x100000); in print_lowest_common_dimm_parameters()
H A Dctrl_regs.c2405 ea = sa + common_dimm->total_mem - 1; in compute_fsl_memctl_config_regs()
2419 ea = sa + common_dimm->total_mem - 1; in compute_fsl_memctl_config_regs()
/OK3568_Linux_fs/kernel/arch/mips/sgi-ip30/
H A Dip30-setup.c49 unsigned long total_mem; in ip30_mem_init() local
55 total_mem = 0; in ip30_mem_init()
69 total_mem += size; in ip30_mem_init()
77 pr_info("Detected %luMB of physical memory.\n", MEM_SHIFT(total_mem)); in ip30_mem_init()
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Defi.c976 unsigned long total_mem = 0; in find_memmap_space() local
1024 if (total_mem + (ae - as) > mem_limit) in find_memmap_space()
1025 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space()
1053 unsigned long total_mem = 0; in efi_memmap_init() local
1143 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init()
1144 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init()
1150 total_mem += ae - as; in efi_memmap_init()
1156 total_mem += ae - as; in efi_memmap_init()
1165 return total_mem; in efi_memmap_init()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dsetup.c491 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
495 total_mem = memblock_phys_mem_size(); in reserve_crashkernel()
498 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
501 ret = parse_crashkernel_high(boot_command_line, total_mem, in reserve_crashkernel()
554 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.c121 ctx->total_mem += ctx->vm->gran; in vmw_validation_mem_alloc()
160 if (ctx->vm && ctx->total_mem) { in vmw_validation_mem_free()
161 ctx->vm->unreserve_mem(ctx->vm, ctx->total_mem); in vmw_validation_mem_free()
162 ctx->total_mem = 0; in vmw_validation_mem_free()
H A Dvmwgfx_validation.h88 size_t total_mem; member
/OK3568_Linux_fs/u-boot/arch/arm/mach-mvebu/
H A Ddram.c167 u32 total_mem = 0; in dram_ecc_scrubbing() local
187 total_mem += (u32)(total / (1 << 30)); in dram_ecc_scrubbing()
/OK3568_Linux_fs/u-boot/include/
H A Dcommon_timing_params.h61 unsigned long long total_mem; member
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dsetup.c444 unsigned long long total_mem; in mips_parse_crashkernel() local
448 total_mem = memblock_phys_mem_size(); in mips_parse_crashkernel()
449 ret = parse_crashkernel(boot_command_line, total_mem, in mips_parse_crashkernel()
/OK3568_Linux_fs/kernel/drivers/edac/
H A Dmv64x60_edac.h94 int total_mem; member
H A Dcpc925_edac.c266 unsigned long total_mem; member
300 pdata->total_mem = 0; in get_total_mem()
307 pdata->total_mem += size; in get_total_mem()
311 edac_dbg(0, "total_mem 0x%lx\n", pdata->total_mem); in get_total_mem()
H A Dmv64x60_edac.c653 pdata->total_mem = reg[1]; in get_total_mem()
672 dimm->nr_pages = pdata->total_mem >> PAGE_SHIFT; in mv64x60_init_csrows()
H A Daltera_edac.c210 unsigned long total_mem = 0; in get_total_mem() local
217 total_mem += resource_size(&res); in get_total_mem()
219 edac_dbg(0, "total_mem 0x%lx\n", total_mem); in get_total_mem()
220 return total_mem; in get_total_mem()
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dsetup.c1000 unsigned long long total_mem; in reserve_crashkernel() local
1003 total_mem = get_total_mem(); in reserve_crashkernel()
1004 ret = parse_crashkernel(boot_command_line, total_mem, in reserve_crashkernel()
1042 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Denv.h49 unsigned long long total_mem; member
H A Dheader.c1863 fprintf(fp, "# total memory : %llu kB\n", ff->ph->env.total_mem); in print_total_mem()
2258 u64 total_mem; in process_total_mem() local
2261 ret = do_read_u64(ff, &total_mem); in process_total_mem()
2264 ff->ph->env.total_mem = (unsigned long long)total_mem; in process_total_mem()
3108 FEAT_OPR(TOTAL_MEM, total_mem, false),
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_bsg.c3124 uint32_t total_mem; in lpfc_bsg_diag_loopback_run() local
3173 total_mem = full_size; in lpfc_bsg_diag_loopback_run()
3175 total_mem = 64 * 1024; in lpfc_bsg_diag_loopback_run()
3178 total_mem = BUF_SZ_4K; in lpfc_bsg_diag_loopback_run()
3180 dataout = kmalloc(total_mem, GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/
H A Dcnic.c1195 int total_mem, blks, i; in cnic_alloc_bnx2x_context() local
1197 total_mem = BNX2X_CONTEXT_MEM_SIZE * cp->max_cid_space; in cnic_alloc_bnx2x_context()
1198 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context()
1199 if (total_mem % ctx_blk_size) in cnic_alloc_bnx2x_context()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c2730 int total_mem; in qp_get_mtt_size() local
2736 total_mem = sq_size + rq_size; in qp_get_mtt_size()
2737 tot = (total_mem + (page_offset << 6)) >> page_shift; in qp_get_mtt_size()