Searched refs:stm32mp_ddrctl (Results 1 – 9 of 9) sorted by relevance
| /rk3399_ARM-atf/include/drivers/st/ |
| H A D | stm32mp_ddr.h | 50 struct stm32mp_ddrctl *ctl; 71 void stm32mp_ddr_start_sw_done(struct stm32mp_ddrctl *ctl); 72 void stm32mp_ddr_wait_sw_done_ack(struct stm32mp_ddrctl *ctl); 73 void stm32mp_ddr_enable_axi_port(struct stm32mp_ddrctl *ctl); 74 int stm32mp_ddr_disable_axi_port(struct stm32mp_ddrctl *ctl); 75 void stm32mp_ddr_enable_host_interface(struct stm32mp_ddrctl *ctl); 76 void stm32mp_ddr_disable_host_interface(struct stm32mp_ddrctl *ctl); 77 int stm32mp_ddr_sw_selfref_entry(struct stm32mp_ddrctl *ctl); 78 void stm32mp_ddr_sw_selfref_exit(struct stm32mp_ddrctl *ctl); 79 void stm32mp_ddr_set_qd3_update_conditions(struct stm32mp_ddrctl *ctl); [all …]
|
| H A D | stm32mp2_ddr_helpers.h | 22 void ddr_activate_controller(struct stm32mp_ddrctl *ctl, bool sr_entry);
|
| H A D | stm32mp_ddrctrl_regs.h | 16 struct stm32mp_ddrctl { struct
|
| /rk3399_ARM-atf/drivers/st/ddr/ |
| H A D | stm32mp_ddr.c | 65 void stm32mp_ddr_start_sw_done(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_start_sw_done() 73 void stm32mp_ddr_wait_sw_done_ack(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_wait_sw_done_ack() 96 void stm32mp_ddr_enable_axi_port(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_enable_axi_port() 111 int stm32mp_ddr_disable_axi_port(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_disable_axi_port() 146 static bool ddr_is_axi_port_enabled(struct stm32mp_ddrctl *ctl) in ddr_is_axi_port_enabled() 151 void stm32mp_ddr_enable_host_interface(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_enable_host_interface() 159 void stm32mp_ddr_disable_host_interface(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_disable_host_interface() 193 static bool ddr_is_host_interface_enabled(struct stm32mp_ddrctl *ctl) in ddr_is_host_interface_enabled() 198 int stm32mp_ddr_sw_selfref_entry(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_sw_selfref_entry() 231 void stm32mp_ddr_sw_selfref_exit(struct stm32mp_ddrctl *ctl) in stm32mp_ddr_sw_selfref_exit() [all …]
|
| H A D | stm32mp2_ddr_helpers.c | 33 static void set_qd1_qd3_update_conditions(struct stm32mp_ddrctl *ctl) in set_qd1_qd3_update_conditions() 40 static void unset_qd1_qd3_update_conditions(struct stm32mp_ddrctl *ctl) in unset_qd1_qd3_update_conditions() 47 static void wait_dfi_init_complete(struct stm32mp_ddrctl *ctl) in wait_dfi_init_complete() 65 static void disable_dfi_low_power_interface(struct stm32mp_ddrctl *ctl) in disable_dfi_low_power_interface() 90 void ddr_activate_controller(struct stm32mp_ddrctl *ctl, bool sr_entry) in ddr_activate_controller() 256 if (stm32mp_ddr_disable_axi_port((struct stm32mp_ddrctl *)ddrctrl_base) != 0) { in sr_ssr_entry() 267 disable_dfi_low_power_interface((struct stm32mp_ddrctl *)ddrctrl_base); in sr_ssr_entry() 279 ddr_activate_controller((struct stm32mp_ddrctl *)ddrctrl_base, true); in sr_ssr_entry() 308 ddr_activate_controller((struct stm32mp_ddrctl *)ddrctrl_base, false); in sr_ssr_exit() 323 stm32mp_ddr_enable_axi_port((struct stm32mp_ddrctl *)ddrctrl_base); in sr_ssr_exit() [all …]
|
| H A D | stm32mp2_ddr.c | 26 .offset = offsetof(struct stm32mp_ddrctl, x), \ 286 static void set_dfi_init_complete_en(struct stm32mp_ddrctl *ctl, bool phy_init_done) in set_dfi_init_complete_en() 310 static void disable_refresh(struct stm32mp_ddrctl *ctl) in disable_refresh() 326 static void restore_refresh(struct stm32mp_ddrctl *ctl, uint32_t rfshctl3, uint32_t pwrctl) in restore_refresh() 462 struct stm32mp_ddrctl *ctl = priv->ctl; in stm32mp2_ddr_init()
|
| H A D | stm32mp1_ram.c | 145 priv->ctl = (struct stm32mp_ddrctl *)stm32mp_ddrctrl_base(); in stm32mp1_ddr_probe()
|
| H A D | stm32mp2_ram.c | 198 priv->ctl = (struct stm32mp_ddrctl *)stm32mp_ddrctrl_base(); in stm32mp2_ddr_probe()
|
| H A D | stm32mp1_ddr.c | 27 .offset = offsetof(struct stm32mp_ddrctl, x), \ 527 static void stm32mp1_refresh_disable(struct stm32mp_ddrctl *ctl) in stm32mp1_refresh_disable() 539 static void stm32mp1_refresh_restore(struct stm32mp_ddrctl *ctl, in stm32mp1_refresh_restore()
|