Lines Matching refs:tmp
88 uint32_t tmp; in soc_reset_config_all() local
91 tmp = mmio_read_32(CRU_BASE + CRU_GLB_RST_CON); in soc_reset_config_all()
92 tmp |= CRU_GLB_RST_TSADC_FST | CRU_GLB_RST_WDT_FST; in soc_reset_config_all()
93 mmio_write_32(CRU_BASE + CRU_GLB_RST_CON, tmp); in soc_reset_config_all()
95 tmp = mmio_read_32(PMUGRF_BASE + PMUGRF_SOC_CON(3)); in soc_reset_config_all()
96 tmp &= ~(PMUGRF_FAILSAFE_SHTDN_TSADC | PMUGRF_FAILSAFE_SHTDN_WDT); in soc_reset_config_all()
97 mmio_write_32(PMUGRF_BASE + PMUGRF_SOC_CON(3), tmp); in soc_reset_config_all()
106 uint32_t tmp; in px30_soc_reset_config() local
109 tmp = mmio_read_32(CRU_BASE + CRU_GLB_RST_CON); in px30_soc_reset_config()
110 tmp |= BIT(CRU_GLB_RST_TSADC_EXT) | BIT(CRU_GLB_RST_WDT_EXT); in px30_soc_reset_config()
111 mmio_write_32(CRU_BASE + CRU_GLB_RST_CON, tmp); in px30_soc_reset_config()
113 tmp = mmio_read_32(CRU_BASE + CRU_GLB_CNT_TH); in px30_soc_reset_config()
114 tmp &= ~CRU_GLB_CNT_RST_MSK; in px30_soc_reset_config()
115 tmp |= (CRU_GLB_CNT_RST_1MS / 2); in px30_soc_reset_config()
116 mmio_write_32(CRU_BASE + CRU_GLB_CNT_TH, tmp); in px30_soc_reset_config()