Lines Matching defs:node_id
120 unsigned int mn_reg_off, node_id;
130 FOR_EACH_PRESENT_NODE_ID(node_id, rn_bitmap) {
143 ccn_get_rni_mcount(periphbase, node_id));
157 info->node_desc[node_id] = node_mcount;
197 unsigned int node_id;
199 node_id = plat_desc->master_to_rn_id_map[master_id];
200 assert(node_id < MAX_RN_NODES);
201 assert(info.node_desc[node_id]);
202 info.node_desc[node_id]--;
229 unsigned int node_id, iface_id;
238 node_id = ccn_plat_desc->master_to_rn_id_map[iface_id];
241 rn_id_map |= (1ULL << node_id);
497 * This function returns the region id corresponding to a node_id of node_type.
500 unsigned int node_id)
507 assert(node_id < MAX_RN_NODES);
540 assert((node_bitmap & (1ULL << (node_id))) != 0U);
545 node_pos_in_map, loc_node_id, node_id);
546 if (loc_node_id == node_id)
552 ERROR("Node Id = %d, is not found.\n", node_id);
562 region_id += node_id;
572 * where, region id is mapped to a node_id of node_type.
574 void ccn_write_node_reg(node_types_t node_type, unsigned int node_id,
577 unsigned int region_id = get_region_id_for_node(node_type, node_id);
597 * where, region id is mapped to a node_id of node_type.
600 unsigned int node_id,
604 unsigned int region_id = get_region_id_for_node(node_type, node_id);