Home
last modified time | relevance | path

Searched refs:m_val (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/ia64/uv/kernel/
Dsetup.c89 int nid, cpu, m_val, n_val; in uv_setup() local
98 m_val = m_n_config.s.m_skt; in uv_setup()
103 ~((1 << n_val) - 1)) << m_val; in uv_setup()
110 uv_cpu_hub_info(cpu)->m_val = m_val; in uv_setup()
113 uv_cpu_hub_info(cpu)->gpa_mask = (1 << (m_val + n_val)) - 1; in uv_setup()
/kernel/linux/linux-5.10/arch/x86/include/asm/uv/
Duv_hub.h159 unsigned char m_val; member
434 unsigned int m_val = uv_hub_info->m_val; in uv_soc_phys_ram_to_gpa() local
439 if (m_val) { in uv_soc_phys_ram_to_gpa()
443 ((paddr >> uv_hub_info->m_val) in uv_soc_phys_ram_to_gpa()
471 unsigned int m_val = uv_hub_info->m_val; in uv_gpa_to_soc_phys_ram() local
473 if (m_val) in uv_gpa_to_soc_phys_ram()
475 ((gpa >> uv_hub_info->n_lshift) << uv_hub_info->m_val); in uv_gpa_to_soc_phys_ram()
525 unsigned int m_val = uv_hub_info->m_val; in uv_pnode_offset_to_vaddr() local
529 if (m_val) in uv_pnode_offset_to_vaddr()
530 return __va(((unsigned long)pnode << m_val) | offset); in uv_pnode_offset_to_vaddr()
/kernel/linux/linux-5.10/arch/ia64/include/asm/uv/
Duv_hub.h107 unsigned char m_val; member
174 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset); in uv_pnode_offset_to_vaddr()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dx2apic_uv_x.c1237 unsigned char m_val; member
1249 mnp->m_val = 0; in get_mn()
1254 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1258 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1259 mnp->n_lshift = mnp->m_val == 40 ? 40 : 39; in get_mn()
1261 mnp->m_shift = mnp->m_val ? 64 - mnp->m_val : 0; in get_mn()
1269 hi->gpa_mask = mn.m_val ? in uv_init_hub_info()
1270 (1UL << (mn.m_val + mn.n_val)) - 1 : in uv_init_hub_info()
1273 hi->m_val = mn.m_val; in uv_init_hub_info()
1291 if (mn.m_val) in uv_init_hub_info()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfbmon.c1073 u32 c_val, m_val, duty_cycle, hblank; in fb_get_hblank_by_hfreq() local
1077 m_val = (H_BLANKSCALE * H_GRADIENT)/256; in fb_get_hblank_by_hfreq()
1078 m_val = (m_val * 1000000)/hfreq; in fb_get_hblank_by_hfreq()
1079 duty_cycle = c_val - m_val; in fb_get_hblank_by_hfreq()