Home
last modified time | relevance | path

Searched refs:emif (Results 1 – 13 of 13) sorted by relevance

/external/u-boot/arch/arm/mach-omap2/
Demif-common.c25 struct emif_reg_struct *emif = (struct emif_reg_struct *)base; in set_lpmode_selfrefresh() local
28 reg = readl(&emif->emif_pwr_mgmt_ctrl); in set_lpmode_selfrefresh()
32 writel(reg, &emif->emif_pwr_mgmt_ctrl); in set_lpmode_selfrefresh()
35 readl(&emif->emif_pwr_mgmt_ctrl); in set_lpmode_selfrefresh()
58 struct emif_reg_struct *emif = (struct emif_reg_struct *)base; in get_mr() local
61 writel(mr_addr, &emif->emif_lpddr2_mode_reg_cfg); in get_mr()
63 mr = readl(&emif->emif_lpddr2_mode_reg_data_es2); in get_mr()
65 mr = readl(&emif->emif_lpddr2_mode_reg_data); in get_mr()
78 struct emif_reg_struct *emif = (struct emif_reg_struct *)base; in set_mr() local
81 writel(mr_addr, &emif->emif_lpddr2_mode_reg_cfg); in set_mr()
[all …]
DMakefile25 obj-y += emif-common.o
Dclocks-common.c377 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in setup_dplls() local
388 if (emif_sdram_type(readl(&emif->emif_sdram_config)) == in setup_dplls()
/external/u-boot/cmd/ti/
Dddr3.c161 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in ddr_check_ecc_status() local
162 u32 err_1b = readl(&emif->emif_1b_ecc_err_cnt); in ddr_check_ecc_status()
163 u32 int_status = readl(&emif->emif_irqstatus_raw_sys); in ddr_check_ecc_status()
188 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in ddr_memory_ecc_err() local
189 u32 ecc_ctrl = readl(&emif->emif_ecc_ctrl_reg); in ddr_memory_ecc_err()
198 writel(0, &emif->emif_ecc_ctrl_reg); in ddr_memory_ecc_err()
214 writel(ecc_ctrl, &emif->emif_ecc_ctrl_reg); in ddr_memory_ecc_err()
230 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in is_addr_valid() local
237 ecc_ctrl = readl(&emif->emif_ecc_ctrl_reg); in is_addr_valid()
238 range = readl(&emif->emif_ecc_address_range_1); in is_addr_valid()
[all …]
/external/u-boot/arch/arm/mach-omap2/am33xx/
Dti816x_emif4.c22 static void ddr_init_settings(const struct cmd_control *ctrl, int emif) in ddr_init_settings() argument
34 config_cmd_ctrl(ctrl, emif); in ddr_init_settings()
91 static void ddr3_sw_levelling(const struct ddr_data *data, int emif) in ddr3_sw_levelling() argument
/external/u-boot/arch/arm/mach-omap2/omap5/
Dsdram.c513 struct emif_reg_struct *emif = (struct emif_reg_struct *)base; in do_ext_phy_settings_omap5() local
516 emif_ext_phy_ctrl_base = (u32 *) &(emif->emif_ddr_ext_phy_ctrl_1); in do_ext_phy_settings_omap5()
543 struct emif_reg_struct *emif = (struct emif_reg_struct *)base; in do_ext_phy_settings_dra7() local
554 emif_ext_phy_ctrl_base = (u32 *)&(emif->emif_ddr_ext_phy_ctrl_1); in do_ext_phy_settings_dra7()
DMakefile8 obj-y += emif.o
Dhwinit.c125 struct emif_reg_struct *emif = (struct emif_reg_struct *)EMIF1_BASE; in do_io_settings() local
181 if (emif_sdram_type(emif->emif_sdram_config) == EMIF_SDRAM_TYPE_LPDDR2) in do_io_settings()
/external/u-boot/arch/arm/mach-omap2/omap4/
DMakefile9 obj-y += emif.o
/external/u-boot/arch/arm/include/asm/arch-am33xx/
Dhardware_ti816x.h56 #define DDRPHY_CONFIG_BASE ((emif == 0) ? \
/external/u-boot/tools/
Dublimage.h75 uint32_t emif; /* member
/external/u-boot/arch/arm/dts/
Dam4372.dtsi136 emif: emif@4c000000 { label
137 compatible = "ti,emif-am4372";
139 ti,hwmods = "emif";
/external/u-boot/arch/arm/include/asm/
Demif.h1258 struct emif_reg_struct *emif = (struct emif_reg_struct *)base; in get_emif_rev() local
1260 return (readl(&emif->emif_mod_id_rev) & EMIF_REG_MAJOR_REVISION_MASK) in get_emif_rev()