Home
last modified time | relevance | path

Searched refs:ddr_in32 (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/ddr/fsl/
Dfsl_ddr_gen4.c29 while (ddr_in32(ptr) & bits) { in set_wait_for_bits_clear()
264 temp32 = ddr_in32(&ddr->debug[28]); in fsl_ddr_set_memctl_regs()
287 temp32 = ddr_in32(&ddr->debug[25]); in fsl_ddr_set_memctl_regs()
296 temp32 = ddr_in32(&ddr->debug[28]); in fsl_ddr_set_memctl_regs()
332 temp32 = ddr_in32(&ddr->sdram_cfg_2); in fsl_ddr_set_memctl_regs()
338 temp32 = (ddr_in32(&ddr->sdram_cfg) | SDRAM_CFG_BI); in fsl_ddr_set_memctl_regs()
341 temp32 = ddr_in32(&ddr->sdram_cfg) & ~SDRAM_CFG_BI; in fsl_ddr_set_memctl_regs()
352 while (!(ddr_in32(&ddr->debug[1]) & 0x2) && in fsl_ddr_set_memctl_regs()
359 ctrl_num, ddr_in32(&ddr->debug[1])); in fsl_ddr_set_memctl_regs()
396 temp32 = ddr_in32(&ddr->debug[28]); in fsl_ddr_set_memctl_regs()
[all …]
Dutil.c55 ver_major_minor_errata = (ddr_in32(&ddr->ip_rev1) & 0xFFFF) << 8; in fsl_ddr_get_version()
56 ver_major_minor_errata |= (ddr_in32(&ddr->ip_rev2) & 0xFF00) >> 8; in fsl_ddr_get_version()
184 uint32_t cs0_config = ddr_in32(&ddr->cs0_config); in print_ddr_info()
186 uint32_t sdram_cfg = ddr_in32(&ddr->sdram_cfg); in print_ddr_info()
193 sdram_cfg = ddr_in32(&ddr->sdram_cfg); in print_ddr_info()
200 sdram_cfg = ddr_in32(&ddr->sdram_cfg); in print_ddr_info()
237 cas_lat = ((ddr_in32(&ddr->timing_cfg_1) >> 16) & 0xf); in print_ddr_info()
242 cas_lat += ((ddr_in32(&ddr->timing_cfg_3) >> 12) & 3) << 4; in print_ddr_info()
371 ddrc_debug20 = ddr_in32(&ddr->debug[19]); in fsl_ddr_sync_memctl_refresh()
376 ddrc_debug20 = ddr_in32(&ddr->debug[19]); in fsl_ddr_sync_memctl_refresh()
[all …]
Darm_ddr_gen3.c186 temp_sdram_cfg = ddr_in32(&ddr->sdram_cfg_2); in fsl_ddr_set_memctl_regs()
192 temp_sdram_cfg = (ddr_in32(&ddr->sdram_cfg) | SDRAM_CFG_BI); in fsl_ddr_set_memctl_regs()
195 temp_sdram_cfg = ddr_in32(&ddr->sdram_cfg) & ~SDRAM_CFG_BI; in fsl_ddr_set_memctl_regs()
222 bus_width = 3 - ((ddr_in32(&ddr->sdram_cfg) & SDRAM_CFG_DBW_MASK) in fsl_ddr_set_memctl_regs()
231 while ((ddr_in32(&ddr->sdram_cfg_2) & SDRAM_CFG2_D_INIT) && in fsl_ddr_set_memctl_regs()
242 temp_sdram_cfg = ddr_in32(&ddr->sdram_cfg_2); in fsl_ddr_set_memctl_regs()
Dctrl_regs.c2623 ddr->debug[28] = ddr_in32(&ddrc->debug[28]); in compute_fsl_memctl_config_regs()
2631 ddr->debug[28] |= ddr_in32(&ddrc->debug[28]); in compute_fsl_memctl_config_regs()
2661 u32 cpo_min = ddr_in32(&ddr->debug[9]) >> 24; in erratum_a009942_check_cpo()
2666 sdram_cfg = ddr_in32(&ddr->sdram_cfg); in erratum_a009942_check_cpo()
2679 cpo = ddr_in32(&ddr->debug[i]); in erratum_a009942_check_cpo()
2691 cpo = ddr_in32(&ddr->debug[13]); in erratum_a009942_check_cpo()
2699 cpo_target = ddr_in32(&ddr->debug[28]) & 0xff; in erratum_a009942_check_cpo()
/external/u-boot/include/
Dfsl_ddr.h21 #define ddr_in32(a) in_le32(a) macro
27 #define ddr_in32(a) in_be32(a) macro
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dsoc.c460 tmp = ddr_in32(&ddr->eor); in erratum_a008850_post()
547 tmp = ddr_in32(&ddr->ddr_cdr1); in ddr_enable_0v9_volt()