Home
last modified time | relevance | path

Searched refs:vtophys (Results 1 – 25 of 112) sorted by relevance

12345

/freebsd-13-stable/sys/powerpc/powernv/
HDopal_dev.c135 opal_call(OPAL_POLL_EVENTS, vtophys(&events)); in opal_heartbeat()
188 rv = opal_call(OPAL_RTC_READ, vtophys(&junk), vtophys(&junk)); in opaldev_attach()
190 rv = opal_call(OPAL_RTC_READ, vtophys(&junk), vtophys(&junk)); in opaldev_attach()
278 rv = opal_call(OPAL_RTC_READ, vtophys(&ymd), vtophys(&hmsm)); in opal_gettime()
282 rv = opal_call(OPAL_RTC_READ, vtophys(&ymd), vtophys(&hmsm)); in opal_gettime()
381 rv = opal_call(OPAL_GET_MSG, vtophys(&msg), sizeof(msg)); in opal_handle_messages()
431 vtophys(&events)); in opal_intr()
HDopal_dbg.c105 lenp = vtophys(&len); in uart_opal_dbg_getc()
106 bufp = vtophys(&c); in uart_opal_dbg_getc()
132 lenp = vtophys(&len); in uart_opal_dbg_putc()
133 bufp = vtophys(&ch); in uart_opal_dbg_putc()
HDxive.c376 vtophys(&xive_cpud->cam), NULL, vtophys(&xive_cpud->chip)); in xive_attach()
394 XIVE_PRIORITY, vtophys(xive_cpud->queue.q_page), PAGE_SHIFT, in xive_attach()
707 vtophys(&irqd->flags), vtophys(&eoi_phys), in xive_init_irq()
708 vtophys(&trig_phys), vtophys(&esb_shift), in xive_init_irq()
709 vtophys(&irqd->chip)); in xive_init_irq()
729 opal_call(OPAL_XIVE_GET_IRQ_CONFIG, irq, vtophys(&irqd->vp), in xive_init_irq()
730 vtophys(&irqd->prio), vtophys(&irqd->lirq)); in xive_init_irq()
766 vtophys(prov_page)); in xive_provision_page()
HDopal_pci.c520 config_addr, reg, vtophys(&byte)); in opalpci_read_config()
525 config_addr, reg, vtophys(&half)); in opalpci_read_config()
530 config_addr, reg, vtophys(&word)); in opalpci_read_config()
548 OPAL_PCI_DEFAULT_PE, vtophys(&eeh_state), in opalpci_read_config()
549 vtophys(&err_type), NULL); in opalpci_read_config()
681 OPAL_PCI_DEFAULT_PE, xive, 1, vtophys(&msi32), in opalpci_map_msi()
682 vtophys(data)); in opalpci_map_msi()
686 OPAL_PCI_DEFAULT_PE, xive, 1, vtophys(addr), vtophys(data)); in opalpci_map_msi()
/freebsd-13-stable/sys/amd64/acpica/
HDacpi_wakeup.c390 sc->acpi_wakephys = vtophys(wakeaddr); in acpi_install_wakeup_handler()
394 pt5pa = vtophys(pt5); in acpi_install_wakeup_handler()
402 pt4pa = vtophys(pt4); in acpi_install_wakeup_handler()
403 pt3pa = vtophys(pt3); in acpi_install_wakeup_handler()
404 pt2_0pa = vtophys(pt2_0); in acpi_install_wakeup_handler()
405 pt2_1pa = vtophys(pt2_1); in acpi_install_wakeup_handler()
406 pt2_2pa = vtophys(pt2_2); in acpi_install_wakeup_handler()
407 pt2_3pa = vtophys(pt2_3); in acpi_install_wakeup_handler()
/freebsd-13-stable/sys/dev/mn/
HDif_mn.c622 dp->data = vtophys(m2->m_data); in ngmn_rcvdata()
626 dp->next = vtophys(dp); in ngmn_rcvdata()
628 sc->ch[chan]->xl->next = vtophys(dp); in ngmn_rcvdata()
699 dp->next = vtophys(dp); in ngmn_connect()
701 dp->data = vtophys(sc->name); in ngmn_connect()
702 sc->m32_mem.cs[chan].tdesc = vtophys(dp); in ngmn_connect()
713 dp->data = vtophys(m->m_data); in ngmn_connect()
716 dp->next = vtophys(dp); in ngmn_connect()
727 dp->data = vtophys(m->m_data); in ngmn_connect()
730 dp->next = vtophys(dp2); in ngmn_connect()
[all …]
/freebsd-13-stable/sys/arm/freescale/imx/
HDimx6_sdma.c286 sc->ccb[chn].base_bd_ptr = vtophys(channel->bd); in sdma_configure()
287 sc->ccb[chn].current_bd_ptr = vtophys(channel->bd); in sdma_configure()
399 sc->ccb_phys = vtophys(sc->ccb); in boot_firmware()
403 sc->context_phys = vtophys(sc->context); in boot_firmware()
419 sc->ccb[chn].base_bd_ptr = vtophys(bd0); in boot_firmware()
420 sc->ccb[chn].current_bd_ptr = vtophys(bd0); in boot_firmware()
437 bd0->buffer_addr = vtophys(ram_code); in boot_firmware()
/freebsd-13-stable/sys/x86/xen/
HDhvm.c199 : vtophys(&hypercall_page)); in xen_hvm_init_hypercall_stubs()
226 xatp.gpfn = vtophys(HYPERVISOR_shared_info) >> PAGE_SHIFT; in xen_hvm_init_shared_info_page()
480 info.mfn = vtophys(vcpu_info) >> PAGE_SHIFT; in xen_hvm_cpu_init()
481 info.offset = vtophys(vcpu_info) - trunc_page(vtophys(vcpu_info)); in xen_hvm_cpu_init()
/freebsd-13-stable/sys/dev/ioat/
HDioat_test.c280 src = vtophys((vm_offset_t)tx->buf[2*i]); in ioat_test_submit_1_tx()
281 dest = vtophys((vm_offset_t)tx->buf[2*i+1]); in ioat_test_submit_1_tx()
309 src2 = vtophys((vm_offset_t)tx->buf[2*i] + PAGE_SIZE); in ioat_test_submit_1_tx()
310 dst2 = vtophys((vm_offset_t)tx->buf[2*i+1] + PAGE_SIZE); in ioat_test_submit_1_tx()
317 src2 = vtophys((vm_offset_t)tx->buf[2*i+1] + PAGE_SIZE); in ioat_test_submit_1_tx()
318 dst2 = vtophys((vm_offset_t)tx->buf[2*i] + PAGE_SIZE); in ioat_test_submit_1_tx()
326 crc = vtophys((vm_offset_t)&tx->crc[i]); in ioat_test_submit_1_tx()
333 crc = vtophys((vm_offset_t)&tx->crc[i]); in ioat_test_submit_1_tx()
452 test->raw_target = vtophys(test->raw_vtarget); in ioat_dma_test()
/freebsd-13-stable/sys/dev/pst/
HDpst-iop.c219 msg->status_word_low_addr = vtophys(&reply); in iop_reset()
251 sc->phys_obase = vtophys(sc->obase); in iop_init_outqueue()
266 msg->sgl[0].phys_addr[0] = vtophys(&reply); in iop_init_outqueue()
318 msg->sgl.phys_addr[0] = vtophys(reply); in iop_get_lct()
370 msg->sgl[0].phys_addr[0] = vtophys(param); in iop_get_util_params()
374 msg->sgl[1].phys_addr[0] = vtophys(reply); in iop_get_util_params()
483 sgl_phys = vtophys(data); in iop_create_sgl()
491 sgl_phys = vtophys(data); in iop_create_sgl()
/freebsd-13-stable/sys/amd64/vmm/intel/
HDvmx_cpufunc.h62 addr = vtophys(region); in vmxon()
79 addr = vtophys(vmcs); in vmclear()
108 addr = vtophys(vmcs); in vmptrld()
HDvtd.c385 ctx_paddr = vtophys(ctx_tables[i]); in vtd_init()
411 vtdmap->rta = vtophys(root_table); in vtd_enable()
447 pt_paddr = vtophys(dom->ptp); in vtd_add_device()
578 ptp[ptpindex] = vtophys(nlp)| VTD_PTE_RD | VTD_PTE_WR; in vtd_update_mapping()
/freebsd-13-stable/sys/mips/nlm/hal/
HDnlmsaelib.h513 ivlen, vtophys(hashdst_addr)); in nlm_crypto_fill_cipher_auth_pkt_param()
560 vtophys(hashdst_addr)); in nlm_crypto_fill_auth_pkt_param()
578 vtophys(input + off)); in nlm_crypto_fill_src_seg()
597 vtophys(output + off)); in nlm_crypto_fill_dst_seg()
/freebsd-13-stable/sys/dev/ipmi/
HDipmi_opal.c96 vtophys(sc->sc_msg), vtophys(msg_len)); in opal_ipmi_recv()
171 err = opal_call(OPAL_IPMI_SEND, sc->sc_interface, vtophys(sc->sc_msg), in opal_ipmi_polled_request()
/freebsd-13-stable/sys/mips/nlm/dev/sec/
HDnlmrsa.c173 vtophys(cmd->rsasrc)); in xlp_rsa_init()
175 vtophys(cmd->rsasrc)); in xlp_rsa_init()
402 cmd->rsafn, vtophys(cmd->rsasrc)); in nlm_crypto_complete_rsa_request()
404 vtophys(cmd->rsasrc + cmd->rsaopsize * cmd->krp->krp_iparams)); in nlm_crypto_complete_rsa_request()
/freebsd-13-stable/sys/dev/liquidio/
HDlio_network.h203 *dma_handle = vtophys(mem); in lio_dma_alloc()
222 dma_addr = vtophys(((struct mbuf *)buf)->m_data); in lio_map_ring()
/freebsd-13-stable/sys/dev/agp/
HDagp_amd.c126 gatt->ag_pdir = vtophys((vm_offset_t) gatt->ag_vdir); in agp_amd_alloc_gatt()
138 gatt->ag_physical = vtophys((vm_offset_t) gatt->ag_virtual); in agp_amd_alloc_gatt()
159 pa = vtophys(va); in agp_amd_alloc_gatt()
/freebsd-13-stable/sys/powerpc/mpc85xx/
HDfsl_diu.c259 bus_write_4(sc->res[0], DIU_GAMMA, vtophys(sc->sc_gamma)); in diu_init()
260 bus_write_4(sc->res[0], DIU_CURSOR, vtophys(sc->sc_cursor)); in diu_init()
285 bus_write_4(sc->res[0], DIU_DESC_1, vtophys(sc->sc_planes[0])); in diu_init()
411 sc->sc_info.fb_pbase = (intptr_t)vtophys(sc->sc_info.fb_vbase); in diu_attach()
/freebsd-13-stable/sys/compat/linuxkpi/common/include/asm/
HDio.h39 #define virt_to_phys(x) vtophys(x)
/freebsd-13-stable/sys/powerpc/ofw/
HDrtas.c111 rtas_private_data = vtophys(rtas_bounce_virt); in rtas_setup()
113 rtas_bounce_phys = vtophys(rtas_bounce_virt); in rtas_setup()
/freebsd-13-stable/sys/dev/kvm_clock/
HDkvm_clock.c88 wrmsr(sc->msr_wc, vtophys(&sc->wc)); in kvm_clock_get_wallclock()
107 wrmsr(sc->msr_tc, vtophys(&(sc->timeinfos)[curcpu]) | 1); in kvm_clock_system_time_enable_pcpu()
/freebsd-13-stable/sys/powerpc/ps3/
HDps3pic.c134 vtophys(sc->bitmap_thread0)); in ps3pic_attach()
140 vtophys(sc->bitmap_thread1)); in ps3pic_attach()
/freebsd-13-stable/sys/compat/x86bios/
HDx86bios.c127 *offset = vtophys(vaddr); in x86bios_alloc()
146 paddr = vtophys(addr); in x86bios_free()
543 *offset = vtophys(vaddr); in x86bios_alloc()
559 paddr = vtophys(addr); in x86bios_free()
719 x86bios_seg_phys = vtophys(x86bios_seg); in x86bios_map_mem()
/freebsd-13-stable/sys/dev/virtio/
HDvirtqueue.c261 dxp->indirect_paddr = vtophys(dxp->indirect); in virtqueue_init_indirect()
370 return (vtophys(vq->vq_ring_mem)); in virtqueue_paddr()
377 return (vtophys(vq->vq_ring.desc)); in virtqueue_desc_paddr()
384 return (vtophys(vq->vq_ring.avail)); in virtqueue_avail_paddr()
391 return (vtophys(vq->vq_ring.used)); in virtqueue_used_paddr()
/freebsd-13-stable/sys/arm/include/
HDpmap.h64 #define vtophys(va) pmap_kextract((vm_offset_t)(va)) macro

12345