Home
last modified time | relevance | path

Searched refs:last_core (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/plat/imx/imx8m/imx8mq/
Dgpc.c56 void imx_pup_pdn_slot_config(int last_core, bool pdn) in imx_pup_pdn_slot_config() argument
64 mmio_setbits_32(IMX_GPC_BASE + SLTx_CFG(2), SLT_COREx_PUP(last_core)); in imx_pup_pdn_slot_config()
77 void imx_set_cluster_powerdown(unsigned int last_core, uint8_t power_state) in imx_set_cluster_powerdown() argument
94 val &= ~COREx_IRQ_WUP(last_core); /* disable IRQ PUP for last core */ in imx_set_cluster_powerdown()
95 val |= COREx_LPM_PUP(last_core); /* enable LPM PUP for last core */ in imx_set_cluster_powerdown()
98 imx_pup_pdn_slot_config(last_core, true); in imx_set_cluster_powerdown()
107 imx_pup_pdn_slot_config(last_core, false); in imx_set_cluster_powerdown()
121 val &= ~COREx_LPM_PUP(last_core); /* disable C0's LPM PUP */ in imx_set_cluster_powerdown()
/external/arm-trusted-firmware/plat/imx/imx8m/
Dgpc_common.c138 void imx_set_cluster_powerdown(unsigned int last_core, uint8_t power_state) in imx_set_cluster_powerdown() argument
184 void imx_set_sys_wakeup(unsigned int last_core, bool pdn) in imx_set_sys_wakeup() argument
190 mmio_clrsetbits_32(IMX_GPC_BASE + LPCR_A53_BSC, A53_CORE_WUP_SRC(last_core), in imx_set_sys_wakeup()
194 A53_CORE_WUP_SRC(last_core)); in imx_set_sys_wakeup()
204 mmio_write_32(IMX_GPC_BASE + gpc_imr_offset[last_core] + i * 4, in imx_set_sys_wakeup()
221 void imx_set_sys_lpm(unsigned int last_core, bool retention) in imx_set_sys_lpm() argument
239 imx_set_sys_wakeup(last_core, retention); in imx_set_sys_lpm()
/external/arm-trusted-firmware/plat/imx/imx8m/include/
Dgpc.h66 void imx_set_cluster_powerdown(unsigned int last_core, uint8_t power_state);
68 void imx_set_sys_wakeup(unsigned int last_core, bool pdn);
69 void imx_set_sys_lpm(unsigned last_core, bool retention);