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()
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()
202 static u32 get_cl(struct emif_data *emif) in get_cl()
212 static void set_lpmode(struct emif_data *emif, u8 lpmode) in set_lpmode()
259 struct emif_data *emif; in do_freq_update()
335 static const struct lpddr2_timings *get_timings_table(struct emif_data *emif, in get_timings_table()
703 static u32 get_pwr_mgmt_ctrl(u32 freq, struct emif_data *emif, u32 ip_rev) in get_pwr_mgmt_ctrl()
794 static void get_temperature_level(struct emif_data *emif) in get_temperature_level()
828 static void setup_registers(struct emif_data *emif, struct emif_regs *regs) in setup_registers()
849 static void setup_volt_sensitive_regs(struct emif_data *emif, in setup_volt_sensitive_regs()
877 static void setup_temperature_sensitive_regs(struct emif_data *emif, in setup_temperature_sensitive_regs()
909 static irqreturn_t handle_temp_alert(void __iomem *base, struct emif_data *emif) in handle_temp_alert()
970 struct emif_data *emif = dev_id; in emif_interrupt_handler()
1005 struct emif_data *emif = dev_id; in emif_threaded_isr()
1034 static void clear_all_interrupts(struct emif_data *emif) in clear_all_interrupts()
1045 static void disable_and_clear_all_interrupts(struct emif_data *emif) in disable_and_clear_all_interrupts()
1060 static int __init_or_module setup_interrupts(struct emif_data *emif, u32 irq) in setup_interrupts()
1091 static void __init_or_module emif_onetime_settings(struct emif_data *emif) in emif_onetime_settings()
1156 static void get_default_timings(struct emif_data *emif) in get_default_timings()
1217 struct emif_data *emif) in of_get_custom_configs()
1299 static struct emif_data * __init_or_module of_get_memory_device_details( in of_get_memory_device_details()
1302 struct emif_data *emif = NULL; in of_get_memory_device_details()
1311 emif = devm_kzalloc(dev, sizeof(struct emif_data), GFP_KERNEL); in of_get_memory_device_details()
1374 static struct emif_data * __init_or_module of_get_memory_device_details( in of_get_memory_device_details()
1381 static struct emif_data *__init_or_module get_device_details( in get_device_details()
1385 struct emif_data *emif = NULL; in get_device_details()
1496 struct emif_data *emif; in emif_probe()
1555 struct emif_data *emif = platform_get_drvdata(pdev); in emif_remove()
1564 struct emif_data *emif = platform_get_drvdata(pdev); in emif_shutdown()
1569 static int get_emif_reg_values(struct emif_data *emif, u32 freq, in get_emif_reg_values()
1578 struct emif_data *emif_for_calc; in get_emif_reg_values()
1677 static struct emif_regs *get_regs(struct emif_data *emif, u32 freq) in get_regs()
1739 static void do_volt_notify_handling(struct emif_data *emif, u32 volt_state) in do_volt_notify_handling()
1762 struct emif_data *emif; in volt_notify_handling()
1773 static void do_freq_pre_notify_handling(struct emif_data *emif, u32 new_freq) in do_freq_pre_notify_handling()
1811 struct emif_data *emif; in freq_pre_notify_handling()
1838 static void do_freq_post_notify_handling(struct emif_data *emif) in do_freq_post_notify_handling()
1856 struct emif_data *emif; in freq_post_notify_handling()