HomeSort by: relevance | last modified time | path
    Searched refs:virtio_dmat (Results 1 - 10 of 10) sorted by relevancy

  /src/sys/dev/pci/
viornd.c 101 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap, 0, VIORND_BUFSIZE,
144 error = bus_dmamem_alloc(virtio_dmat(vsc),
153 error = bus_dmamem_map(virtio_dmat(vsc), segs, nsegs, VIORND_BUFSIZE,
160 error = bus_dmamap_create(virtio_dmat(vsc), VIORND_BUFSIZE, 1,
170 error = bus_dmamap_load(virtio_dmat(vsc), sc->sc_dmamap,
208 bus_dmamap_unload(virtio_dmat(vsc), sc->sc_dmamap);
210 bus_dmamap_destroy(virtio_dmat(vsc), sc->sc_dmamap);
212 bus_dmamem_unmap(virtio_dmat(vsc), sc->sc_buf, VIORND_BUFSIZE);
214 bus_dmamem_free(virtio_dmat(vsc), segs, nsegs);
236 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap, 0, VIORND_BUFSIZE
    [all...]
vioscsi.c 363 error = bus_dmamap_load(virtio_dmat(vsc), vr->vr_data,
392 bus_dmamap_unload(virtio_dmat(vsc), vr->vr_data);
401 bus_dmamap_sync(virtio_dmat(vsc), vr->vr_control,
405 bus_dmamap_sync(virtio_dmat(vsc), vr->vr_control,
410 bus_dmamap_sync(virtio_dmat(vsc), vr->vr_data, 0, xs->datalen,
459 bus_dmamap_sync(virtio_dmat(vsc), vr->vr_control,
463 bus_dmamap_sync(virtio_dmat(vsc), vr->vr_control,
468 bus_dmamap_sync(virtio_dmat(vsc), vr->vr_data, 0, xs->datalen,
494 bus_dmamap_unload(virtio_dmat(vsc), vr->vr_data);
587 r = bus_dmamem_alloc(virtio_dmat(vsc), allocsize, 0, 0
    [all...]
ld_virtio.c 227 r = bus_dmamem_alloc(virtio_dmat(sc->sc_virtio), allocsize, 0, 0,
235 r = bus_dmamem_map(virtio_dmat(sc->sc_virtio),
248 r = bus_dmamap_create(virtio_dmat(sc->sc_virtio),
261 r = bus_dmamap_load(virtio_dmat(sc->sc_virtio), vr->vr_cmdsts,
271 r = bus_dmamap_create(virtio_dmat(sc->sc_virtio),
293 bus_dmamap_destroy(virtio_dmat(sc->sc_virtio),
298 bus_dmamap_destroy(virtio_dmat(sc->sc_virtio),
303 bus_dmamem_unmap(virtio_dmat(sc->sc_virtio), sc->sc_reqs, allocsize);
305 bus_dmamem_free(virtio_dmat(sc->sc_virtio), &sc->sc_reqs_seg, 1);
511 r = bus_dmamap_load(virtio_dmat(vsc), vr->vr_payload
    [all...]
viogpu.c 283 error = bus_dmamap_create(virtio_dmat(vsc), VIOGPU_CMD_DMA_SIZE, 1,
291 error = bus_dmamem_alloc(virtio_dmat(vsc), VIOGPU_CMD_DMA_SIZE, 16, 0,
298 error = bus_dmamem_map(virtio_dmat(vsc), &sc->sc_dma_seg, nsegs,
306 error = bus_dmamap_load(virtio_dmat(vsc), sc->sc_dma_map, sc->sc_cmd,
319 error = bus_dmamap_create(virtio_dmat(vsc), sc->sc_fb_dma_size, 1,
327 error = bus_dmamem_alloc(virtio_dmat(vsc), sc->sc_fb_dma_size, 1024, 0,
334 error = bus_dmamem_map(virtio_dmat(vsc), &sc->sc_fb_dma_seg, nsegs,
342 error = bus_dmamap_load(virtio_dmat(vsc), sc->sc_fb_dma_map,
409 bus_dmamem_unmap(virtio_dmat(vsc), &sc->sc_fb_dma_kva,
412 bus_dmamem_free(virtio_dmat(vsc), &sc->sc_fb_dma_seg, 1)
    [all...]
vio9p.c 272 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap_tx, 0, VIO9P_MAX_REQLEN,
274 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap_rx, 0, VIO9P_MAX_REQLEN,
372 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap_tx, 0,
376 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap_rx, 0,
520 error = bus_dmamap_create(virtio_dmat(vsc), VIO9P_MAX_REQLEN,
527 error = bus_dmamap_create(virtio_dmat(vsc), VIO9P_MAX_REQLEN,
535 error = bus_dmamap_load(virtio_dmat(vsc), sc->sc_dmamap_tx,
542 error = bus_dmamap_load(virtio_dmat(vsc), sc->sc_dmamap_rx,
582 bus_dmamap_destroy(virtio_dmat(vsc), sc->sc_dmamap_tx);
583 bus_dmamap_destroy(virtio_dmat(vsc), sc->sc_dmamap_rx)
    [all...]
viomb.c 180 if (bus_dmamap_create(virtio_dmat(vsc), sizeof(uint32_t)*PGS_PER_REQ,
186 if (bus_dmamap_load(virtio_dmat(vsc), sc->sc_req.bl_dmamap,
220 bus_dmamap_destroy(virtio_dmat(vsc), sc->sc_req.bl_dmamap);
317 bus_dmamap_sync(virtio_dmat(vsc), b->bl_dmamap, 0,
360 bus_dmamap_sync(virtio_dmat(vsc), b->bl_dmamap,
431 bus_dmamap_sync(virtio_dmat(vsc), b->bl_dmamap, 0,
476 bus_dmamap_sync(virtio_dmat(vsc), b->bl_dmamap,
if_vioif.c 1084 r = bus_dmamap_create(virtio_dmat(sc->sc_virtio), size,
1100 bus_dmamap_destroy(virtio_dmat(sc->sc_virtio), *map);
1115 r = bus_dmamap_load(virtio_dmat(sc->sc_virtio), *map, buf,
1189 r = bus_dmamem_alloc(virtio_dmat(vsc), dmamemsize, 0, 0,
1197 r = bus_dmamem_map(virtio_dmat(vsc), &sc->sc_segs[0], 1,
1391 bus_dmamem_unmap(virtio_dmat(vsc), sc->sc_dmamem, dmamemsize);
1393 bus_dmamem_free(virtio_dmat(vsc), &sc->sc_segs[0], 1);
1614 r = bus_dmamap_load_mbuf(virtio_dmat(vsc),
1628 bus_dmamap_unload(virtio_dmat(vsc), map->vnm_mbuf_map);
1648 bus_dmamap_sync(virtio_dmat(vsc), map->vnm_mbuf_map
    [all...]
virtiovar.h 242 bus_dma_tag_t virtio_dmat(struct virtio_softc *);
virtio.c 1488 virtio_dmat(struct virtio_softc *sc) function in typeref:typename:bus_dma_tag_t
  /src/sys/dev/virtio/
viocon.c 284 if (bus_dmamap_create(virtio_dmat(vsc), allocsize, 1, allocsize, 0,
287 if (bus_dmamem_alloc(virtio_dmat(vsc), allocsize, 8, 0, &vp->vp_dmaseg,
290 if (bus_dmamem_map(virtio_dmat(vsc), &vp->vp_dmaseg, nsegs,
294 if (bus_dmamap_load(virtio_dmat(vsc), vp->vp_dmamap, kva,
335 bus_dmamap_sync(virtio_dmat(vsc), vp->vp_dmamap,
374 bus_dmamap_sync(virtio_dmat(vsc), vp->vp_dmamap, slot * BUFSIZE,
409 bus_dmamap_sync(virtio_dmat(vsc), vp->vp_dmamap,
462 bus_dmamap_sync(virtio_dmat(vsc), vp->vp_dmamap,

Completed in 18 milliseconds