/trusted-firmware-a-3.4.0/plat/mediatek/common/lpm/ |
D | mt_lp_rm.h | 23 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);
|
D | mt_lp_rm.c | 39 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/ |
D | mt_spm_resource_req.h | 28 #define IS_PLAT_SUSPEND_ID(stateid)\ argument 29 ((stateid == MT_PLAT_PWR_STATE_SUSPEND2IDLE)\ 30 || (stateid == MT_PLAT_PWR_STATE_SYSTEM_SUSPEND))
|
D | plat_pm.h | 121 #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/ |
D | plat_pm.h | 34 #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/ |
D | plat_pm.h | 34 #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/ |
D | mt_spm_cond.h | 55 int stateid, void *priv);
|
D | mt_spm_cond.c | 159 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/ |
D | mt_spm_cond.h | 58 int stateid, void *priv);
|
D | mt_spm_cond.c | 151 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/ |
D | mt_spm_cond.h | 72 int stateid, void *priv);
|
D | mt_spm_cond.c | 175 int stateid, void *priv) in mt_spm_cond_update() argument 227 res = (*rc)->update(stateid, PLAT_RC_UPDATE_CONDITION, in mt_spm_cond_update()
|