Lines Matching refs:res
132 struct mt_spm_cond_tables *res) in mt_spm_cond_check() argument
143 if (res != NULL) { in mt_spm_cond_check()
144 res->table_cg[i] = (src->table_cg[i] & dest->table_cg[i]); in mt_spm_cond_check()
145 if (is_system_suspend && ((res->table_cg[i]) != 0U)) { in mt_spm_cond_check()
148 res->table_cg[i]); in mt_spm_cond_check()
151 if ((res->table_cg[i]) != 0U) { in mt_spm_cond_check()
160 if (res != NULL) { in mt_spm_cond_check()
161 res->table_pll = (src->table_pll & dest->table_pll); in mt_spm_cond_check()
163 if ((res->table_pll) != 0U) { in mt_spm_cond_check()
164 b_res |= (res->table_pll << SPM_COND_BLOCKED_PLL_IDX) | in mt_spm_cond_check()
180 struct mt_spm_cond_tables *res) in mt_spm_dump_all_pll() argument
184 if (res != NULL) { in mt_spm_dump_all_pll()
185 res->table_all_pll = src->table_all_pll; in mt_spm_dump_all_pll()
186 if ((res->table_all_pll) != 0U) { in mt_spm_dump_all_pll()
187 b_res |= (res->table_all_pll << SPM_COND_BLOCKED_PLL_IDX) | in mt_spm_dump_all_pll()
223 int res; in mt_spm_cond_update() local
256 res = (*_con)->update(stateid, PLAT_RC_UPDATE_CONDITION, in mt_spm_cond_update()
258 if (res != MT_RM_STATUS_OK) { in mt_spm_cond_update()