Home
last modified time | relevance | path

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

/arch/x86/include/asm/uv/
Duv_bau.h587 short pnode; member
599 short pnode; member
668 unsigned long (*read_g_sw_ack)(int pnode);
671 void (*write_g_sw_ack)(int pnode, unsigned long mmr);
672 void (*write_payload_first)(int pnode, unsigned long mmr);
673 void (*write_payload_last)(int pnode, unsigned long mmr);
678 static inline void write_mmr_data_broadcast(int pnode, unsigned long mmr_image) in write_mmr_data_broadcast() argument
680 write_gmmr(pnode, UVH_BAU_DATA_BROADCAST, mmr_image); in write_mmr_data_broadcast()
683 static inline void write_mmr_descriptor_base(int pnode, unsigned long mmr_image) in write_mmr_descriptor_base() argument
685 write_gmmr(pnode, UVH_LB_BAU_SB_DESCRIPTOR_BASE, mmr_image); in write_mmr_descriptor_base()
[all …]
Duv_hub.h180 unsigned short pnode; member
587 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr() argument
594 return __va(((unsigned long)pnode << m_val) | offset); in uv_pnode_offset_to_vaddr()
597 sockid = p2s ? p2s[pnode - uv_hub_info->min_pnode] : pnode; in uv_pnode_offset_to_vaddr()
611 int pnode = apicid >> uv_hub_info->apic_pnode_shift; in uv_apicid_to_pnode() local
614 return s2pn ? s2pn[pnode - uv_hub_info->min_socket] : pnode; in uv_apicid_to_pnode()
630 static inline unsigned long *uv_global_mmr32_address(int pnode, unsigned long offset) in uv_global_mmr32_address() argument
633 UV_GLOBAL_MMR32_PNODE_BITS(pnode) | offset); in uv_global_mmr32_address()
636 static inline void uv_write_global_mmr32(int pnode, unsigned long offset, unsigned long val) in uv_write_global_mmr32() argument
638 writeq(val, uv_global_mmr32_address(pnode, offset)); in uv_write_global_mmr32()
[all …]
Dbios.h69 u16 pnode; /* Index to MMR and GRU spaces */ member
/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/platform/uv/
Duv_time.c73 int pnode; in uv_rtc_send_IPI() local
76 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
89 return uv_read_global_mmr64(pnode, UVH_EVENT_OCCURRED0) & in uv_intr_pending()
92 return uv_read_global_mmr64(pnode, UVXH_EVENT_OCCURRED2) & in uv_intr_pending()
102 int pnode = uv_cpu_to_pnode(cpu); in uv_setup_intr() local
104 uv_write_global_mmr64(pnode, UVH_RTC1_INT_CONFIG, in uv_setup_intr()
106 uv_write_global_mmr64(pnode, UVH_INT_CMPB, -1L); in uv_setup_intr()
109 uv_write_global_mmr64(pnode, UVH_EVENT_OCCURRED0_ALIAS, in uv_setup_intr()
[all …]
Dtlb_uv.c347 static int pnode_to_first_cpu(int pnode, struct bau_control *smaster) in pnode_to_first_cpu() argument
354 if (pnode == hpp->pnode) in pnode_to_first_cpu()
421 int pnode; in reset_with_ipi() local
434 for (pnode = 0; pnode < maskbits; pnode++) { in reset_with_ipi()
436 if (!bau_uvhub_isset(pnode, distribution)) in reset_with_ipi()
438 apnode = pnode + bcp->partition_base_pnode; in reset_with_ipi()
1052 int pnode; in set_distrib_bits() local
1064 pnode = hpp->pnode - bcp->partition_base_pnode; in set_distrib_bits()
1065 bau_uvhub_set(pnode, &bau_desc->distribution); in set_distrib_bits()
1328 int pnode; in enable_timeouts() local
[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.c106 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()
[all …]