Home | History | Annotate | Download | only in pci

Lines Matching refs:virtio_dmat

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);
414 bus_dmamap_destroy(virtio_dmat(vsc), sc->sc_fb_dma_map);
416 bus_dmamem_unmap(virtio_dmat(vsc), &sc->sc_cmd, VIOGPU_CMD_DMA_SIZE);
418 bus_dmamem_free(virtio_dmat(vsc), &sc->sc_dma_seg, 1);
420 bus_dmamap_destroy(virtio_dmat(vsc), sc->sc_dma_map);
511 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dma_map, 0, cmd_size,
515 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dma_map, cmd_size, ret_size,
547 bus_dmamap_sync(virtio_dmat
549 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dma_map, sc->cur_cmd_size,