Lines Matching refs:reg
42 unsigned int reg = 0; in hisi_pwrc_set_cluster_wfi() local
45 reg = mmio_read_32(ACPU_SC_SNOOP_PWD); in hisi_pwrc_set_cluster_wfi()
46 reg |= PD_DETECT_START0; in hisi_pwrc_set_cluster_wfi()
47 mmio_write_32(ACPU_SC_SNOOP_PWD, reg); in hisi_pwrc_set_cluster_wfi()
49 reg = mmio_read_32(ACPU_SC_SNOOP_PWD); in hisi_pwrc_set_cluster_wfi()
50 reg |= PD_DETECT_START1; in hisi_pwrc_set_cluster_wfi()
51 mmio_write_32(ACPU_SC_SNOOP_PWD, reg); in hisi_pwrc_set_cluster_wfi()
72 unsigned int reg, sec_entrypoint; in hisi_pwrc_setup() local
93 reg = mmio_read_32(AO_SC_SYS_CTRL1); in hisi_pwrc_setup()
95 reg |= AO_SC_SYS_CTRL1_REMAP_SRAM_AARM | in hisi_pwrc_setup()
99 reg |= AO_SC_SYS_CTRL1_AARM_WD_RST_CFG | in hisi_pwrc_setup()
101 mmio_write_32(AO_SC_SYS_CTRL1, reg); in hisi_pwrc_setup()