Home
last modified time | relevance | path

Searched refs:emif_data (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/memory/
H A Dti-emif-pm.c40 static u32 sram_suspend_address(struct ti_emif_data *emif_data, in sram_suspend_address() argument
43 return (emif_data->ti_emif_sram_virt + in sram_suspend_address()
47 static phys_addr_t sram_resume_address(struct ti_emif_data *emif_data, in sram_resume_address() argument
50 return ((unsigned long)emif_data->ti_emif_sram_phys + in sram_resume_address()
54 static void ti_emif_free_sram(struct ti_emif_data *emif_data) in ti_emif_free_sram() argument
56 gen_pool_free(emif_data->sram_pool_code, emif_data->ti_emif_sram_virt, in ti_emif_free_sram()
58 gen_pool_free(emif_data->sram_pool_data, in ti_emif_free_sram()
59 emif_data->ti_emif_sram_data_virt, in ti_emif_free_sram()
64 struct ti_emif_data *emif_data) in ti_emif_alloc_sram() argument
69 emif_data->sram_pool_code = of_gen_pool_get(np, "sram", 0); in ti_emif_alloc_sram()
[all …]
H A Demif.c56 struct emif_data { struct
70 static struct emif_data *emif1; argument
74 static void do_emif_regdump_show(struct seq_file *s, struct emif_data *emif, in do_emif_regdump_show()
112 struct emif_data *emif = s->private; in emif_regdump_show()
133 struct emif_data *emif = s->private; in emif_mr4_show()
141 static void emif_debugfs_init(struct emif_data *emif) in emif_debugfs_init()
152 static void emif_debugfs_exit(struct emif_data *emif) in emif_debugfs_exit()
166 static u32 get_emif_bus_width(struct emif_data *emif) in get_emif_bus_width()
178 static void set_lpmode(struct emif_data *emif, u8 lpmode) in set_lpmode()
225 struct emif_data *emif; in do_freq_update()
[all …]