Home
last modified time | relevance | path

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

/drivers/memory/
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 …]
Demif.c56 struct emif_data { struct
72 static struct emif_data *emif1; argument
79 static void do_emif_regdump_show(struct seq_file *s, struct emif_data *emif, in do_emif_regdump_show()
117 struct emif_data *emif = s->private; in emif_regdump_show()
138 struct emif_data *emif = s->private; in emif_mr4_show()
146 static int __init_or_module emif_debugfs_init(struct emif_data *emif) in emif_debugfs_init()
156 static void __exit emif_debugfs_exit(struct emif_data *emif) in emif_debugfs_exit()
162 static inline int __init_or_module emif_debugfs_init(struct emif_data *emif) in emif_debugfs_init()
167 static inline void __exit emif_debugfs_exit(struct emif_data *emif) in emif_debugfs_exit()
187 static u32 get_emif_bus_width(struct emif_data *emif) in get_emif_bus_width()
[all …]