| /freebsd-12.1/sys/powerpc/powernv/ |
| H A D | opal_dev.c | 139 rv = opal_call(OPAL_RTC_READ, vtophys(&junk), vtophys(&junk)); in opaldev_attach() 141 rv = opal_call(OPAL_RTC_READ, vtophys(&junk), vtophys(&junk)); in opaldev_attach() 221 rv = opal_call(OPAL_RTC_READ, vtophys(&ymd), vtophys(&hmsm)); in opal_gettime() 225 rv = opal_call(OPAL_RTC_READ, vtophys(&ymd), vtophys(&hmsm)); in opal_gettime() 269 rv = opal_call(OPAL_RTC_WRITE, vtophys(&ymd), vtophys(&hmsm)); in opal_settime() 306 vtophys(&events)); in opal_intr()
|
| H A D | opal_pci.c | 483 config_addr, reg, vtophys(&byte)); in opalpci_read_config() 488 config_addr, reg, vtophys(&half)); in opalpci_read_config() 493 config_addr, reg, vtophys(&word)); in opalpci_read_config() 630 OPAL_PCI_DEFAULT_PE, xive, 1, vtophys(&msi32), in opalpci_map_msi() 631 vtophys(data)); in opalpci_map_msi() 635 OPAL_PCI_DEFAULT_PE, xive, 1, vtophys(addr), vtophys(data)); in opalpci_map_msi()
|
| H A D | opal_hmi.c | 47 err = opal_call(OPAL_HANDLE_HMI2, vtophys(&flags)); in opal_hmi_handler2()
|
| /freebsd-12.1/sys/dev/mn/ |
| H A D | if_mn.c | 625 dp->data = vtophys(m2->m_data); in ngmn_rcvdata() 629 dp->next = vtophys(dp); in ngmn_rcvdata() 702 dp->next = vtophys(dp); in ngmn_connect() 704 dp->data = vtophys(sc->name); in ngmn_connect() 716 dp->data = vtophys(m->m_data); in ngmn_connect() 719 dp->next = vtophys(dp); in ngmn_connect() 730 dp->data = vtophys(m->m_data); in ngmn_connect() 733 dp->next = vtophys(dp2); in ngmn_connect() 954 sc->m32x->tiqba = vtophys(&sc->tiqb); in mn_reset() 1177 dp->data = vtophys(m->m_data); in mn_rx_intr() [all …]
|
| /freebsd-12.1/sys/x86/xen/ |
| H A D | hvm.c | 194 : vtophys(&hypercall_page)); in xen_hvm_init_hypercall_stubs() 221 xatp.gpfn = vtophys(HYPERVISOR_shared_info) >> PAGE_SHIFT; in xen_hvm_init_shared_info_page() 439 info.mfn = vtophys(vcpu_info) >> PAGE_SHIFT; in xen_hvm_cpu_init() 440 info.offset = vtophys(vcpu_info) - trunc_page(vtophys(vcpu_info)); in xen_hvm_cpu_init()
|
| /freebsd-12.1/sys/arm/freescale/imx/ |
| H A D | imx6_sdma.c | 282 sc->ccb[chn].base_bd_ptr = vtophys(channel->bd); in sdma_configure() 283 sc->ccb[chn].current_bd_ptr = vtophys(channel->bd); in sdma_configure() 395 sc->ccb_phys = vtophys(sc->ccb); in boot_firmware() 399 sc->context_phys = vtophys(sc->context); in boot_firmware() 415 sc->ccb[chn].base_bd_ptr = vtophys(bd0); in boot_firmware() 416 sc->ccb[chn].current_bd_ptr = vtophys(bd0); in boot_firmware() 433 bd0->buffer_addr = vtophys(ram_code); in boot_firmware()
|
| /freebsd-12.1/sys/x86/acpica/ |
| H A D | acpi_wakeup.c | 425 sc->acpi_wakephys = vtophys(wakeaddr); in acpi_install_wakeup_handler() 431 pt4pa = vtophys(pt4); in acpi_install_wakeup_handler() 432 pt3pa = vtophys(pt3); in acpi_install_wakeup_handler() 433 pt2pa = vtophys(pt2); in acpi_install_wakeup_handler() 453 WAKECODE_FIXUP(wakeup_cr3, register_t, vtophys(kernel_pmap->pm_pdpt)); in acpi_install_wakeup_handler() 455 WAKECODE_FIXUP(wakeup_cr3, register_t, vtophys(kernel_pmap->pm_pdir)); in acpi_install_wakeup_handler()
|
| /freebsd-12.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-12.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-12.1/sys/dev/ipmi/ |
| H A D | ipmi_opal.c | 80 err = opal_call(OPAL_IPMI_SEND, sc->sc_interface, vtophys(sc->sc_msg), in opal_ipmi_polled_request() 103 vtophys(sc->sc_msg), vtophys(&msg_len)); in opal_ipmi_polled_request()
|
| /freebsd-12.1/sys/dev/wb/ |
| H A D | if_wb.c | 816 vtophys(&ld->wb_rx_list[0]); 821 vtophys(&ld->wb_rx_list[i + 1]); 862 c->wb_ptr->wb_data = vtophys(mtod(m_new, caddr_t)); 953 CSR_WRITE_4(sc, WB_RXADDR, vtophys(&sc->wb_ldata->wb_rx_list[0])); 1179 f->wb_next = vtophys(&c->wb_ptr->wb_frag[frag + 1]); 1180 f->wb_data = vtophys(mtod(m, vm_offset_t)); 1212 f->wb_data = vtophys(mtod(m_new, caddr_t)); 1221 f->wb_data = vtophys(&sc->wb_cdata.wb_pad); 1230 WB_TXNEXT(c) = vtophys(&c->wb_nextdesc->wb_ptr->wb_frag[0]); 1442 CSR_WRITE_4(sc, WB_RXADDR, vtophys(&sc->wb_ldata->wb_rx_list[0])); [all …]
|
| /freebsd-12.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-12.1/sys/dev/ioat/ |
| H A D | ioat_test.c | 281 src = vtophys((vm_offset_t)tx->buf[2*i]); in ioat_test_submit_1_tx() 282 dest = vtophys((vm_offset_t)tx->buf[2*i+1]); in ioat_test_submit_1_tx() 310 src2 = vtophys((vm_offset_t)tx->buf[2*i] + PAGE_SIZE); in ioat_test_submit_1_tx() 311 dst2 = vtophys((vm_offset_t)tx->buf[2*i+1] + PAGE_SIZE); in ioat_test_submit_1_tx() 430 test->raw_target = vtophys(test->raw_vtarget); in ioat_dma_test()
|
| /freebsd-12.1/sys/dev/bktr/ |
| H A D | bktr_core.c | 544 (void *)(uintptr_t)vtophys(buf)); in common_bktr_attach() 2815 target_buffer = (u_long) vtophys(bktr->bigbuf); 2936 *dma_prog++ = (u_long ) vtophys(loop_point) ; 2987 target_buffer = (uint32_t) vtophys(bktr->bigbuf); 3140 target_buffer = (uint32_t) vtophys(bktr->bigbuf); 3166 *dma_prog++ = (uint32_t) vtophys(bktr->dma_prog); 3174 *dma_prog++ = (uint32_t) vtophys(bktr->dma_prog); 3209 *dma_prog++ = (uint32_t) vtophys(bktr->dma_prog); 3212 *dma_prog++ = (uint32_t) vtophys(bktr->dma_prog); 3258 target_buffer = (uint32_t) vtophys(bktr->bigbuf); [all …]
|
| /freebsd-12.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-12.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-12.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-12.1/sys/mips/nlm/dev/sec/ |
| H A D | nlmrsa.c | 177 vtophys(cmd->rsasrc)); in xlp_rsa_init() 179 vtophys(cmd->rsasrc)); in xlp_rsa_init() 419 cmd->rsafn, vtophys(cmd->rsasrc)); in nlm_crypto_complete_rsa_request() 421 vtophys(cmd->rsasrc + cmd->rsaopsize * cmd->krp->krp_iparams)); in nlm_crypto_complete_rsa_request()
|
| /freebsd-12.1/sys/powerpc/ofw/ |
| H A D | rtas.c | 112 rtas_private_data = vtophys(rtas_bounce_virt); in rtas_setup() 114 rtas_bounce_phys = vtophys(rtas_bounce_virt); in rtas_setup()
|
| /freebsd-12.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-12.1/sys/dev/virtio/ |
| H A D | virtqueue.c | 260 dxp->indirect_paddr = vtophys(dxp->indirect); in virtqueue_init_indirect() 369 return (vtophys(vq->vq_ring_mem)); in virtqueue_paddr() 376 return (vtophys(vq->vq_ring.desc)); in virtqueue_desc_paddr() 383 return (vtophys(vq->vq_ring.avail)); in virtqueue_avail_paddr() 390 return (vtophys(vq->vq_ring.used)); in virtqueue_used_paddr()
|
| /freebsd-12.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-12.1/sys/dev/tl/ |
| H A D | if_tl.c | 1357 vtophys(&ld->tl_rx_list[i + 1]); 1382 c->tl_ptr->tl_frag.tlist_dadr = vtophys(mtod(m_new, caddr_t)); 1446 vtophys(cur_rx->tl_ptr); 1501 CSR_WRITE_4(sc, TL_CH_PARM, vtophys(sc->tl_cdata.tl_rx_head->tl_ptr)); 1584 vtophys(sc->tl_cdata.tl_tx_head->tl_ptr)); 1797 vtophys(mtod(m, vm_offset_t)); 1833 f->tlist_dadr = vtophys(mtod(m_new, caddr_t)); 1848 f->tlist_dadr = vtophys(&sc->tl_ldata->tl_pad); 1920 prev->tl_ptr->tlist_fptr = vtophys(cur_tx->tl_ptr); 1950 CSR_WRITE_4(sc, TL_CH_PARM, vtophys(start_tx->tl_ptr)); [all …]
|
| /freebsd-12.1/sys/dev/hyperv/storvsc/ |
| H A D | hv_storvsc_drv_freebsd.c | 1753 phys_addr = vtophys(sgl[0].ds_addr); in storvsc_check_bounce_buffer_sgl() 1762 phys_addr = vtophys(sgl[i].ds_addr); in storvsc_check_bounce_buffer_sgl() 1777 if (phys_addr != vtophys(sgl[i-1].ds_addr + in storvsc_check_bounce_buffer_sgl() 2008 vtophys(reqp->bounce_sgl->sg_segs[0].ss_paddr); in create_storvsc_request() 2011 vtophys(storvsc_sglist[0].ds_addr); in create_storvsc_request() 2021 vtophys(reqp->bounce_sgl->sg_segs[i].ss_paddr); in create_storvsc_request() 2024 vtophys(storvsc_sglist[i].ds_addr); in create_storvsc_request() 2032 phys_addr = vtophys(storvsc_sglist[0].ds_addr); in create_storvsc_request() 2037 phys_addr = vtophys(storvsc_sglist[i].ds_addr); in create_storvsc_request() 2048 vtophys(storvsc_sglist[i-1].ds_addr + in create_storvsc_request()
|