Searched refs:reg_rdata (Results 1 – 2 of 2) sorted by relevance
24 uint32_t reg_rdata; in wait_for_state_idle() local32 reg_rdata = mmio_read_32((uintptr_t)wacs_register); in wait_for_state_idle()37 switch (((reg_rdata >> RDATA_WACS_FSM_SHIFT) & in wait_for_state_idle()63 *read_reg = reg_rdata; in wait_for_state_idle()71 uint32_t reg_rdata; in wait_for_state_ready() local78 reg_rdata = mmio_read_32((uintptr_t)wacs_register); in wait_for_state_ready()80 if (((reg_rdata >> RDATA_WACS_FSM_SHIFT) & RDATA_WACS_FSM_MASK) in wait_for_state_ready()93 *read_reg = reg_rdata; in wait_for_state_ready()103 uint32_t reg_rdata = 0; in pwrap_wacs2() local110 reg_rdata = mmio_read_32((uintptr_t)&mtk_pwrap->wacs2_rdata); in pwrap_wacs2()[all …]
22 uint32_t reg_rdata = 0U, retry; in pwrap_check_idle() local28 reg_rdata = mmio_read_32((uintptr_t)wacs_register); in pwrap_check_idle()33 switch (GET_WACS_FSM(reg_rdata)) { in pwrap_check_idle()63 uint32_t reg_rdata = 0U, retry; in pwrap_check_vldclr() local68 reg_rdata = mmio_read_32((uintptr_t)wacs_register); in pwrap_check_vldclr()69 if (GET_WACS_FSM(reg_rdata) == SWINF_FSM_WFVLDCLR) { in pwrap_check_vldclr()86 uint32_t reg_rdata, return_value; in pwrap_wacs2() local126 reg_rdata = mmio_read_32((uintptr_t)&mtk_pwrap->wacs2_rdata); in pwrap_wacs2()127 *rdata = reg_rdata; in pwrap_wacs2()