Searched refs:rfshctl3 (Results 1 – 6 of 6) sorted by relevance
| /rk3399_ARM-atf/drivers/st/ddr/ |
| H A D | stm32mp_ddr.c | 274 uint32_t rfshctl3; in stm32mp_ddr_wait_refresh_update_done_ack() local 278 rfshctl3 = mmio_read_32((uintptr_t)&ctl->rfshctl3); in stm32mp_ddr_wait_refresh_update_done_ack() 279 if ((rfshctl3 & refresh_update_level) == refresh_update_level) { in stm32mp_ddr_wait_refresh_update_done_ack() 280 mmio_clrbits_32((uintptr_t)&ctl->rfshctl3, refresh_update_level); in stm32mp_ddr_wait_refresh_update_done_ack() 282 mmio_setbits_32((uintptr_t)&ctl->rfshctl3, refresh_update_level); in stm32mp_ddr_wait_refresh_update_done_ack() 287 (uintptr_t)&ctl->rfshctl3, mmio_read_32((uintptr_t)&ctl->rfshctl3)); in stm32mp_ddr_wait_refresh_update_done_ack() 291 rfshctl3 = mmio_read_32((uintptr_t)&ctl->rfshctl3); in stm32mp_ddr_wait_refresh_update_done_ack() 292 VERBOSE("[0x%lx] rfshctl3 = 0x%x ", (uintptr_t)&ctl->rfshctl3, rfshctl3); in stm32mp_ddr_wait_refresh_update_done_ack() 296 } while ((rfshctl3 & DDRCTRL_RFSHCTL3_REFRESH_UPDATE_LEVEL) == refresh_update_level); in stm32mp_ddr_wait_refresh_update_done_ack() 298 VERBOSE("[0x%lx] rfshctl3 = 0x%x\n", (uintptr_t)&ctl->rfshctl3, rfshctl3); in stm32mp_ddr_wait_refresh_update_done_ack()
|
| H A D | stm32mp2_ddr.c | 62 DDRCTL_REG_REG(rfshctl3, true), 312 mmio_setbits_32((uintptr_t)&ctl->rfshctl3, DDRCTRL_RFSHCTL3_DIS_AUTO_REFRESH); in disable_refresh() 326 static void restore_refresh(struct stm32mp_ddrctl *ctl, uint32_t rfshctl3, uint32_t pwrctl) in restore_refresh() argument 328 if ((rfshctl3 & DDRCTRL_RFSHCTL3_DIS_AUTO_REFRESH) == 0U) { in restore_refresh() 329 mmio_clrbits_32((uintptr_t)&ctl->rfshctl3, DDRCTRL_RFSHCTL3_DIS_AUTO_REFRESH); in restore_refresh() 475 restore_refresh(priv->ctl, config->c_reg.rfshctl3, config->c_reg.pwrctl); in stm32mp2_ddr_init()
|
| H A D | stm32mp1_ddr.c | 69 DDRCTL_REG_REG(rfshctl3), 531 mmio_setbits_32((uintptr_t)&ctl->rfshctl3, in stm32mp1_refresh_disable() 540 uint32_t rfshctl3, uint32_t pwrctl) in stm32mp1_refresh_restore() argument 543 if ((rfshctl3 & DDRCTRL_RFSHCTL3_DIS_AUTO_REFRESH) == 0U) { in stm32mp1_refresh_restore() 544 mmio_clrbits_32((uintptr_t)&ctl->rfshctl3, in stm32mp1_refresh_restore() 754 stm32mp1_refresh_restore(priv->ctl, config->c_reg.rfshctl3, in stm32mp1_ddr_init()
|
| /rk3399_ARM-atf/include/drivers/st/ |
| H A D | stm32mp1_ddr.h | 25 uint32_t rfshctl3; member
|
| H A D | stm32mp2_ddr.h | 29 uint32_t rfshctl3; member
|
| H A D | stm32mp_ddrctrl_regs.h | 36 uint32_t rfshctl3; /* 0x60 Refresh Control 0 */ member
|