Home
last modified time | relevance | path

Searched refs:pnode (Results 1 – 6 of 6) sorted by relevance

/arch/ia64/include/asm/uv/
Duv_hub.h102 unsigned short pnode; member
172 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr() argument
174 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset); in uv_pnode_offset_to_vaddr()
182 static inline unsigned long *uv_global_mmr32_address(int pnode, in uv_global_mmr32_address() argument
186 UV_GLOBAL_MMR32_PNODE_BITS(pnode) | offset); in uv_global_mmr32_address()
189 static inline void uv_write_global_mmr32(int pnode, unsigned long offset, in uv_write_global_mmr32() argument
192 *uv_global_mmr32_address(pnode, offset) = val; in uv_write_global_mmr32()
195 static inline unsigned long uv_read_global_mmr32(int pnode, in uv_read_global_mmr32() argument
198 return *uv_global_mmr32_address(pnode, offset); in uv_read_global_mmr32()
205 static inline unsigned long *uv_global_mmr64_address(int pnode, in uv_global_mmr64_address() argument
[all …]
/arch/x86/include/asm/uv/
Duv_hub.h173 unsigned short pnode; member
523 static inline int uv_pnode_to_socket(int pnode) in uv_pnode_to_socket() argument
527 return p2s ? p2s[pnode - uv_hub_info->min_pnode] : pnode; in uv_pnode_to_socket()
531 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr() argument
538 return __va(((unsigned long)pnode << m_val) | offset); in uv_pnode_offset_to_vaddr()
540 sockid = uv_pnode_to_socket(pnode); in uv_pnode_offset_to_vaddr()
553 int pnode = apicid >> uv_hub_info->apic_pnode_shift; in uv_apicid_to_pnode() local
556 return s2pn ? s2pn[pnode - uv_hub_info->min_socket] : pnode; in uv_apicid_to_pnode()
563 static inline unsigned long *uv_global_mmr32_address(int pnode, unsigned long offset) in uv_global_mmr32_address() argument
566 UV_GLOBAL_MMR32_PNODE_BITS(pnode) | offset); in uv_global_mmr32_address()
[all …]
Dbios.h85 u16 pnode; /* Index to MMR and GRU spaces */ member
/arch/x86/platform/uv/
Duv_time.c74 int pnode; in uv_rtc_send_IPI() local
77 pnode = uv_apicid_to_pnode(apicid); in uv_rtc_send_IPI()
82 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_rtc_send_IPI()
86 static int uv_intr_pending(int pnode) in uv_intr_pending() argument
88 return uv_read_global_mmr64(pnode, UVH_EVENT_OCCURRED2) & in uv_intr_pending()
97 int pnode = uv_cpu_to_pnode(cpu); in uv_setup_intr() local
99 uv_write_global_mmr64(pnode, UVH_RTC1_INT_CONFIG, in uv_setup_intr()
101 uv_write_global_mmr64(pnode, UVH_INT_CMPB, -1L); in uv_setup_intr()
103 uv_write_global_mmr64(pnode, UVH_EVENT_OCCURRED2_ALIAS, in uv_setup_intr()
110 uv_write_global_mmr64(pnode, UVH_RTC1_INT_CONFIG, val); in uv_setup_intr()
[all …]
Duv_irq.c24 int pnode; member
45 uv_write_global_mmr64(info->pnode, info->offset, mmr_value); in uv_program_mmr()
98 chip_data->pnode = uv_blade_to_pnode(info->uv.blade); in uv_domain_alloc()
/arch/x86/kernel/apic/
Dx2apic_uv_x.c101 int pnode; in early_get_pnodeid() local
133 pnode = (uv_node_id >> uv_cpuid.nasid_shift) & uv_cpuid.pnode_mask; in early_get_pnodeid()
137 uv_cpuid.n_skt, uv_cpuid.pnode_mask, pnode); in early_get_pnodeid()
707 int pnode; in uv_wakeup_secondary() local
709 pnode = uv_apicid_to_pnode(phys_apicid); in uv_wakeup_secondary()
716 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_wakeup_secondary()
723 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_wakeup_secondary()
731 int pnode = uv_apicid_to_pnode(apicid); in uv_send_IPI_one() local
744 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_send_IPI_one()
1346 gre->type, gre->nasid, gre->sockid, gre->pnode); in decode_gam_rng_tbl()
[all …]