Lines Matching refs:pnode
106 int pnode; in early_get_pnodeid() local
132 pnode = (node_id.s.node_id >> 1) & uv_cpuid.pnode_mask; in early_get_pnodeid()
137 m_n_config.s.n_skt, uv_cpuid.pnode_mask, pnode); in early_get_pnodeid()
138 return pnode; in early_get_pnodeid()
520 int pnode; in uv_wakeup_secondary() local
522 pnode = uv_apicid_to_pnode(phys_apicid); in uv_wakeup_secondary()
530 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_wakeup_secondary()
537 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_wakeup_secondary()
545 int pnode; in uv_send_IPI_one() local
548 pnode = uv_apicid_to_pnode(apicid); in uv_send_IPI_one()
549 uv_hub_send_ipi(pnode, apicid, vector); in uv_send_IPI_one()
690 static void set_x2apic_extra_bits(int pnode) in set_x2apic_extra_bits() argument
692 __this_cpu_write(x2apic_extra_bits, pnode << uvh_apicid.s.pnode_shift); in set_x2apic_extra_bits()
1094 set_x2apic_extra_bits(uv_hub_info->pnode); in uv_cpu_init()
1231 gre->type, gre->nasid, gre->sockid, gre->pnode); in decode_gam_rng_tbl()
1239 if (pnode_min > gre->pnode) in decode_gam_rng_tbl()
1240 pnode_min = gre->pnode; in decode_gam_rng_tbl()
1241 if (pnode_max < gre->pnode) in decode_gam_rng_tbl()
1242 pnode_max = gre->pnode; in decode_gam_rng_tbl()
1362 _socket_to_pnode[i] = gre->pnode; in build_socket_tables()
1364 i = gre->pnode - minpnode; in build_socket_tables()
1370 _pnode_to_socket[gre->pnode - minpnode]); in build_socket_tables()
1500 new_hub->pnode = _node_to_pnode[nodeid]; in uv_system_init_hub()
1502 new_hub->pnode = 0xffff; in uv_system_init_hub()
1514 unsigned short pnode; in uv_system_init_hub() local
1518 pnode = uv_apicid_to_pnode(apicid); in uv_system_init_hub()
1527 uv_hub_info_list(numa_node_id)->pnode == 0xffff) in uv_system_init_hub()
1528 uv_hub_info_list(numa_node_id)->pnode = pnode; in uv_system_init_hub()
1529 else if (uv_cpu_hub_info(cpu)->pnode == 0xffff) in uv_system_init_hub()
1530 uv_cpu_hub_info(cpu)->pnode = pnode; in uv_system_init_hub()
1536 unsigned short pnode = uv_hub_info_list(nodeid)->pnode; in uv_system_init_hub() local
1539 if (pnode == 0xffff) { in uv_system_init_hub()
1543 pnode = uv_gpa_to_pnode(uv_soc_phys_ram_to_gpa(paddr)); in uv_system_init_hub()
1544 uv_hub_info_list(nodeid)->pnode = pnode; in uv_system_init_hub()
1546 min_pnode = min(pnode, min_pnode); in uv_system_init_hub()
1547 max_pnode = max(pnode, max_pnode); in uv_system_init_hub()
1550 uv_hub_info_list(nodeid)->pnode, in uv_system_init_hub()