Home
last modified time | relevance | path

Searched refs:sta (Results 1 – 4 of 4) sorted by relevance

/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/mcdi/
A Dmt_mcdi.c99 unsigned int sta = mcdi_mbox_read(APMCU_MCUPM_MBOX_TASK_STA); in mtk_mcupm_is_ready() local
101 return (sta == MCUPM_TASK_WAIT) || (sta == MCUPM_TASK_INIT_FINISH); in mtk_mcupm_is_ready()
106 unsigned int sta = mcdi_mbox_read(APMCU_MCUPM_MBOX_TASK_STA); in mcdi_init_1() local
108 if (sta != MCUPM_TASK_INIT) { in mcdi_init_1()
A Dmt_cpu_pm_cpc.c24 uint32_t sta, retry; in mtk_cpc_last_core_prot() local
34 sta = (mmio_read_32(resp_reg) >> resp_ofs) & CPC_PROT_RESP_MASK; in mtk_cpc_last_core_prot()
36 if (sta == PROT_SUCCESS) { in mtk_cpc_last_core_prot()
38 } else if (sta == PROT_GIVEUP) { in mtk_cpc_last_core_prot()
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/mcdi/
A Dmt_mcdi.c99 unsigned int sta = mcdi_mbox_read(APMCU_MCUPM_MBOX_TASK_STA); in mtk_mcupm_is_ready() local
101 return (sta == MCUPM_TASK_WAIT) || (sta == MCUPM_TASK_INIT_FINISH); in mtk_mcupm_is_ready()
106 unsigned int sta = mcdi_mbox_read(APMCU_MCUPM_MBOX_TASK_STA); in mcdi_init_1() local
108 if (sta != MCUPM_TASK_INIT) { in mcdi_init_1()
A Dmt_cpu_pm_cpc.c24 uint32_t sta, retry; in mtk_cpc_last_core_prot() local
34 sta = (mmio_read_32(resp_reg) >> resp_ofs) & CPC_PROT_RESP_MASK; in mtk_cpc_last_core_prot()
36 if (sta == PROT_SUCCESS) { in mtk_cpc_last_core_prot()
38 } else if (sta == PROT_GIVEUP) { in mtk_cpc_last_core_prot()

Completed in 7 milliseconds