Lines Matching refs:mmio_read_32

104 	if (mmio_read_32(SPM_PCM_FSM_STA) != PCM_FSM_STA_DEF)  in spm_register_init()
130 while (mmio_read_32(SPM_PCM_FSM_STA) != PCM_FSM_STA_DEF) { in spm_reset_and_init_pcm()
141 con1 = mmio_read_32(SPM_PCM_CON1) & in spm_reset_and_init_pcm()
150 mmio_write_32(SPM_PCM_REG_DATA_INI, mmio_read_32(SPM_POWER_ON_VAL0)); in spm_init_pcm_register()
154 mmio_write_32(SPM_PCM_REG_DATA_INI, mmio_read_32(SPM_POWER_ON_VAL1)); in spm_init_pcm_register()
210 wakesta->assert_pc = mmio_read_32(SPM_PCM_REG_DATA_INI); in spm_get_wakeup_status()
211 wakesta->r12 = mmio_read_32(SPM_PCM_REG12_DATA); in spm_get_wakeup_status()
212 wakesta->raw_sta = mmio_read_32(SPM_SLEEP_ISR_RAW_STA); in spm_get_wakeup_status()
213 wakesta->wake_misc = mmio_read_32(SPM_SLEEP_WAKEUP_MISC); in spm_get_wakeup_status()
214 wakesta->timer_out = mmio_read_32(SPM_PCM_TIMER_OUT); in spm_get_wakeup_status()
215 wakesta->r13 = mmio_read_32(SPM_PCM_REG13_DATA); in spm_get_wakeup_status()
216 wakesta->idle_sta = mmio_read_32(SPM_SLEEP_SUBSYS_IDLE_STA); in spm_get_wakeup_status()
217 wakesta->debug_flag = mmio_read_32(SPM_PCM_PASR_DPD_3); in spm_get_wakeup_status()
218 wakesta->event_reg = mmio_read_32(SPM_PCM_EVENT_REG_STA); in spm_get_wakeup_status()
219 wakesta->isr = mmio_read_32(SPM_SLEEP_ISR_STATUS); in spm_get_wakeup_status()
243 if (mmio_read_32(SPM_PCM_IM_PTR) != ptr || in spm_kick_im_to_fetch()
244 mmio_read_32(SPM_PCM_IM_LEN) != len || in spm_kick_im_to_fetch()
253 con0 = mmio_read_32(SPM_PCM_CON0) & ~(CON0_IM_KICK | CON0_PCM_KICK); in spm_kick_im_to_fetch()
258 con0 = mmio_read_32(SPM_PCM_CON0) & ~(CON0_IM_KICK | CON0_PCM_KICK); in spm_kick_im_to_fetch()
267 INFO("settle = %u\n", mmio_read_32(SPM_CLK_SETTLE)); in spm_set_sysclk_settle()
274 con1 = mmio_read_32(SPM_PCM_CON1) & in spm_kick_pcm_to_run()
279 if (mmio_read_32(SPM_PCM_TIMER_VAL) > PCM_TIMER_MAX) in spm_kick_pcm_to_run()
283 mmio_read_32(SPM_PCM_TIMER_VAL) + PCM_WDT_TIMEOUT); in spm_kick_pcm_to_run()