Searched refs:m_val (Results 1 – 5 of 5) sorted by relevance
89 int nid, cpu, m_val, n_val; in uv_setup() local98 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()
159 unsigned char m_val; member435 unsigned int m_val = uv_hub_info->m_val; in uv_soc_phys_ram_to_gpa() local440 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() local474 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() local537 if (m_val) in uv_pnode_offset_to_vaddr()538 return __va(((unsigned long)pnode << m_val) | offset); in uv_pnode_offset_to_vaddr()
107 unsigned char m_val; member174 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset); in uv_pnode_offset_to_vaddr()
1213 unsigned char m_val; member1225 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 …]
1074 u32 c_val, m_val, duty_cycle, hblank; in fb_get_hblank_by_hfreq() local1078 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()