| /dragonfly/sys/dev/netif/mn/ |
| HD | if_mn.c | 614 dp->data = vtophys(m2->m_data); in ngmn_rcvdata() 618 dp->next = vtophys(dp); in ngmn_rcvdata() 620 sc->ch[chan]->xl->next = vtophys(dp); in ngmn_rcvdata() 691 dp->next = vtophys(dp); in ngmn_connect() 693 dp->data = vtophys(sc->name); in ngmn_connect() 694 sc->m32_mem.cs[chan].tdesc = vtophys(dp); in ngmn_connect() 705 dp->data = vtophys(m->m_data); in ngmn_connect() 708 dp->next = vtophys(dp); in ngmn_connect() 719 dp->data = vtophys(m->m_data); in ngmn_connect() 722 dp->next = vtophys(dp2); in ngmn_connect() [all …]
|
| /dragonfly/sys/dev/drm/include/asm/ |
| HD | page.h | 47 return (struct page *)PHYS_TO_VM_PAGE(vtophys(kaddr)); in virt_to_page() 54 #define virt_to_page(kaddr) (struct page *)PHYS_TO_VM_PAGE(vtophys(kaddr))
|
| /dragonfly/sys/dev/misc/musycc/ |
| HD | musycc.c | 378 csc->reg->gbp = vtophys(csc->ram); in init_card() 381 csc->ram->iqp = vtophys(csc->iqd); in init_card() 405 sc->reg->gbp = vtophys(sc->ram); in init_ctrl() 711 md->data = vtophys(m2->m_data); in musycc_intr0_rx_eom() 1159 md->data = vtophys(m->m_data); in musycc_rcvdata() 1275 sc->mdt[ch][i].next = vtophys(sc->mdt[ch][i].snext); in musycc_connect() 1277 sc->mdr[ch][i].next = vtophys(sc->mdr[ch][i].snext); in musycc_connect() 1280 sc->mdt[ch][i].next = vtophys(sc->mdt[ch][i].snext); in musycc_connect() 1282 sc->mdr[ch][i].next = vtophys(sc->mdr[ch][i].snext); in musycc_connect() 1291 sc->mdr[ch][i].data = vtophys(m->m_data); in musycc_connect() [all …]
|
| /dragonfly/sys/dev/video/bktr/ |
| HD | bktr_core.c | 426 (void *)(uintptr_t)vtophys(buf)); in common_bktr_attach() 650 OUTL(bktr, BKTR_RISC_STRT_ADD, vtophys(bktr->dma_prog)); in common_bktr_intr() 2675 target_buffer = (u_long) vtophys(bktr->bigbuf); in rgb_vbi_prog() 2695 *dma_prog++ = (u_long) vtophys((caddr_t)bktr->vbidata + in rgb_vbi_prog() 2745 *dma_prog++ = (u_long) vtophys((caddr_t)bktr->vbidata + in rgb_vbi_prog() 2794 *dma_prog++ = (u_long ) vtophys(loop_point) ; in rgb_vbi_prog() 2845 target_buffer = (uint32_t) vtophys(bktr->bigbuf); in rgb_prog() 2892 *dma_prog++ = (uint32_t ) vtophys(bktr->dma_prog); in rgb_prog() 2901 *dma_prog++ = (uint32_t ) vtophys(bktr->dma_prog); in rgb_prog() 2909 *dma_prog = (uint32_t ) vtophys(bktr->odd_dma_prog); in rgb_prog() [all …]
|
| /dragonfly/sys/dev/netif/tx/ |
| HD | if_tx.c | 505 flist->frag[i].fragaddr = vtophys(mtod(m, caddr_t)); in epic_ifstart() 525 flist->frag[0].fragaddr = vtophys(mtod(m, caddr_t)); in epic_ifstart() 595 desc->bufaddr = vtophys(mtod(buf->mbuf, caddr_t)); in epic_rx_done() 1083 CSR_WRITE_4(sc, PRCDAR, vtophys(sc->rx_desc)); in epic_init() 1084 CSR_WRITE_4(sc, PTCDAR, vtophys(sc->tx_desc)); in epic_init() 1304 flist->frag[0].fragaddr = vtophys(mtod(m0, caddr_t)); in epic_queue_last_packet() 1414 desc->next = vtophys(sc->rx_desc + ((i+1) & RX_RING_MASK)); in epic_init_rings() 1427 desc->bufaddr = vtophys(mtod(buf->mbuf, caddr_t)); in epic_init_rings() 1438 desc->next = vtophys(sc->tx_desc + ((i+1) & TX_RING_MASK)); in epic_init_rings() 1447 desc->bufaddr = vtophys(sc->tx_flist + i); in epic_init_rings()
|
| /dragonfly/sys/dev/netif/txp/ |
| HD | if_txp.c | 570 dma = vtophys(sc->sc_fwbuf); in txp_download_fw_section() 776 rbd->rb_paddrlo = vtophys(mtod(sd->sd_mbuf, vm_offset_t)) in txp_rxbuf_reclaim() 886 boot->br_hostvar_lo = vtophys(&ld->txp_hostvar); in txp_alloc_rings() 891 boot->br_txhipri_lo = vtophys(&ld->txp_txhiring); in txp_alloc_rings() 900 boot->br_txlopri_lo = vtophys(&ld->txp_txloring); in txp_alloc_rings() 909 boot->br_rxhipri_lo = vtophys(&ld->txp_rxhiring); in txp_alloc_rings() 917 boot->br_rxlopri_lo = vtophys(&ld->txp_rxloring); in txp_alloc_rings() 926 boot->br_cmd_lo = vtophys(&ld->txp_cmdring); in txp_alloc_rings() 935 boot->br_resp_lo = vtophys(&ld->txp_rspring); in txp_alloc_rings() 943 boot->br_rxbuf_lo = vtophys(&ld->txp_rxbufs); in txp_alloc_rings() [all …]
|
| /dragonfly/sys/dev/netif/ti/ |
| HD | if_ti.c | 708 TI_HOSTADDR(r->ti_addr) = vtophys(mtod(m_new, caddr_t)); in ti_newbuf_std() 744 TI_HOSTADDR(r->ti_addr) = vtophys(mtod(m_new, caddr_t)); in ti_newbuf_mini() 806 TI_HOSTADDR(r->ti_addr) = vtophys(mtod(m_new, caddr_t)); in ti_newbuf_jumbo() 1236 CSR_WRITE_4(sc, TI_GCR_GENINFO_LO, vtophys(&sc->ti_rdata->ti_info)); in ti_gibinit() 1246 TI_HOSTADDR(rcb->ti_hostaddr) = vtophys(&sc->ti_rdata->ti_event_ring); in ti_gibinit() 1249 vtophys(&sc->ti_ev_prodidx); in ti_gibinit() 1274 vtophys(&sc->ti_rdata->ti_info.ti_stats); in ti_gibinit() 1278 TI_HOSTADDR(rcb->ti_hostaddr) = vtophys(&sc->ti_rdata->ti_rx_std_ring); in ti_gibinit() 1289 vtophys(&sc->ti_rdata->ti_rx_jumbo_ring); in ti_gibinit() 1304 vtophys(&sc->ti_rdata->ti_rx_mini_ring); in ti_gibinit() [all …]
|
| /dragonfly/sys/dev/netif/fxp/ |
| HD | if_fxp.c | 1132 vtophys(mtod(m, vm_offset_t)); in fxp_start() 1422 vtophys(sc->rfa_headm->m_ext.ext_buf) + in fxp_intr_body() 1668 CSR_WRITE_4(sc, FXP_CSR_SCB_GENERAL, vtophys(sc->fxp_stats)); in fxp_init() 1689 CSR_WRITE_4(sc, FXP_CSR_SCB_GENERAL, vtophys(&mcsp->cb_status)); in fxp_init() 1797 CSR_WRITE_4(sc, FXP_CSR_SCB_GENERAL, vtophys(&cbp->cb_status)); in fxp_init() 1832 vtophys(&txp[(i + 1) & FXP_TXCB_MASK].cb_status); in fxp_init() 1834 txp[i].tbd_array_addr = vtophys(&txp[i].tbd[2]); in fxp_init() 1836 txp[i].tbd_array_addr = vtophys(&txp[i].tbd[0]); in fxp_init() 1855 vtophys(sc->rfa_headm->m_ext.ext_buf) + RFA_ALIGNMENT_FUDGE); in fxp_init() 2000 v = vtophys(rfa); in fxp_add_rfabuf() [all …]
|
| /dragonfly/sys/dev/netif/wb/ |
| HD | if_wb.c | 910 ld->wb_rx_list[i].wb_next = vtophys(&ld->wb_rx_list[nexti]); in wb_list_rx_init() 951 c->wb_ptr->wb_data = vtophys(mtod(m_new, caddr_t)); in wb_newbuf() 1035 CSR_WRITE_4(sc, WB_RXADDR, vtophys(&sc->wb_ldata->wb_rx_list[0])); in wb_rxeoc() 1233 f->wb_next = vtophys(&c->wb_ptr->wb_frag[frag + 1]); in wb_encap() 1234 f->wb_data = vtophys(mtod(m, vm_offset_t)); in wb_encap() 1267 f->wb_data = vtophys(mtod(m_new, caddr_t)); in wb_encap() 1276 f->wb_data = vtophys(&sc->wb_cdata.wb_pad); in wb_encap() 1285 WB_TXNEXT(c) = vtophys(&c->wb_nextdesc->wb_ptr->wb_frag[0]); in wb_encap() 1466 CSR_WRITE_4(sc, WB_RXADDR, vtophys(&sc->wb_ldata->wb_rx_list[0])); in wb_init() 1479 CSR_WRITE_4(sc, WB_TXADDR, vtophys(&sc->wb_ldata->wb_tx_list[0])); in wb_init()
|
| /dragonfly/sys/dev/netif/tl/ |
| HD | if_tl.c | 1332 vtophys(&ld->tl_rx_list[i + 1]); in tl_list_rx_init() 1355 c->tl_ptr->tl_frag.tlist_dadr = vtophys(mtod(m_new, caddr_t)); in tl_newbuf() 1416 vtophys(cur_rx->tl_ptr); in tl_intvec_rxeof() 1467 CSR_WRITE_4(sc, TL_CH_PARM, vtophys(sc->tl_cdata.tl_rx_head->tl_ptr)); in tl_intvec_rxeoc() 1546 vtophys(sc->tl_cdata.tl_tx_head->tl_ptr)); in tl_intvec_txeoc() 1755 vtophys(mtod(m, vm_offset_t)); in tl_encap() 1785 f->tlist_dadr = vtophys(mtod(m_new, caddr_t)); in tl_encap() 1801 f->tlist_dadr = vtophys(&sc->tl_ldata->tl_pad); in tl_encap() 1861 prev->tl_ptr->tlist_fptr = vtophys(cur_tx->tl_ptr); in tl_start() 1887 CSR_WRITE_4(sc, TL_CH_PARM, vtophys(start_tx->tl_ptr)); in tl_start() [all …]
|
| /dragonfly/sys/dev/netif/vr/ |
| HD | if_vr.c | 876 vtophys(tx_chain[next_idx].vr_ptr); in vr_list_tx_init() 877 tx_chain[i].vr_buf_paddr = vtophys(tx_buf); in vr_list_tx_init() 911 ld->vr_rx_list[i].vr_next = vtophys(&ld->vr_rx_list[nexti]); in vr_list_rx_init() 946 c->vr_ptr->vr_data = vtophys(mtod(m_new, caddr_t)); in vr_newbuf() 1057 CSR_WRITE_4(sc, VR_RXADDR, vtophys(sc->vr_cdata.vr_rx_head->vr_ptr)); in vr_rxeoc() 1109 CSR_WRITE_4(sc, VR_TXADDR, vtophys(cur_tx->vr_ptr)); in vr_txeof() 1464 CSR_WRITE_4(sc, VR_RXADDR, vtophys(sc->vr_cdata.vr_rx_head->vr_ptr)); in vr_init() 1471 CSR_WRITE_4(sc, VR_TXADDR, vtophys(&sc->vr_ldata->vr_tx_list[0])); in vr_init()
|
| /dragonfly/sys/dev/netif/ste/ |
| HD | if_ste.c | 1045 c->ste_ptr->ste_frag.ste_addr = vtophys(mtod(m_new, caddr_t)); in ste_newbuf() 1069 vtophys(&ld->ste_rx_list[0]); in ste_init_rx_list() 1074 vtophys(&ld->ste_rx_list[i + 1]); in ste_init_rx_list() 1097 cd->ste_tx_chain[i].ste_phys = vtophys(&ld->ste_tx_list[i]); in ste_init_tx_list() 1182 vtophys(&sc->ste_ldata->ste_rx_list[0])); in ste_init() 1366 f->ste_addr = vtophys(mtod(m, vm_offset_t)); in ste_encap() 1454 vtophys(&sc->ste_ldata->ste_tx_list[0])); in ste_start()
|
| /dragonfly/sys/dev/drm/include/linux/ |
| HD | highmem.h | 46 return (struct page *)PHYS_TO_VM_PAGE(vtophys(addr)); in kmap_to_page()
|
| /dragonfly/sys/dev/drm/ |
| HD | linux_dma.c | 48 *dma_handle = vtophys(mem); in dma_alloc_coherent()
|
| HD | drm_scatter.c | 95 vtophys(entry->vaddr + IDX_TO_OFF(pindex)); in drm_legacy_sg_alloc()
|
| HD | drm_vm.c | 130 phys = vtophys((char *)map->handle + offset); in drm_mmap()
|
| /dragonfly/sys/dev/netif/sln/ |
| HD | if_sln.c | 685 SLN_WRITE_4(sc, SL_RBSA, vtophys(sc->sln_bufdata.sln_rx_buf)); in sln_init() 686 sc->sln_bufdata.dirty_rx = vtophys(sc->sln_bufdata.sln_rx_buf); in sln_init() 783 vtophys(mtod(SL_CUR_TXBUF(sc), caddr_t))); in sln_tx() 833 cur_rx |= vtophys(sc->sln_bufdata.sln_rx_buf) & (~(u_long) (SL_RX_BUFLEN - 1)); in sln_rx() 835 if (cur_rx < vtophys(sc->sln_bufdata.sln_rx_buf)) in sln_rx() 850 … rx_offset = (dirty_rx - vtophys(sc->sln_bufdata.sln_rx_buf)) & (u_long) (SL_RX_BUFLEN - 1); in sln_rx()
|
| /dragonfly/sys/dev/netif/pcn/ |
| HD | if_pcn.c | 744 c->pcn_rbaddr = vtophys(mtod(m_new, caddr_t)); in pcn_newbuf() 963 f->pcn_tbaddr = vtophys(mtod(m, vm_offset_t)); in pcn_encap() 1147 vtophys(&sc->pcn_ldata->pcn_rx_list[0]) & 0xFFFF); in pcn_init() 1149 (vtophys(&sc->pcn_ldata->pcn_rx_list[0]) >> 16) & 0xFFFF); in pcn_init() 1151 vtophys(&sc->pcn_ldata->pcn_tx_list[0]) & 0xFFFF); in pcn_init() 1153 (vtophys(&sc->pcn_ldata->pcn_tx_list[0]) >> 16) & 0xFFFF); in pcn_init()
|
| /dragonfly/sys/dev/netif/sf/ |
| HD | if_sf.c | 892 c->sf_addrlo = SF_RX_HOSTADDR(vtophys(mtod(m_new, caddr_t))); in sf_newbuf() 1159 vtophys(sc->sf_ldata->sf_rx_clist) & SF_RXCQ_ADDR); in sf_init() 1167 vtophys(sc->sf_ldata->sf_rx_dlist_big)); in sf_init() 1173 vtophys(sc->sf_ldata->sf_tx_clist) & SF_RXCQ_ADDR); in sf_init() 1177 vtophys(sc->sf_ldata->sf_tx_dlist)); in sf_init() 1219 f->sf_addr = vtophys(mtod(m, vm_offset_t)); in sf_encap()
|
| /dragonfly/sys/dev/sound/pci/ |
| HD | hdspe.c | 209 paddr = vtophys(sc->pbuf); in hdspe_map_dmabuf() 210 raddr = vtophys(sc->rbuf); in hdspe_map_dmabuf()
|
| /dragonfly/sys/dev/netif/my/ |
| HD | if_my.c | 1041 ld->my_rx_list[i].my_next = vtophys(&ld->my_rx_list[0]); in my_list_rx_init() 1046 vtophys(&ld->my_rx_list[i + 1]); in my_list_rx_init() 1075 c->my_ptr->my_data = vtophys(mtod(m_new, caddr_t)); in my_newbuf() 1309 f->my_data = vtophys(mtod(m_new, caddr_t)); in my_encap() 1319 MY_TXNEXT(c) = vtophys(&c->my_nextdesc->my_ptr->my_frag[0]); in my_encap() 1471 CSR_WRITE_4(sc, MY_RXLBA, vtophys(&sc->my_ldata->my_rx_list[0])); in my_init() 1482 CSR_WRITE_4(sc, MY_TXLBA, vtophys(&sc->my_ldata->my_tx_list[0])); in my_init()
|
| /dragonfly/sys/dev/raid/hptmv/ |
| HD | mv.c | 114 return (ULONG_PTR)(vtophys(addr)); in fOsPhysicalAddress()
|
| /dragonfly/sys/dev/netif/nge/ |
| HD | if_nge.c | 976 vtophys(&ld->nge_tx_list[0]); in nge_list_tx_init() 981 vtophys(&ld->nge_tx_list[i + 1]); in nge_list_tx_init() 1016 vtophys(&ld->nge_rx_list[0]); in nge_list_rx_init() 1021 vtophys(&ld->nge_rx_list[i + 1]); in nge_list_rx_init() 1076 c->nge_ptr = vtophys(mtod(m_new, caddr_t)); in nge_newbuf() 1579 f->nge_ptr = vtophys(mtod(m, vm_offset_t)); in nge_encap() 1782 vtophys(&sc->nge_ldata->nge_rx_list[0])); in nge_init() 1784 vtophys(&sc->nge_ldata->nge_tx_list[0])); in nge_init()
|
| /dragonfly/sys/dev/disk/ncr/ |
| HD | ncr.c | 3102 new = (old & ~RELOC_MASK) + vtophys(np); in ncr_script_copy_and_bind() 3110 new = vtophys(script_kvars[old & in ncr_script_copy_and_bind() 3685 np->p_script = vtophys(np->script); 3686 np->p_scripth = vtophys(np->scripth); 4094 cp->phys.cmd.addr = vtophys (csio->cdb_io.cdb_bytes); 4110 cp->phys.sense.addr = vtophys (&csio->sense_data); 5714 if (dsp == vtophys (&cp->patch[2])) { 5718 } else if (dsp == vtophys (&cp->patch[6])) { 5799 if (cp->phys.header.savep == vtophys (newcmd)) newcmd+=4; 5824 OUTL (nc_temp, vtophys (newcmd)); [all …]
|
| /dragonfly/sys/dev/netif/dc/ |
| HD | if_dc.c | 1062 sframe->dc_data = vtophys(&sc->dc_cdata.dc_sbuf); in dc_setfilt_21143() 1278 sframe->dc_data = vtophys(&sc->dc_cdata.dc_sbuf); in dc_setfilt_xircom() 2260 vtophys(&ld->dc_tx_list[0]); in dc_list_tx_init() 2263 vtophys(&ld->dc_tx_list[i + 1]); in dc_list_tx_init() 2296 vtophys(&ld->dc_rx_list[0]); in dc_list_rx_init() 2299 vtophys(&ld->dc_rx_list[i + 1]); in dc_list_rx_init() 2341 c->dc_data = vtophys(mtod(m_new, caddr_t)); in dc_newbuf() 3051 f->dc_data = vtophys(mtod(m, vm_offset_t)); in dc_encap() 3295 CSR_WRITE_4(sc, DC_RXADDR, vtophys(&sc->dc_ldata->dc_rx_list[0])); in dc_init() 3296 CSR_WRITE_4(sc, DC_TXADDR, vtophys(&sc->dc_ldata->dc_tx_list[0])); in dc_init()
|