Lines Matching defs:rc
20 struct mt_resource_constraint *const *rc;
27 for (i = 0U, rc = rm->consts; *rc != NULL; i++, rc++) {
28 if ((*rc)->init != NULL) {
29 (*rc)->init();
41 struct mt_resource_constraint const *rc = NULL;
47 rc = plat_mt_rm.plat_rm->consts[idx];
49 if ((rc == NULL) || (rc->reset == NULL)) {
53 return rc->reset(cpuid, stateid);
82 struct mt_resource_constraint const *rc;
89 rc = rm->consts[constraint_id];
90 if ((rc != NULL) && (rc->run != NULL)) {
91 res = rc->run(cpuid, stateid);
102 struct mt_resource_constraint *const *rc;
118 for (i = idx, rc = (rm->consts + idx); *rc != NULL; i++, rc++) {
119 if (((*rc)->is_valid != NULL) &&
120 ((*rc)->is_valid(cpuid, stateid))) {
145 struct mt_resource_constraint *const *rc;
152 for (rc = rm->consts; *rc != NULL; rc++) {
153 if ((*rc)->update != NULL) {
154 res = (*rc)->update(stateid, type, p);