Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/memory/
H A Demif.c76 static void do_emif_regdump_show(struct seq_file *s, struct emif_data *emif, in do_emif_regdump_show() argument
79 u32 type = emif->plat_data->device_info->type; in do_emif_regdump_show()
80 u32 ip_rev = emif->plat_data->ip_rev; in do_emif_regdump_show()
114 struct emif_data *emif = s->private; in emif_regdump_show() local
118 if (emif->duplicate) in emif_regdump_show()
121 regs_cache = emif->regs_cache; in emif_regdump_show()
124 do_emif_regdump_show(s, emif, regs_cache[i]); in emif_regdump_show()
135 struct emif_data *emif = s->private; in emif_mr4_show() local
137 seq_printf(s, "MR4=%d\n", emif->temperature_level); in emif_mr4_show()
143 static int __init_or_module emif_debugfs_init(struct emif_data *emif) in emif_debugfs_init() argument
[all …]
H A DMakefile16 obj-$(CONFIG_TI_EMIF) += emif.o
30 obj-$(CONFIG_TI_EMIF_SRAM) += ti-emif-sram.o
31 obj-$(CONFIG_FPGA_DFL_EMIF) += dfl-emif.o
33 ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o
35 $(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h
37 $(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE
40 targets += emif-asm-offsets.s
41 clean-files += ti-emif-asm-offsets.h
H A D.gitignore2 /ti-emif-asm-offsets.h
/openbmc/u-boot/arch/arm/mach-omap2/
H A 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 …]
H A DMakefile25 obj-y += emif-common.o
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ti/
H A Demif.txt11 - compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
14 "ti,emif-am3352"
15 "ti,emif-am4372"
16 "ti,emif-dra7xx"
17 "ti,emif-keystone"
27 the value shall be "emif<n>" where <n> is the number of the EMIF
31 Required only for "ti,emif-am3352" and "ti,emif-am4372":
61 emif1: emif@4c000000 {
62 compatible = "ti,emif-4d";
73 emif: emif@4c000000 {
[all …]
/openbmc/u-boot/cmd/ti/
H A 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 …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Ddra74x-p.dtsi15 emif1: emif@4c000000 {
16 compatible = "ti,emif-dra7xx";
H A Domap5.dtsi309 emif1: emif@0 {
310 compatible = "ti,emif-4d5";
331 emif2: emif@0 {
332 compatible = "ti,emif-4d5";
H A Domap4.dtsi316 emif1: emif@0 {
317 compatible = "ti,emif-4d";
338 emif2: emif@0 {
339 compatible = "ti,emif-4d";
H A Dam33xx.dtsi521 emif: emif@0 { label
522 compatible = "ti,emif-am3352";
H A Dam4372.dtsi195 emif: emif@0 { label
196 compatible = "ti,emif-am4372";
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/
H A 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
/openbmc/u-boot/arch/arm/mach-omap2/omap5/
H A 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()
H A DMakefile8 obj-y += emif.o
H A 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()
/openbmc/u-boot/arch/arm/mach-omap2/omap4/
H A DMakefile9 obj-y += emif.o
/openbmc/linux/Documentation/driver-api/memory-devices/
H A Dindex.rst10 ti-emif
H A Dti-emif.rst13 driver/memory/emif.c
/openbmc/u-boot/arch/arm/include/asm/arch-am33xx/
H A Dhardware_ti816x.h56 #define DDRPHY_CONFIG_BASE ((emif == 0) ? \
/openbmc/u-boot/tools/
H A Dublimage.h75 uint32_t emif; /* member
/openbmc/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone.dtsi347 emif: emif@21010000 { label
348 compatible = "ti,emif-keystone";
H A Dkeystone-k2g.dtsi625 emif: emif@21010000 { label
626 compatible = "ti,emif-keystone";
/openbmc/u-boot/arch/arm/dts/
H A Dam33xx.dtsi961 emif: emif@4c000000 { label
962 compatible = "ti,emif-am3352";
964 ti,hwmods = "emif";
H A Dam4372.dtsi132 emif: emif@4c000000 { label
133 compatible = "ti,emif-am4372";
135 ti,hwmods = "emif";

12