/trusted-firmware-a-3.7.0/lib/zlib/ |
D | inflate.c | 95 struct inflate_state FAR *state; in inflateStateCheck() local 99 state = (struct inflate_state FAR *)strm->state; in inflateStateCheck() 100 if (state == Z_NULL || state->strm != strm || in inflateStateCheck() 101 state->mode < HEAD || state->mode > SYNC) in inflateStateCheck() 107 struct inflate_state FAR *state; in inflateResetKeep() local 110 state = (struct inflate_state FAR *)strm->state; in inflateResetKeep() 111 strm->total_in = strm->total_out = state->total = 0; in inflateResetKeep() 113 if (state->wrap) /* to support ill-conceived Java test suite */ in inflateResetKeep() 114 strm->adler = state->wrap & 1; in inflateResetKeep() 115 state->mode = HEAD; in inflateResetKeep() [all …]
|
D | inffast.c | 51 struct inflate_state FAR *state; in inflate_fast() local 78 state = (struct inflate_state FAR *)strm->state; in inflate_fast() 85 dmax = state->dmax; in inflate_fast() 87 wsize = state->wsize; in inflate_fast() 88 whave = state->whave; in inflate_fast() 89 wnext = state->wnext; in inflate_fast() 90 window = state->window; in inflate_fast() 91 hold = state->hold; in inflate_fast() 92 bits = state->bits; in inflate_fast() 93 lcode = state->lencode; in inflate_fast() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/drivers/cpu_pm/cpcv3_2/ |
D | mt_cpu_pm.c | 62 static void cpupm_cpu_resume_common(const struct mtk_cpupm_pwrstate *state) in cpupm_cpu_resume_common() argument 64 CPU_PM_ASSERT(state != NULL); in cpupm_cpu_resume_common() 65 mtk_cpc_core_on_hint_clr(state->info.cpuid); in cpupm_cpu_resume_common() 81 static void cpupm_cpu_resume_smp(const struct mtk_cpupm_pwrstate *state) in cpupm_cpu_resume_smp() argument 83 CPU_PM_ASSERT(state != NULL); in cpupm_cpu_resume_smp() 87 GIC_WAKEUP_IGNORE(state->info.cpuid)); in cpupm_cpu_resume_smp() 89 cpupm_cpu_resume_common(state); in cpupm_cpu_resume_smp() 92 static void cpupm_cpu_suspend_smp(const struct mtk_cpupm_pwrstate *state) in cpupm_cpu_suspend_smp() argument 96 CPU_PM_ASSERT(state != NULL); in cpupm_cpu_suspend_smp() 98 PER_CPU_PWR_CTRL(pwr_ctrl, state->info.cpuid); in cpupm_cpu_suspend_smp() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8186/drivers/mcdi/ |
D | mt_cpu_pm.c | 25 static int pwr_state_prompt(unsigned int cpu, const psci_power_state_t *state) in pwr_state_prompt() argument 30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() argument 34 if (IS_SYSTEM_SUSPEND_STATE(state)) { in pwr_state_reflect() 41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() argument 46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() argument 54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() argument 59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() argument 64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() argument 66 if (!IS_MCUSYS_OFF_STATE(state) || (plat_mt_lp_cpu_rc < 0)) { in pwr_mcusys_pwron() 76 const psci_power_state_t *state) in pwr_mcusys_pwron_finished() argument [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8192/drivers/mcdi/ |
D | mt_cpu_pm.c | 25 static int pwr_state_prompt(unsigned int cpu, const psci_power_state_t *state) in pwr_state_prompt() argument 30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() argument 34 if (IS_SYSTEM_SUSPEND_STATE(state)) { in pwr_state_reflect() 41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() argument 46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() argument 54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() argument 59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() argument 64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() argument 66 if (!IS_MCUSYS_OFF_STATE(state) || (plat_mt_lp_cpu_rc < 0)) { in pwr_mcusys_pwron() 76 const psci_power_state_t *state) in pwr_mcusys_pwron_finished() argument [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8195/drivers/mcdi/ |
D | mt_cpu_pm.c | 25 static int pwr_state_prompt(unsigned int cpu, const psci_power_state_t *state) in pwr_state_prompt() argument 30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state) in pwr_state_reflect() argument 34 if (IS_SYSTEM_SUSPEND_STATE(state)) { in pwr_state_reflect() 41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwron() argument 46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cpu_pwrdwn() argument 54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwron() argument 59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state) in pwr_cluster_pwrdwn() argument 64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state) in pwr_mcusys_pwron() argument 66 if (!IS_MCUSYS_OFF_STATE(state) || (plat_mt_lp_cpu_rc < 0)) { in pwr_mcusys_pwron() 76 const psci_power_state_t *state) in pwr_mcusys_pwron_finished() argument [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8186/ |
D | plat_pm.c | 41 const psci_power_state_t *state), in plat_mt_pm_invoke() argument 42 int cpu, const psci_power_state_t *state) in plat_mt_pm_invoke() 47 ret = func(cpu, state); in plat_mt_pm_invoke() 57 const psci_power_state_t *state, unsigned int req_pstate) in plat_cpu_pwrdwn_common() argument 62 (void)plat_mt_pm_invoke(plat_mt_pm->pwr_cpu_dwn, cpu, state); in plat_cpu_pwrdwn_common() 76 const psci_power_state_t *state, unsigned int req_pstate) in plat_cpu_pwron_common() argument 81 (void)plat_mt_pm_invoke(plat_mt_pm->pwr_cpu_on, cpu, state); in plat_cpu_pwron_common() 89 if (IS_MCUSYS_OFF_STATE(state)) { in plat_cpu_pwron_common() 104 const psci_power_state_t *state, unsigned int req_pstate) in plat_cluster_pwrdwn_common() argument 109 if (plat_mt_pm_invoke(plat_mt_pm->pwr_cluster_dwn, cpu, state) != 0) { in plat_cluster_pwrdwn_common() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8192/ |
D | plat_pm.c | 63 const psci_power_state_t *state, unsigned int req_pstate) in plat_cpu_pwrdwn_common() argument 67 plat_mt_pm_invoke_no_check(pwr_cpu_dwn, cpu, state); in plat_cpu_pwrdwn_common() 83 const psci_power_state_t *state, unsigned int req_pstate) in plat_cpu_pwron_common() argument 87 plat_mt_pm_invoke_no_check(pwr_cpu_on, cpu, state); in plat_cpu_pwron_common() 95 if (IS_MCUSYS_OFF_STATE(state)) { in plat_cpu_pwron_common() 114 const psci_power_state_t *state, unsigned int req_pstate) in plat_cluster_pwrdwn_common() argument 118 if (plat_mt_pm_invoke(pwr_cluster_dwn, cpu, state) != 0) { in plat_cluster_pwrdwn_common() 129 const psci_power_state_t *state, unsigned int req_pstate) in plat_cluster_pwron_common() argument 133 if (plat_mt_pm_invoke(pwr_cluster_on, cpu, state) != 0) { in plat_cluster_pwron_common() 147 const psci_power_state_t *state, unsigned int req_pstate) in plat_mcusys_pwrdwn_common() argument [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8195/ |
D | plat_pm.c | 63 const psci_power_state_t *state, unsigned int req_pstate) in plat_cpu_pwrdwn_common() argument 67 plat_mt_pm_invoke_no_check(pwr_cpu_dwn, cpu, state); in plat_cpu_pwrdwn_common() 81 const psci_power_state_t *state, unsigned int req_pstate) in plat_cpu_pwron_common() argument 85 plat_mt_pm_invoke_no_check(pwr_cpu_on, cpu, state); in plat_cpu_pwron_common() 96 if (IS_MCUSYS_OFF_STATE(state)) { in plat_cpu_pwron_common() 112 const psci_power_state_t *state, unsigned int req_pstate) in plat_cluster_pwrdwn_common() argument 116 if (plat_mt_pm_invoke(pwr_cluster_dwn, cpu, state) != 0) { in plat_cluster_pwrdwn_common() 127 const psci_power_state_t *state, unsigned int req_pstate) in plat_cluster_pwron_common() argument 131 if (plat_mt_pm_invoke(pwr_cluster_on, cpu, state) != 0) { in plat_cluster_pwron_common() 145 const psci_power_state_t *state, unsigned int req_pstate) in plat_mcusys_pwrdwn_common() argument [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8192/include/ |
D | plat_mtk_lpm.h | 28 int (*pwr_prompt)(unsigned int cpu, const psci_power_state_t *state); 29 int (*pwr_reflect)(unsigned int cpu, const psci_power_state_t *state); 31 int (*pwr_cpu_on)(unsigned int cpu, const psci_power_state_t *state); 32 int (*pwr_cpu_dwn)(unsigned int cpu, const psci_power_state_t *state); 35 const psci_power_state_t *state); 37 const psci_power_state_t *state); 39 int (*pwr_mcusys_on)(unsigned int cpu, const psci_power_state_t *state); 41 const psci_power_state_t *state); 43 const psci_power_state_t *state);
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8195/include/ |
D | plat_mtk_lpm.h | 28 int (*pwr_prompt)(unsigned int cpu, const psci_power_state_t *state); 29 int (*pwr_reflect)(unsigned int cpu, const psci_power_state_t *state); 31 int (*pwr_cpu_on)(unsigned int cpu, const psci_power_state_t *state); 32 int (*pwr_cpu_dwn)(unsigned int cpu, const psci_power_state_t *state); 35 const psci_power_state_t *state); 37 const psci_power_state_t *state); 39 int (*pwr_mcusys_on)(unsigned int cpu, const psci_power_state_t *state); 41 const psci_power_state_t *state); 43 const psci_power_state_t *state);
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8186/include/ |
D | plat_mtk_lpm.h | 28 int (*pwr_prompt)(unsigned int cpu, const psci_power_state_t *state); 29 int (*pwr_reflect)(unsigned int cpu, const psci_power_state_t *state); 31 int (*pwr_cpu_on)(unsigned int cpu, const psci_power_state_t *state); 32 int (*pwr_cpu_dwn)(unsigned int cpu, const psci_power_state_t *state); 35 const psci_power_state_t *state); 37 const psci_power_state_t *state); 39 int (*pwr_mcusys_on)(unsigned int cpu, const psci_power_state_t *state); 41 const psci_power_state_t *state); 43 const psci_power_state_t *state);
|
/trusted-firmware-a-3.7.0/plat/nvidia/tegra/soc/t186/drivers/mce/ |
D | nvg.c | 19 int32_t nvg_enter_cstate(uint32_t ari_base, uint32_t state, uint32_t wake_time) in nvg_enter_cstate() argument 27 if ((state != TEGRA_ARI_CORE_C0) && (state != TEGRA_ARI_CORE_C1) && in nvg_enter_cstate() 28 (state != TEGRA_ARI_CORE_C6) && (state != TEGRA_ARI_CORE_C7)) { in nvg_enter_cstate() 29 ERROR("%s: unknown cstate (%d)\n", __func__, state); in nvg_enter_cstate() 37 write_actlr_el1(val | (uint64_t)state); in nvg_enter_cstate() 113 uint64_t nvg_read_cstate_stats(uint32_t ari_base, uint32_t state) in nvg_read_cstate_stats() argument 120 if (state == 0U) { in nvg_read_cstate_stats() 130 (uint64_t)state)); in nvg_read_cstate_stats() 137 int32_t nvg_write_cstate_stats(uint32_t ari_base, uint32_t state, uint32_t stats) in nvg_write_cstate_stats() argument 149 val = ((uint64_t)stats << MCE_CSTATE_STATS_TYPE_SHIFT) | state; in nvg_write_cstate_stats() [all …]
|
/trusted-firmware-a-3.7.0/drivers/renesas/common/iic_dvfs/ |
D | iic_dvfs.c | 97 IIC_DVFS_FUNC(check_error, enum dvfs_state_t *state, uint32_t *err, uint8_t mode) in IIC_DVFS_FUNC() argument 118 if (*state == DVFS_SET_SLAVE) { in IIC_DVFS_FUNC() 153 *state = DVFS_START; in IIC_DVFS_FUNC() 183 *state = DVFS_START; in IIC_DVFS_FUNC() 188 IIC_DVFS_FUNC(start, enum dvfs_state_t *state) in IIC_DVFS_FUNC() argument 234 *state = DVFS_SET_SLAVE; in IIC_DVFS_FUNC() 239 IIC_DVFS_FUNC(set_slave, enum dvfs_state_t *state, uint32_t *err, uint8_t slave) in IIC_DVFS_FUNC() argument 245 result = dvfs_check_error(state, err, DVFS_WRITE_MODE); in IIC_DVFS_FUNC() 261 *state = DVFS_WRITE_ADDR; in IIC_DVFS_FUNC() 266 IIC_DVFS_FUNC(write_addr, enum dvfs_state_t *state, uint32_t *err, uint8_t reg_addr) in IIC_DVFS_FUNC() argument [all …]
|
/trusted-firmware-a-3.7.0/services/spd/opteed/ |
D | opteed_pm.c | 35 if (get_optee_pstate(optee_ctx->state) == OPTEE_PSTATE_UNKNOWN) { in opteed_cpu_off_handler() 40 assert(get_optee_pstate(optee_ctx->state) == OPTEE_PSTATE_ON); in opteed_cpu_off_handler() 57 set_optee_pstate(optee_ctx->state, OPTEE_PSTATE_OFF); in opteed_cpu_off_handler() 72 if (get_optee_pstate(optee_ctx->state) == OPTEE_PSTATE_UNKNOWN) { in opteed_cpu_suspend_handler() 77 assert(get_optee_pstate(optee_ctx->state) == OPTEE_PSTATE_ON); in opteed_cpu_suspend_handler() 94 set_optee_pstate(optee_ctx->state, OPTEE_PSTATE_SUSPEND); in opteed_cpu_suspend_handler() 111 assert(get_optee_pstate(optee_ctx->state) == OPTEE_PSTATE_OFF || in opteed_cpu_on_finish_handler() 112 get_optee_pstate(optee_ctx->state) == OPTEE_PSTATE_UNKNOWN); in opteed_cpu_on_finish_handler() 132 set_optee_pstate(optee_ctx->state, OPTEE_PSTATE_ON); in opteed_cpu_on_finish_handler() 146 if (get_optee_pstate(optee_ctx->state) == OPTEE_PSTATE_UNKNOWN) { in opteed_cpu_suspend_finish_handler() [all …]
|
/trusted-firmware-a-3.7.0/plat/imx/imx8m/include/ |
D | imx8m_psci.h | 10 #define CORE_PWR_STATE(state) ((state)->pwr_domain_state[MPIDR_AFFLVL0]) argument 11 #define CLUSTER_PWR_STATE(state) ((state)->pwr_domain_state[MPIDR_AFFLVL1]) argument 12 #define SYSTEM_PWR_STATE(state) ((state)->pwr_domain_state[PLAT_MAX_PWR_LVL]) argument
|
/trusted-firmware-a-3.7.0/lib/extensions/sme/ |
D | sme.c | 20 el3_state_t *state; in sme_enable() local 23 state = get_el3state_ctx(context); in sme_enable() 26 reg = read_ctx_reg(state, CTX_SCR_EL3); in sme_enable() 28 write_ctx_reg(state, CTX_SCR_EL3, reg); in sme_enable() 90 el3_state_t *state; in sme_disable() local 93 state = get_el3state_ctx(context); in sme_disable() 96 reg = read_ctx_reg(state, CTX_SCR_EL3); in sme_disable() 98 write_ctx_reg(state, CTX_SCR_EL3, reg); in sme_disable()
|
/trusted-firmware-a-3.7.0/drivers/renesas/common/emmc/ |
D | emmc_cmd.c | 203 EMMC_INT_STATE state; in emmc_exec_cmd() local 223 state = ESTATE_BEGIN; in emmc_exec_cmd() 232 while ((mmc_drv_obj.force_terminate != TRUE) && (state != ESTATE_END)) { in emmc_exec_cmd() 240 switch (state) { in emmc_exec_cmd() 256 state = ESTATE_ISSUE_CMD; in emmc_exec_cmd() 268 state = ESTATE_NON_RESP_CMD; in emmc_exec_cmd() 270 state = ESTATE_RCV_RESP; in emmc_exec_cmd() 285 state = ESTATE_ERROR; in emmc_exec_cmd() 290 state = ESTATE_ERROR; in emmc_exec_cmd() 293 state = ESTATE_END; in emmc_exec_cmd() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/lib/pm/armv8_2/ |
D | pwr_ctrl.c | 81 struct mtk_cpupm_pwrstate *state) in get_mediatek_pstate() argument 84 return mtk_cpu_pwr.ops->get_pstate(domain, psci_state, state); in get_mediatek_pstate() 104 static void armv8_2_mcusys_pwr_on_common(const struct mtk_cpupm_pwrstate *state) in armv8_2_mcusys_pwr_on_common() argument 114 mtk_cpu_pwr.ops->mcusys_resume(state); in armv8_2_mcusys_pwr_on_common() 119 static void armv8_2_mcusys_pwr_dwn_common(const struct mtk_cpupm_pwrstate *state) in armv8_2_mcusys_pwr_dwn_common() argument 126 mtk_cpu_pwr.ops->mcusys_suspend(state); in armv8_2_mcusys_pwr_dwn_common() 131 static void armv8_2_cluster_pwr_on_common(const struct mtk_cpupm_pwrstate *state) in armv8_2_cluster_pwr_on_common() argument 140 mtk_cpu_pwr.ops->cluster_resume(state); in armv8_2_cluster_pwr_on_common() 145 static void armv8_2_cluster_pwr_dwn_common(const struct mtk_cpupm_pwrstate *state) in armv8_2_cluster_pwr_dwn_common() argument 148 mtk_cpu_pwr.ops->cluster_suspend(state); in armv8_2_cluster_pwr_dwn_common() [all …]
|
/trusted-firmware-a-3.7.0/plat/nxp/common/psci/ |
D | plat_psci.c | 169 static void _pwr_suspend(const psci_power_state_t *state) in _pwr_suspend() argument 175 if (state->pwr_domain_state[PLAT_MAX_LVL] == PLAT_MAX_OFF_STATE) { in _pwr_suspend() 183 } else if (state->pwr_domain_state[PLAT_MAX_LVL] in _pwr_suspend() 194 else if (state->pwr_domain_state[PLAT_CLSTR_LVL] == in _pwr_suspend() 205 else if (state->pwr_domain_state[PLAT_CLSTR_LVL] == in _pwr_suspend() 216 else if (state->pwr_domain_state[PLAT_CORE_LVL] == PLAT_MAX_OFF_STATE) { in _pwr_suspend() 227 else if (state->pwr_domain_state[PLAT_CORE_LVL] == PLAT_MAX_RET_STATE) { in _pwr_suspend() 241 static void _pwr_suspend_finish(const psci_power_state_t *state) in _pwr_suspend_finish() argument 248 if (state->pwr_domain_state[PLAT_MAX_LVL] == PLAT_MAX_OFF_STATE) { in _pwr_suspend_finish() 258 } else if (state->pwr_domain_state[PLAT_MAX_LVL] in _pwr_suspend_finish() [all …]
|
/trusted-firmware-a-3.7.0/services/spd/tspd/ |
D | tspd_private.h | 26 #define get_tsp_pstate(state) ((state >> TSP_PSTATE_SHIFT) & TSP_PSTATE_MASK) argument 27 #define clr_tsp_pstate(state) (state &= ~(TSP_PSTATE_MASK \ argument 47 #define get_yield_smc_active_flag(state) \ argument 48 ((state >> YIELD_SMC_ACTIVE_FLAG_SHIFT) \ 50 #define set_yield_smc_active_flag(state) (state |= \ argument 52 #define clr_yield_smc_active_flag(state) (state &= \ argument 184 uint32_t state; member
|
/trusted-firmware-a-3.7.0/services/spd/tlkd/ |
D | tlkd_private.h | 28 #define get_yield_smc_active_flag(state) \ argument 29 (((state) >> YIELD_SMC_ACTIVE_FLAG_SHIFT) \ 31 #define set_yield_smc_active_flag(state) ((state) |= \ argument 33 #define clr_yield_smc_active_flag(state) ((state) &= \ argument 102 uint32_t state; member
|
/trusted-firmware-a-3.7.0/plat/mediatek/mt8173/ |
D | plat_pm.c | 37 #define MTK_CORE_PWR_STATE(state) (state)->pwr_domain_state[MTK_PWR_LVL0] argument 38 #define MTK_CLUSTER_PWR_STATE(state) (state)->pwr_domain_state[MTK_PWR_LVL1] argument 39 #define MTK_SYSTEM_PWR_STATE(state) ((PLAT_MAX_PWR_LVL > MTK_PWR_LVL1) ?\ argument 40 (state)->pwr_domain_state[MTK_PWR_LVL2] : 0) 291 static void plat_power_domain_off(const psci_power_state_t *state) in plat_power_domain_off() argument 302 if (MTK_CLUSTER_PWR_STATE(state) == MTK_LOCAL_STATE_OFF) { in plat_power_domain_off() 322 static void plat_power_domain_suspend(const psci_power_state_t *state) in plat_power_domain_suspend() argument 339 if (MTK_SYSTEM_PWR_STATE(state) != MTK_LOCAL_STATE_OFF) { in plat_power_domain_suspend() 341 if (MTK_CLUSTER_PWR_STATE(state) == MTK_LOCAL_STATE_OFF) in plat_power_domain_suspend() 348 if (MTK_CLUSTER_PWR_STATE(state) == MTK_LOCAL_STATE_OFF) { in plat_power_domain_suspend() [all …]
|
/trusted-firmware-a-3.7.0/plat/mediatek/lib/pm/ |
D | mtk_pm.h | 105 void (*cpu_on)(const struct mtk_cpupm_pwrstate *state); 106 void (*cpu_off)(const struct mtk_cpupm_pwrstate *state); 128 const struct mtk_cpupm_pwrstate *state); 129 int (*pwr_state_valid)(unsigned int afflv, unsigned int state); 130 void (*cpu_suspend)(const struct mtk_cpupm_pwrstate *state); 131 void (*cpu_resume)(const struct mtk_cpupm_pwrstate *state); 132 void (*cluster_suspend)(const struct mtk_cpupm_pwrstate *state); 133 void (*cluster_resume)(const struct mtk_cpupm_pwrstate *state); 134 void (*mcusys_suspend)(const struct mtk_cpupm_pwrstate *state); 135 void (*mcusys_resume)(const struct mtk_cpupm_pwrstate *state); [all …]
|
/trusted-firmware-a-3.7.0/services/std_svc/sdei/ |
D | sdei_intr_mgmt.c | 63 sdei_cpu_state_t *state = sdei_get_this_pe_state(); in sdei_pe_mask() local 69 if (!state->pe_masked) { in sdei_pe_mask() 70 state->pe_masked = true; in sdei_pe_mask() 82 sdei_cpu_state_t *state = sdei_get_this_pe_state(); in sdei_pe_unmask() local 91 if (state->pending_enables) { in sdei_pe_unmask() 111 state->pending_enables = false; in sdei_pe_unmask() 112 state->pe_masked = false; in sdei_pe_unmask() 118 sdei_cpu_state_t *state = sdei_get_this_pe_state(); in push_dispatch() local 122 assert(state->stack_top < MAX_EVENT_NESTING); in push_dispatch() 124 disp_ctx = &state->dispatch_stack[state->stack_top]; in push_dispatch() [all …]
|