Home
last modified time | relevance | path

Searched refs:stateid (Results 1 – 12 of 12) sorted by relevance

/trusted-firmware-a-3.4.0/plat/mediatek/common/lpm/
Dmt_lp_rm.h23 bool (*is_valid)(unsigned int cpu, int stateid);
24 int (*update)(int stateid, int type, const void *p);
25 int (*run)(unsigned int cpu, int stateid);
26 int (*reset)(unsigned int cpu, int stateid);
27 unsigned int (*allow)(int stateid);
32 int stateid, void *priv);
38 int stateid, void *priv);
40 int stateid);
41 extern int mt_lp_rm_do_update(int stateid, int type, void const *p);
Dmt_lp_rm.c39 int mt_lp_rm_reset_constraint(int idx, unsigned int cpuid, int stateid) in mt_lp_rm_reset_constraint() argument
54 return rc->reset(cpuid, stateid); in mt_lp_rm_reset_constraint()
58 int stateid, void *priv) in mt_lp_rm_find_and_run_constraint() argument
70 res = rm->update(rm->consts, stateid, priv); in mt_lp_rm_find_and_run_constraint()
78 ((*rc)->is_valid(cpuid, stateid))) { in mt_lp_rm_find_and_run_constraint()
80 ((*rc)->run(cpuid, stateid) == 0)) { in mt_lp_rm_find_and_run_constraint()
90 int mt_lp_rm_do_update(int stateid, int type, void const *p) in mt_lp_rm_do_update() argument
102 res = (*rc)->update(stateid, type, p); in mt_lp_rm_do_update()
/trusted-firmware-a-3.4.0/plat/mediatek/mt8186/include/
Dmt_spm_resource_req.h28 #define IS_PLAT_SUSPEND_ID(stateid)\ argument
29 ((stateid == MT_PLAT_PWR_STATE_SUSPEND2IDLE)\
30 || (stateid == MT_PLAT_PWR_STATE_SYSTEM_SUSPEND))
Dplat_pm.h121 #define IS_PLAT_SUSPEND2IDLE_ID(stateid)\ argument
122 (stateid == MT_PLAT_PWR_STATE_SUSPEND2IDLE)
124 #define IS_PLAT_SUSPEND_ID(stateid) \ argument
125 ((stateid == MT_PLAT_PWR_STATE_SUSPEND2IDLE) \
126 || (stateid == MT_PLAT_PWR_STATE_SYSTEM_SUSPEND))
/trusted-firmware-a-3.4.0/plat/mediatek/mt8192/include/
Dplat_pm.h34 #define IS_PLAT_SUSPEND_ID(stateid)\ argument
35 ((stateid == MT_PLAT_PWR_STATE_SUSPEND2IDLE) \
36 || (stateid == MT_PLAT_PWR_STATE_SYSTEM_SUSPEND))
/trusted-firmware-a-3.4.0/plat/mediatek/mt8195/include/
Dplat_pm.h34 #define IS_PLAT_SUSPEND_ID(stateid)\ argument
35 ((stateid == MT_PLAT_PWR_STATE_SUSPEND2IDLE) \
36 || (stateid == MT_PLAT_PWR_STATE_SYSTEM_SUSPEND))
/trusted-firmware-a-3.4.0/plat/mediatek/mt8192/drivers/spm/
Dmt_spm_cond.h55 int stateid, void *priv);
Dmt_spm_cond.c159 int stateid, void *priv) in mt_spm_cond_update() argument
211 res = (*rc)->update(stateid, PLAT_RC_UPDATE_CONDITION, in mt_spm_cond_update()
/trusted-firmware-a-3.4.0/plat/mediatek/mt8186/drivers/spm/
Dmt_spm_cond.h58 int stateid, void *priv);
Dmt_spm_cond.c151 int mt_spm_cond_update(struct mt_resource_constraint **con, int stateid, void *priv) in mt_spm_cond_update() argument
204 res = (*rc)->update(stateid, PLAT_RC_UPDATE_CONDITION, in mt_spm_cond_update()
/trusted-firmware-a-3.4.0/plat/mediatek/mt8195/drivers/spm/
Dmt_spm_cond.h72 int stateid, void *priv);
Dmt_spm_cond.c175 int stateid, void *priv) in mt_spm_cond_update() argument
227 res = (*rc)->update(stateid, PLAT_RC_UPDATE_CONDITION, in mt_spm_cond_update()