Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/ddr/fsl/
H A Darm_ddr_gen3.c36 u32 total_gb_size_per_controller; in fsl_ddr_set_memctl_regs() local
200 total_gb_size_per_controller = 0; in fsl_ddr_set_memctl_regs()
204 total_gb_size_per_controller += 1 << ( in fsl_ddr_set_memctl_regs()
213 total_gb_size_per_controller <<= 1; in fsl_ddr_set_memctl_regs()
224 timeout = ((total_gb_size_per_controller << (6 - bus_width)) * 100 / in fsl_ddr_set_memctl_regs()
226 total_gb_size_per_controller >>= 4; /* shift down to gb size */ in fsl_ddr_set_memctl_regs()
227 debug("total %d GB\n", total_gb_size_per_controller); in fsl_ddr_set_memctl_regs()
H A Dmpc85xx_ddr_gen3.c30 u32 total_gb_size_per_controller; in fsl_ddr_set_memctl_regs() local
398 total_gb_size_per_controller = 0; in fsl_ddr_set_memctl_regs()
402 total_gb_size_per_controller += 1 << ( in fsl_ddr_set_memctl_regs()
410 total_gb_size_per_controller *= 3; in fsl_ddr_set_memctl_regs()
412 total_gb_size_per_controller <<= 1; in fsl_ddr_set_memctl_regs()
422 timeout = ((total_gb_size_per_controller << (6 - bus_width)) * 100 / in fsl_ddr_set_memctl_regs()
427 total_gb_size_per_controller >>= 4; /* shift down to gb size */ in fsl_ddr_set_memctl_regs()
428 debug("total %d GB\n", total_gb_size_per_controller); in fsl_ddr_set_memctl_regs()
H A Dfsl_ddr_gen4.c56 u32 total_gb_size_per_controller; in fsl_ddr_set_memctl_regs() local
437 total_gb_size_per_controller = 0; in fsl_ddr_set_memctl_regs()
441 total_gb_size_per_controller += 1 << ( in fsl_ddr_set_memctl_regs()
459 timeout = ((total_gb_size_per_controller << (6 - bus_width)) * 100 / in fsl_ddr_set_memctl_regs()
461 total_gb_size_per_controller >>= 4; /* shift down to gb size */ in fsl_ddr_set_memctl_regs()
462 debug("total %d GB\n", total_gb_size_per_controller); in fsl_ddr_set_memctl_regs()