Lines Matching refs:emif_data
56 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()
147 struct emif_data *emif = s->private; in emif_mr4_show()
164 static int __init_or_module emif_debugfs_init(struct emif_data *emif) in emif_debugfs_init()
197 static void __exit emif_debugfs_exit(struct emif_data *emif) in emif_debugfs_exit()
203 static inline int __init_or_module emif_debugfs_init(struct emif_data *emif) in emif_debugfs_init()
208 static inline void __exit emif_debugfs_exit(struct emif_data *emif) in emif_debugfs_exit()
228 static u32 get_emif_bus_width(struct emif_data *emif) in get_emif_bus_width()
243 static u32 get_cl(struct emif_data *emif) in get_cl()
253 static void set_lpmode(struct emif_data *emif, u8 lpmode) in set_lpmode()
301 struct emif_data *emif; in do_freq_update()
377 static const struct lpddr2_timings *get_timings_table(struct emif_data *emif, in get_timings_table()
745 static u32 get_pwr_mgmt_ctrl(u32 freq, struct emif_data *emif, u32 ip_rev) in get_pwr_mgmt_ctrl()
836 static void get_temperature_level(struct emif_data *emif) in get_temperature_level()
870 static void setup_registers(struct emif_data *emif, struct emif_regs *regs) in setup_registers()
891 static void setup_volt_sensitive_regs(struct emif_data *emif, in setup_volt_sensitive_regs()
919 static void setup_temperature_sensitive_regs(struct emif_data *emif, in setup_temperature_sensitive_regs()
951 static irqreturn_t handle_temp_alert(void __iomem *base, struct emif_data *emif) in handle_temp_alert()
1013 struct emif_data *emif = dev_id; in emif_interrupt_handler()
1048 struct emif_data *emif = dev_id; in emif_threaded_isr()
1077 static void clear_all_interrupts(struct emif_data *emif) in clear_all_interrupts()
1088 static void disable_and_clear_all_interrupts(struct emif_data *emif) in disable_and_clear_all_interrupts()
1103 static int __init_or_module setup_interrupts(struct emif_data *emif, u32 irq) in setup_interrupts()
1134 static void __init_or_module emif_onetime_settings(struct emif_data *emif) in emif_onetime_settings()
1199 static void get_default_timings(struct emif_data *emif) in get_default_timings()
1260 struct emif_data *emif) in of_get_custom_configs()
1342 static struct emif_data * __init_or_module of_get_memory_device_details( in of_get_memory_device_details()
1345 struct emif_data *emif = NULL; in of_get_memory_device_details()
1354 emif = devm_kzalloc(dev, sizeof(struct emif_data), GFP_KERNEL); in of_get_memory_device_details()
1417 static struct emif_data * __init_or_module of_get_memory_device_details( in of_get_memory_device_details()
1424 static struct emif_data *__init_or_module get_device_details( in get_device_details()
1428 struct emif_data *emif = NULL; in get_device_details()
1539 struct emif_data *emif; in emif_probe()
1599 struct emif_data *emif = platform_get_drvdata(pdev); in emif_remove()
1608 struct emif_data *emif = platform_get_drvdata(pdev); in emif_shutdown()
1613 static int get_emif_reg_values(struct emif_data *emif, u32 freq, in get_emif_reg_values()
1622 struct emif_data *emif_for_calc; in get_emif_reg_values()
1724 static struct emif_regs *get_regs(struct emif_data *emif, u32 freq) in get_regs()
1786 static void do_volt_notify_handling(struct emif_data *emif, u32 volt_state) in do_volt_notify_handling()
1809 struct emif_data *emif; in volt_notify_handling()
1820 static void do_freq_pre_notify_handling(struct emif_data *emif, u32 new_freq) in do_freq_pre_notify_handling()
1858 struct emif_data *emif; in freq_pre_notify_handling()
1885 static void do_freq_post_notify_handling(struct emif_data *emif) in do_freq_post_notify_handling()
1903 struct emif_data *emif; in freq_post_notify_handling()