Searched refs:mtcmos_wait_for_state (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/mediatek/drivers/mtcmos/ |
| H A D | mtcmos.c | 35 static int mtcmos_wait_for_state(uint32_t reg, uint32_t mask, bool is_set) in mtcmos_wait_for_state() function 61 if (mtcmos_wait_for_state(bp_table[i].rdy_addr, bp_table[i].mask, true)) in spm_mtcmos_ctrl_bus_prot() 86 ret = mtcmos_wait_for_state(reg, SRAM_PDN_ACK, true); in spm_mtcmos_ctrl() 106 ret = mtcmos_wait_for_state(reg, PWR_ACK, false); in spm_mtcmos_ctrl() 111 ret = mtcmos_wait_for_state(reg, PWR_ACK_2ND, false); in spm_mtcmos_ctrl() 116 ret = mtcmos_wait_for_state(reg, PWR_ACK, true); in spm_mtcmos_ctrl() 123 ret = mtcmos_wait_for_state(reg, PWR_ACK_2ND, true); in spm_mtcmos_ctrl() 146 ret = mtcmos_wait_for_state(reg, SRAM_PDN_ACK, false); in spm_mtcmos_ctrl()
|