Lines Matching defs:node

73 int sbdp_add_nodes_banks(pnode_t node, sbdp_bank_t **banks);
136 sbdp_get_mem_dip(pnode_t node, void *arg, uint_t flags)
145 if (node == OBP_BADNODE || node == OBP_NONODE)
152 (void) sbdp_is_mem(node, &mem);
156 if (mem.nmem == 0 || nodeid != node)
527 pnode_t nodeid = cph->busy_mc->node;
589 sbdp_copy_regs(pnode_t node, uint64_t bpa, uint64_t new_base, int inval,
596 if (mc_read_regs(node, &regs)) {
643 rsp[m].masr_addr = mc_get_addr(node, i, &rsp[m].asi);
708 * If this is a CMP node, the child has the implementation
803 "board=%d, mem node=%d, condition=%d",
856 mc_idle_regs[*r_idx].node = memnodes[i];
1255 * We are assuming one memory node therefore the base address is the lowest
1320 sbdp_get_lowest_addr_in_node(pnode_t node, uint64_t *pa)
1330 if (mc_read_regs(node, mc_regsp)) {
1354 sbdp_is_mem(pnode_t node, void *arg)
1370 * Make sure that this node doesn't have its status
1373 if (sbdp_get_comp_status(node) != SBD_COND_OK) {
1377 len = prom_getproplen(node, "device_type");
1379 (void) prom_getprop(node, "device_type", (caddr_t)type);
1386 if (sbdp_get_bd_and_wnode_num(node, &bd, &wnode) < 0)
1395 (void) prom_getprop(node, OBP_NAME, (caddr_t)name);
1398 list[memp->nmem++] = node;
1442 * do is search in the same branch as the mem node for its sibling cpu or
1443 * CMP node.
1461 * Given a memory node, check it's sibling cpu or CMP to see if
1462 * access to mem will be ok. We need to search for the node and
1768 * Each node has 4 logical banks. This routine adds all the banks (including
1773 sbdp_add_nodes_banks(pnode_t node, sbdp_bank_t **banks)
1780 if (mc_read_regs(node, &regs) == -1)
1809 * given the info, create a new bank node and set the info
1875 * free all the banks on the board. Note that a bank node belongs
1878 * free the node once.
2039 * found node, remove it