Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/include/asm/uv/
Duv_hub.h159 unsigned char m_val; member
435 unsigned int m_val = uv_hub_info->m_val; in uv_soc_phys_ram_to_gpa() local
440 if (m_val) { in uv_soc_phys_ram_to_gpa()
444 ((paddr >> uv_hub_info->m_val) in uv_soc_phys_ram_to_gpa()
472 unsigned int m_val = uv_hub_info->m_val; in uv_gpa_to_soc_phys_ram() local
474 if (m_val) in uv_gpa_to_soc_phys_ram()
476 ((gpa >> uv_hub_info->n_lshift) << uv_hub_info->m_val); in uv_gpa_to_soc_phys_ram()
533 unsigned int m_val = uv_hub_info->m_val; in uv_pnode_offset_to_vaddr() local
537 if (m_val) in uv_pnode_offset_to_vaddr()
538 return __va(((unsigned long)pnode << m_val) | offset); in uv_pnode_offset_to_vaddr()
/Linux-v6.6/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()
/Linux-v6.6/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()
/Linux-v6.6/arch/x86/kernel/apic/
Dx2apic_uv_x.c1213 unsigned char m_val; member
1225 mnp->m_val = 0; in get_mn()
1230 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1234 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1235 mnp->n_lshift = mnp->m_val == 40 ? 40 : 39; in get_mn()
1237 mnp->m_shift = mnp->m_val ? 64 - mnp->m_val : 0; in get_mn()
1245 hi->gpa_mask = mn.m_val ? in uv_init_hub_info()
1246 (1UL << (mn.m_val + mn.n_val)) - 1 : in uv_init_hub_info()
1249 hi->m_val = mn.m_val; in uv_init_hub_info()
1268 if (mn.m_val) in uv_init_hub_info()
[all …]
/Linux-v6.6/drivers/video/fbdev/core/
Dfbmon.c1074 u32 c_val, m_val, duty_cycle, hblank; in fb_get_hblank_by_hfreq() local
1078 m_val = (H_BLANKSCALE * H_GRADIENT)/256; in fb_get_hblank_by_hfreq()
1079 m_val = (m_val * 1000000)/hfreq; in fb_get_hblank_by_hfreq()
1080 duty_cycle = c_val - m_val; in fb_get_hblank_by_hfreq()