Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/memory/
H A Demif.c148 debugfs_create_file("mr4", S_IRUGO, emif->debugfs_root, emif, in emif_debugfs_init()
580 setup_temperature_sensitive_regs(emif, emif->curr_regs); in handle_temp_alert()
645 setup_temperature_sensitive_regs(emif, emif->curr_regs); in emif_threaded_isr()
709 emif); in setup_interrupts()
962 emif->dev)) { in of_get_memory_device_details()
985 emif->plat_data->min_tck = of_get_min_tck(np_ddr, emif->dev); in of_get_memory_device_details()
991 return emif; in of_get_memory_device_details()
1024 emif = devm_kzalloc(dev, sizeof(*emif), GFP_KERNEL); in get_device_details()
1101 return emif; in get_device_details()
1117 if (!emif) { in emif_probe()
[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.c28 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()
90 iodft = readl(&emif->emif_iodft_tlgc); in emif_reset_phy()
92 writel(iodft, &emif->emif_iodft_tlgc); in emif_reset_phy()
190 &emif->emif_l3_config); in emif_update_timings()
193 &emif->emif_l3_config); in emif_update_timings()
196 &emif->emif_l3_config); in emif_update_timings()
219 &emif->emif_ddr_phy_ctrl_1); in omap5_ddr3_leveling()
232 readl(&emif->emif_rd_wr_lvl_ctl); in omap5_ddr3_leveling()
[all …]
H A DMakefile25 obj-y += emif-common.o
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ti/
H A Demif.txt14 "ti,emif-am3352"
15 "ti,emif-am4372"
16 "ti,emif-dra7xx"
17 "ti,emif-keystone"
31 Required only for "ti,emif-am3352" and "ti,emif-am4372":
61 emif1: emif@4c000000 {
62 compatible = "ti,emif-4d";
73 emif: emif@4c000000 {
74 compatible = "ti,emif-am3352";
80 emif1: 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()
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()
254 range = readl(&emif->emif_ecc_address_range_2); 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