| /freebsd-13.1/sys/powerpc/powernv/ |
| H A D | opal_dev.c | 137 opal_call(OPAL_POLL_EVENTS, vtophys(&events)); in opal_heartbeat() 190 rv = opal_call(OPAL_RTC_READ, vtophys(&junk), vtophys(&junk)); in opaldev_attach() 192 rv = opal_call(OPAL_RTC_READ, vtophys(&junk), vtophys(&junk)); in opaldev_attach() 280 rv = opal_call(OPAL_RTC_READ, vtophys(&ymd), vtophys(&hmsm)); in opal_gettime() 284 rv = opal_call(OPAL_RTC_READ, vtophys(&ymd), vtophys(&hmsm)); in opal_gettime() 383 rv = opal_call(OPAL_GET_MSG, vtophys(&msg), sizeof(msg)); in opal_handle_messages() 433 vtophys(&events)); in opal_intr()
|
| H A D | opal_dbg.c | 107 lenp = vtophys(&len); in uart_opal_dbg_getc() 108 bufp = vtophys(&c); in uart_opal_dbg_getc() 134 lenp = vtophys(&len); in uart_opal_dbg_putc() 135 bufp = vtophys(&ch); in uart_opal_dbg_putc()
|
| H A D | xive.c | 378 vtophys(&xive_cpud->cam), NULL, vtophys(&xive_cpud->chip)); in xive_attach() 396 XIVE_PRIORITY, vtophys(xive_cpud->queue.q_page), PAGE_SHIFT, in xive_attach() 709 vtophys(&irqd->flags), vtophys(&eoi_phys), in xive_init_irq() 710 vtophys(&trig_phys), vtophys(&esb_shift), in xive_init_irq() 711 vtophys(&irqd->chip)); in xive_init_irq() 731 opal_call(OPAL_XIVE_GET_IRQ_CONFIG, irq, vtophys(&irqd->vp), in xive_init_irq() 732 vtophys(&irqd->prio), vtophys(&irqd->lirq)); in xive_init_irq() 768 vtophys(prov_page)); in xive_provision_page()
|
| H A D | opal_pci.c | 521 config_addr, reg, vtophys(&byte)); in opalpci_read_config() 526 config_addr, reg, vtophys(&half)); in opalpci_read_config() 531 config_addr, reg, vtophys(&word)); in opalpci_read_config() 549 OPAL_PCI_DEFAULT_PE, vtophys(&eeh_state), in opalpci_read_config() 550 vtophys(&err_type), NULL); in opalpci_read_config() 682 OPAL_PCI_DEFAULT_PE, xive, 1, vtophys(&msi32), in opalpci_map_msi() 683 vtophys(data)); in opalpci_map_msi() 687 OPAL_PCI_DEFAULT_PE, xive, 1, vtophys(addr), vtophys(data)); in opalpci_map_msi()
|
| H A D | opal_async.c | 107 vtophys(buf), size, token); in opal_wait_completion()
|
| /freebsd-13.1/sys/amd64/acpica/ |
| H A D | acpi_wakeup.c | 375 sc->acpi_wakephys = vtophys(wakeaddr); in acpi_install_wakeup_handler() 379 pt5pa = vtophys(pt5); in acpi_install_wakeup_handler() 387 pt4pa = vtophys(pt4); in acpi_install_wakeup_handler() 388 pt3pa = vtophys(pt3); in acpi_install_wakeup_handler() 389 pt2_0pa = vtophys(pt2_0); in acpi_install_wakeup_handler() 390 pt2_1pa = vtophys(pt2_1); in acpi_install_wakeup_handler() 391 pt2_2pa = vtophys(pt2_2); in acpi_install_wakeup_handler() 392 pt2_3pa = vtophys(pt2_3); in acpi_install_wakeup_handler()
|
| /freebsd-13.1/sys/dev/mn/ |
| H A D | if_mn.c | 624 dp->data = vtophys(m2->m_data); in ngmn_rcvdata() 628 dp->next = vtophys(dp); in ngmn_rcvdata() 701 dp->next = vtophys(dp); in ngmn_connect() 703 dp->data = vtophys(sc->name); in ngmn_connect() 715 dp->data = vtophys(m->m_data); in ngmn_connect() 718 dp->next = vtophys(dp); in ngmn_connect() 729 dp->data = vtophys(m->m_data); in ngmn_connect() 732 dp->next = vtophys(dp2); in ngmn_connect() 951 sc->m32x->tiqba = vtophys(&sc->tiqb); in mn_reset() 1174 dp->data = vtophys(m->m_data); in mn_rx_intr() [all …]
|
| /freebsd-13.1/sys/arm/freescale/imx/ |
| H A D | imx6_sdma.c | 288 sc->ccb[chn].base_bd_ptr = vtophys(channel->bd); in sdma_configure() 289 sc->ccb[chn].current_bd_ptr = vtophys(channel->bd); in sdma_configure() 401 sc->ccb_phys = vtophys(sc->ccb); in boot_firmware() 405 sc->context_phys = vtophys(sc->context); in boot_firmware() 421 sc->ccb[chn].base_bd_ptr = vtophys(bd0); in boot_firmware() 422 sc->ccb[chn].current_bd_ptr = vtophys(bd0); in boot_firmware() 439 bd0->buffer_addr = vtophys(ram_code); in boot_firmware()
|
| /freebsd-13.1/sys/x86/xen/ |
| H A D | hvm.c | 201 : vtophys(&hypercall_page)); in xen_hvm_init_hypercall_stubs() 228 xatp.gpfn = vtophys(HYPERVISOR_shared_info) >> PAGE_SHIFT; in xen_hvm_init_shared_info_page() 482 info.mfn = vtophys(vcpu_info) >> PAGE_SHIFT; in xen_hvm_cpu_init() 483 info.offset = vtophys(vcpu_info) - trunc_page(vtophys(vcpu_info)); in xen_hvm_cpu_init()
|
| /freebsd-13.1/sys/dev/ioat/ |
| H A D | ioat_test.c | 282 src = vtophys((vm_offset_t)tx->buf[2*i]); in ioat_test_submit_1_tx() 283 dest = vtophys((vm_offset_t)tx->buf[2*i+1]); in ioat_test_submit_1_tx() 311 src2 = vtophys((vm_offset_t)tx->buf[2*i] + PAGE_SIZE); in ioat_test_submit_1_tx() 312 dst2 = vtophys((vm_offset_t)tx->buf[2*i+1] + PAGE_SIZE); in ioat_test_submit_1_tx() 319 src2 = vtophys((vm_offset_t)tx->buf[2*i+1] + PAGE_SIZE); in ioat_test_submit_1_tx() 320 dst2 = vtophys((vm_offset_t)tx->buf[2*i] + PAGE_SIZE); in ioat_test_submit_1_tx() 328 crc = vtophys((vm_offset_t)&tx->crc[i]); in ioat_test_submit_1_tx() 335 crc = vtophys((vm_offset_t)&tx->crc[i]); in ioat_test_submit_1_tx() 454 test->raw_target = vtophys(test->raw_vtarget); in ioat_dma_test()
|
| /freebsd-13.1/sys/dev/pst/ |
| H A D | pst-iop.c | 221 msg->status_word_low_addr = vtophys(&reply); in iop_reset() 253 sc->phys_obase = vtophys(sc->obase); in iop_init_outqueue() 268 msg->sgl[0].phys_addr[0] = vtophys(&reply); in iop_init_outqueue() 320 msg->sgl.phys_addr[0] = vtophys(reply); in iop_get_lct() 372 msg->sgl[0].phys_addr[0] = vtophys(param); in iop_get_util_params() 376 msg->sgl[1].phys_addr[0] = vtophys(reply); in iop_get_util_params() 485 sgl_phys = vtophys(data); in iop_create_sgl() 493 sgl_phys = vtophys(data); in iop_create_sgl()
|
| /freebsd-13.1/sys/amd64/vmm/intel/ |
| H A D | vmx_cpufunc.h | 64 addr = vtophys(region); in vmxon() 81 addr = vtophys(vmcs); in vmclear() 110 addr = vtophys(vmcs); in vmptrld()
|
| H A D | vtd.c | 389 ctx_paddr = vtophys(ctx_tables[i]); in vtd_init() 415 vtdmap->rta = vtophys(root_table); in vtd_enable() 451 pt_paddr = vtophys(dom->ptp); in vtd_add_device() 582 ptp[ptpindex] = vtophys(nlp)| VTD_PTE_RD | VTD_PTE_WR; in vtd_update_mapping()
|
| /freebsd-13.1/sys/mips/nlm/hal/ |
| H A D | nlmsaelib.h | 515 ivlen, vtophys(hashdst_addr)); in nlm_crypto_fill_cipher_auth_pkt_param() 562 vtophys(hashdst_addr)); in nlm_crypto_fill_auth_pkt_param() 580 vtophys(input + off)); in nlm_crypto_fill_src_seg() 599 vtophys(output + off)); in nlm_crypto_fill_dst_seg()
|
| /freebsd-13.1/sys/dev/ipmi/ |
| H A D | ipmi_opal.c | 98 vtophys(sc->sc_msg), vtophys(msg_len)); in opal_ipmi_recv() 173 err = opal_call(OPAL_IPMI_SEND, sc->sc_interface, vtophys(sc->sc_msg), in opal_ipmi_polled_request()
|
| /freebsd-13.1/sys/mips/nlm/dev/sec/ |
| H A D | nlmrsa.c | 175 vtophys(cmd->rsasrc)); in xlp_rsa_init() 177 vtophys(cmd->rsasrc)); in xlp_rsa_init() 404 cmd->rsafn, vtophys(cmd->rsasrc)); in nlm_crypto_complete_rsa_request() 406 vtophys(cmd->rsasrc + cmd->rsaopsize * cmd->krp->krp_iparams)); in nlm_crypto_complete_rsa_request()
|
| /freebsd-13.1/sys/dev/liquidio/ |
| H A D | lio_network.h | 204 *dma_handle = vtophys(mem); in lio_dma_alloc() 223 dma_addr = vtophys(((struct mbuf *)buf)->m_data); in lio_map_ring()
|
| /freebsd-13.1/sys/dev/kvm_clock/ |
| H A D | kvm_clock.c | 86 wrmsr(sc->msr_wc, vtophys(&sc->wc)); in kvm_clock_get_wallclock() 104 wrmsr(sc->msr_tc, vtophys(&(sc->timeinfos)[curcpu]) | 1); in kvm_clock_system_time_enable_pcpu()
|
| /freebsd-13.1/sys/dev/agp/ |
| H A D | agp_amd.c | 128 gatt->ag_pdir = vtophys((vm_offset_t) gatt->ag_vdir); in agp_amd_alloc_gatt() 140 gatt->ag_physical = vtophys((vm_offset_t) gatt->ag_virtual); in agp_amd_alloc_gatt() 161 pa = vtophys(va); in agp_amd_alloc_gatt()
|
| /freebsd-13.1/sys/powerpc/mpc85xx/ |
| H A D | fsl_diu.c | 261 bus_write_4(sc->res[0], DIU_GAMMA, vtophys(sc->sc_gamma)); in diu_init() 262 bus_write_4(sc->res[0], DIU_CURSOR, vtophys(sc->sc_cursor)); in diu_init() 287 bus_write_4(sc->res[0], DIU_DESC_1, vtophys(sc->sc_planes[0])); in diu_init() 413 sc->sc_info.fb_pbase = (intptr_t)vtophys(sc->sc_info.fb_vbase); in diu_attach()
|
| /freebsd-13.1/sys/powerpc/ofw/ |
| H A D | rtas.c | 113 rtas_private_data = vtophys(rtas_bounce_virt); in rtas_setup() 115 rtas_bounce_phys = vtophys(rtas_bounce_virt); in rtas_setup()
|
| /freebsd-13.1/sys/powerpc/ps3/ |
| H A D | ps3pic.c | 136 vtophys(sc->bitmap_thread0)); in ps3pic_attach() 142 vtophys(sc->bitmap_thread1)); in ps3pic_attach()
|
| /freebsd-13.1/sys/compat/x86bios/ |
| H A D | x86bios.c | 129 *offset = vtophys(vaddr); in x86bios_alloc() 148 paddr = vtophys(addr); in x86bios_free() 545 *offset = vtophys(vaddr); in x86bios_alloc() 561 paddr = vtophys(addr); in x86bios_free() 721 x86bios_seg_phys = vtophys(x86bios_seg); in x86bios_map_mem()
|
| /freebsd-13.1/sys/arm/include/ |
| H A D | pmap.h | 65 #define vtophys(va) pmap_kextract((vm_offset_t)(va)) macro
|
| /freebsd-13.1/sys/dev/virtio/ |
| H A D | virtqueue.c | 263 dxp->indirect_paddr = vtophys(dxp->indirect); in virtqueue_init_indirect() 372 return (vtophys(vq->vq_ring_mem)); in virtqueue_paddr() 379 return (vtophys(vq->vq_ring.desc)); in virtqueue_desc_paddr() 386 return (vtophys(vq->vq_ring.avail)); in virtqueue_avail_paddr() 393 return (vtophys(vq->vq_ring.used)); in virtqueue_used_paddr()
|