Searched refs:emif_data (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/memory/ |
D | ti-emif-pm.c | 48 static u32 sram_suspend_address(struct ti_emif_data *emif_data, in sram_suspend_address() argument 51 return (emif_data->ti_emif_sram_virt + in sram_suspend_address() 55 static phys_addr_t sram_resume_address(struct ti_emif_data *emif_data, in sram_resume_address() argument 58 return ((unsigned long)emif_data->ti_emif_sram_phys + in sram_resume_address() 62 static void ti_emif_free_sram(struct ti_emif_data *emif_data) in ti_emif_free_sram() argument 64 gen_pool_free(emif_data->sram_pool_code, emif_data->ti_emif_sram_virt, in ti_emif_free_sram() 66 gen_pool_free(emif_data->sram_pool_data, in ti_emif_free_sram() 67 emif_data->ti_emif_sram_data_virt, in ti_emif_free_sram() 72 struct ti_emif_data *emif_data) in ti_emif_alloc_sram() argument 77 emif_data->sram_pool_code = of_gen_pool_get(np, "sram", 0); in ti_emif_alloc_sram() [all …]
|
D | emif.c | 58 struct emif_data { struct 74 static struct emif_data *emif1; argument 81 static void do_emif_regdump_show(struct seq_file *s, struct emif_data *emif, in do_emif_regdump_show() 119 struct emif_data *emif = s->private; in emif_regdump_show() 149 struct emif_data *emif = s->private; in emif_mr4_show() 166 static int __init_or_module emif_debugfs_init(struct emif_data *emif) in emif_debugfs_init() 199 static void __exit emif_debugfs_exit(struct emif_data *emif) in emif_debugfs_exit() 205 static inline int __init_or_module emif_debugfs_init(struct emif_data *emif) in emif_debugfs_init() 210 static inline void __exit emif_debugfs_exit(struct emif_data *emif) in emif_debugfs_exit() 230 static u32 get_emif_bus_width(struct emif_data *emif) in get_emif_bus_width() [all …]
|