Lines Matching refs:NULL
22 if ((rm == NULL) || (rm->consts == NULL) || in mt_lp_rm_register()
23 (plat_mt_rm.plat_rm != NULL)) { in mt_lp_rm_register()
27 for (i = 0U, rc = rm->consts; *rc != NULL; i++, rc++) { in mt_lp_rm_register()
28 if ((*rc)->init != NULL) { in mt_lp_rm_register()
41 struct mt_resource_constraint const *rc = NULL; in mt_lp_rm_reset_constraint()
43 if ((plat_mt_rm.plat_rm == NULL) || (idx >= plat_mt_rm.count)) { in mt_lp_rm_reset_constraint()
49 if ((rc == NULL) || (rc->reset == NULL)) { in mt_lp_rm_reset_constraint()
62 if ((rm == NULL) || (type >= PLAT_RC_MAX)) { in mt_lp_rm_get_status()
66 for (con = rm->consts; *con != NULL; con++) { in mt_lp_rm_get_status()
67 if ((*con)->get_status == NULL) { in mt_lp_rm_get_status()
85 if ((rm == NULL) || (constraint_id >= plat_mt_rm.count)) { in mt_lp_rm_do_constraint()
90 if ((rc != NULL) && (rc->run != NULL)) { in mt_lp_rm_do_constraint()
105 if ((rm == NULL) || (idx >= plat_mt_rm.count)) { in mt_lp_rm_find_constraint()
110 if (rm->update != NULL) { in mt_lp_rm_find_constraint()
118 for (i = idx, rc = (rm->consts + idx); *rc != NULL; i++, rc++) { in mt_lp_rm_find_constraint()
119 if (((*rc)->is_valid != NULL) && in mt_lp_rm_find_constraint()
148 if (rm == NULL) { in mt_lp_rm_do_update()
152 for (rc = rm->consts; *rc != NULL; rc++) { in mt_lp_rm_do_update()
153 if ((*rc)->update != NULL) { in mt_lp_rm_do_update()