Lines Matching refs:rstsr
39 uint32_t rstsr = mmio_read_32(stm32mp_rcc_base() + RCC_C1BOOTRSTSCLRR); in print_reset_reason() local
43 if ((rstsr & RCC_C1BOOTRSTSCLRR_C1P1RSTF) != 0U) { in print_reset_reason()
48 if ((rstsr & RCC_C1BOOTRSTSCLRR_PADRSTF) == 0U) { in print_reset_reason()
49 if ((rstsr & RCC_C1BOOTRSTSCLRR_STBYC1RSTF) != 0U) { in print_reset_reason()
51 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_D1STBYRSTF) != 0U) { in print_reset_reason()
53 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_VCPURSTF) != 0U) { in print_reset_reason()
55 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_C1RSTF) != 0U) { in print_reset_reason()
61 if ((rstsr & RCC_C1BOOTRSTSCLRR_PORRSTF) != 0U) { in print_reset_reason()
63 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_BORRSTF) != 0U) { in print_reset_reason()
65 } else if ((rstsr & (RCC_C1BOOTRSTSSETR_SYSC2RSTF | in print_reset_reason()
68 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_HCSSRSTF) != 0U) { in print_reset_reason()
70 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_IWDGXSYSRSTF) != 0U) { in print_reset_reason()
72 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_PADRSTF) != 0U) { in print_reset_reason()
79 INFO("Reset reason: %s (0x%x)\n", reason_str, rstsr); in print_reset_reason()