Home
last modified time | relevance | path

Searched refs:va_to_pa (Results 1 – 25 of 55) sorted by relevance

123

/titanic_44/usr/src/uts/sun4v/os/
H A Dintrq.c89 mcpup->mondo_data_ra = va_to_pa(mcpup->mondo_data); in cpu_intrq_setup()
113 mcpup->cpu_list_ra = va_to_pa(mcpup->cpu_list); in cpu_intrq_setup()
127 mcpup->cpu_q_base_pa = va_to_pa(mcpup->cpu_q_va); in cpu_intrq_setup()
142 mcpup->dev_q_base_pa = va_to_pa(mcpup->dev_q_va); in cpu_intrq_setup()
157 mcpup->cpu_rq_base_pa = va_to_pa(mcpup->cpu_rq_va); in cpu_intrq_setup()
174 mcpup->cpu_nrq_base_pa = va_to_pa(mcpup->cpu_nrq_va); in cpu_intrq_setup()
H A Dmach_startup.c92 prom_set_mmfsa_traptable(&trap_table, va_to_pa(mmfsa_va)); in setup_trap_table()
370 ctlp->d.hpaddr_base = va_to_pa(ctlp->d.hvaddr_base); in mach_htraptrace_setup()
H A Dmach_cpu_states.c173 buf_pa = va_to_pa(cmd_buf); in store_boot_cmd()
557 cpu_pa[cpu->cpu_id] = va_to_pa(cpu); in ptl1_init_cpu()
665 hvdump_buf_pa = va_to_pa(hvdump_buf_va); in mach_dump_buffer_init()
1534 if ((ra = va_to_pa( in mach_soft_state_init()
H A Dlpad.c119 lpd->mmfsa_ra = va_to_pa(mmu_fault_status_area) + (MMFSA_SIZE * cpuid); in lpad_setup()
/titanic_44/usr/src/uts/sun4v/promif/
H A Dpromif_cpu.c51 rtba = va_to_pa(p1275_cell2ptr(ci[3])); in promif_set_mmfsa_traptable()
104 rtba = va_to_pa(&trap_table); in promif_start_cpu()
112 rv = hv_cpu_start(cpuid, va_to_pa(pc), rtba, cpuid); in promif_start_cpu()
H A Dpromif_emul.c473 rtba = va_to_pa(&trap_table); in cif_init()
/titanic_44/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c377 memseg_phash[inx] = (msp) ? va_to_pa(msp) : MSEG_NULLPTR_PA; in hat_kpm_mseghash_update()
393 msp->pagespa = va_to_pa(msp->pages); in hat_kpm_addmem_mseg_update()
394 msp->epagespa = va_to_pa(msp->epages); in hat_kpm_addmem_mseg_update()
395 msp->kpm_pagespa = va_to_pa(msp->kpm_pages); in hat_kpm_addmem_mseg_update()
409 msp->nextpa = (memsegs) ? va_to_pa(memsegs) : MSEG_NULLPTR_PA; in hat_kpm_addmem_mseg_insert()
426 memsegspa = va_to_pa(msp); in hat_kpm_addmem_memsegs_update()
467 va_to_pa(msp->next) : MSEG_NULLPTR_PA; in hat_kpm_delmem_mseg_update()
472 va_to_pa(msp->next) : MSEG_NULLPTR_PA; in hat_kpm_delmem_mseg_update()
512 lo->kpm_pagespa = va_to_pa(lo->kpm_pages); in hat_kpm_split_mseg_update()
513 lo->pagespa = va_to_pa(lo->pages); in hat_kpm_split_mseg_update()
[all …]
/titanic_44/usr/src/uts/sun4/os/
H A Dstartup.c819 kmem64_pabase = va_to_pa(kmem64_base); in alloc_kmem64()
1435 memlist_new(va_to_pa(s_text), MMU_PAGESIZE4M, &memlist); in startup_memlist()
1436 memlist_add(va_to_pa(s_data), MMU_PAGESIZE4M - ndata_remain_sz, in startup_memlist()
1770 memlist_add(va_to_pa(nalloc_base), in startup_fixup_physavail()
2508 va_to_pa(memsegp->next) : MSEG_NULLPTR_PA; in memseg_list_add()
2514 msp->nextpa = va_to_pa(memsegp); in memseg_list_add()
2516 memsegspa = va_to_pa(memsegs); in memseg_list_add()
2648 seg->pagespa = va_to_pa(seg->pages); in kphysm_memseg()
2649 seg->epagespa = va_to_pa(seg->epages); in kphysm_memseg()
2661 seg->kpm_pagespa = va_to_pa(seg->kpm_spages); in kphysm_memseg()
[all …]
H A Dmachdep.c153 mpcb->mpcb_wbuf_pa = va_to_pa(mpcb->mpcb_wbuf); in lwp_stk_init()
154 mpcb->mpcb_pa = va_to_pa(mpcb); in lwp_stk_init()
225 mpcb->mpcb_pa = va_to_pa(mpcb); in lwp_forkregs()
227 mpcb->mpcb_wbuf_pa = va_to_pa(wbuf); in lwp_forkregs()
H A Dmlsetup.c223 mpcb->mpcb_pa = va_to_pa(t0.t_stk); in mlsetup()
257 ctlp->d.paddr_base = va_to_pa(trap_tr0); in mlsetup()
/titanic_44/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.c114 prom_set_mmfsa_traptable(&trap_table, va_to_pa(mmfsa_va)); in sfmmu_set_fault_status_area()
136 rv = hv_mmu_set_stat_area(va_to_pa(&mmu_stat_area[getprocessorid()]), in sfmmu_set_tsbs()
434 sfmmup->sfmmu_hvblock.hv_tsb_info_pa = va_to_pa(tdp); in sfmmu_setup_tsbinfo()
/titanic_44/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng.c546 setupphys = va_to_pa(setupcontigp); in n2rng_collect_diag_bits()
619 va_to_pa((uint64_t *)buffer + in n2rng_collect_diag_bits()
728 uint64_t randvalphys = va_to_pa(&randval); in n2rng_getentropy()
852 setupphys = va_to_pa(setupcontigp); in n2rng_ctl_wait()
1164 uint64_t randvalphys = va_to_pa(&randval); in n2rng_config_test()
/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dpci_sc.c68 sc_p->sc_sync_reg_pa = va_to_pa((char *)sc_p->sc_sync_reg); in sc_create()
H A Dpci_iommu.c59 extern uint64_t va_to_pa(void *); in iommu_create()
96 iommu_p->iommu_tsb_paddr = va_to_pa((caddr_t)iommu_p->iommu_tsb_vaddr); in iommu_create()
/titanic_44/usr/src/uts/sun4v/io/px/
H A Dpx_tools_4v.c153 if ((rfunc = va_to_pa((void *)px_phys_acc_4v)) == (uint64_t)-1) { in pxtool_phys_access()
163 if ((rdata_addr = va_to_pa((void *)&local_data)) == (uint64_t)-1) { in pxtool_phys_access()
H A Dpx_lib4v.c461 uintptr_t ra = va_to_pa(pfn_p); in px_lib_iommu_map()
732 ra = (r_addr_t)va_to_pa((caddr_t)msiq_state_p->msiq_buf_p + in px_lib_msiq_init()
1733 ra = (r_addr_t)va_to_pa((void *)dev_addr); in px_lib_ctlops_poke()
1814 ra = (r_addr_t)va_to_pa((void *)dev_addr); in px_lib_ctlops_poke()
1844 ra = (r_addr_t)va_to_pa((void *)dev_addr); in px_lib_ctlops_peek()
1926 ra = (r_addr_t)va_to_pa((void *)dev_addr); in px_lib_ctlops_peek()
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dus3_cheetah.c645 ch_err_tl1_paddrs[cp->cpu_id] = va_to_pa(chprp); in cpu_init_private()
706 ecache_tl1_flushaddr = va_to_pa(ecache_tl1_virtaddr); in ecache_init_scrub_flush_area()
/titanic_44/usr/src/uts/sun4v/io/
H A Dldc_shm.c430 va_to_pa(mtbl->table), mtbl->num_entries); in i_ldc_mem_bind_handle()
568 raddr = va_to_pa((void *)addr); in i_ldc_mem_bind_handle()
945 local_ra = va_to_pa((void *)local_valign); in ldc_mem_copy()
1060 local_ra = va_to_pa((void *)local_valign); in ldc_mem_copy()
1149 local_ra = va_to_pa((void *)local_valign); in ldc_mem_rdwr_cookie()
1214 local_ra = va_to_pa((void *)local_valign); in ldc_mem_rdwr_cookie()
1476 memseg->pages[i].raddr = va_to_pa(tmpaddr); in i_ldc_mem_map()
/titanic_44/usr/src/uts/sun4u/os/
H A Dmach_cpu_states.c410 cpu_pa[cpu->cpu_id] = va_to_pa(cpu); in ptl1_init_cpu()
/titanic_44/usr/src/uts/sun4/vm/
H A Dsfmmu.c148 va_to_pa(void *vaddr) in va_to_pa() function
180 ktsb_pbase = va_to_pa(ktsb_base); in hat_kern_setup()
181 ktsb4m_pbase = va_to_pa(ktsb4m_base); in hat_kern_setup()
/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c88 extern uint64_t va_to_pa(void *);
793 uint64_t pa = va_to_pa((void *)sbdp_valp); in sbdp_cpu_shutdown_self()
/titanic_44/usr/src/uts/sun4v/cpu/
H A Dniagara.c370 cpu_tstat_pa = va_to_pa(cpu_tstat_va); in cpu_trapstat_conf()
/titanic_44/usr/src/uts/sun4u/io/
H A Dmem_cache.c481 start_paddr = va_to_pa((void *)start_of_func); in tag_addr_collides()
482 end_paddr = va_to_pa((void *)end_of_func); in tag_addr_collides()
H A Diommu.c197 va_to_pa((caddr_t)softsp->soft_tsb_base_addr)) { in iommu_init()
265 *softsp->tsb_base_addr = va_to_pa((caddr_t)softsp->soft_tsb_base_addr); in iommu_resume_init()
798 mppriv->phys_sync_flag = va_to_pa((caddr_t)&mppriv->sync_flag); in iommu_dma_allochdl()
1407 iommu_fast_dvma->phys_sync_flag[i] = va_to_pa((caddr_t) in iommu_dma_mctl()
/titanic_44/usr/src/uts/common/vm/
H A Dhat.h235 uint64_t va_to_pa(void *);

123