Searched refs:sc_dma_seg (Results 1 – 3 of 3) sorted by relevance
/openbsd/sys/dev/pv/ |
H A D | viogpu.c | 73 bus_dma_segment_t sc_dma_seg; member 197 &sc->sc_dma_seg, 1, &nsegs, BUS_DMA_NOWAIT | BUS_DMA_ZERO) != 0) { in viogpu_attach() 201 if (bus_dmamem_map(vsc->sc_dmat, &sc->sc_dma_seg, nsegs, in viogpu_attach() 302 bus_dmamem_free(vsc->sc_dmat, &sc->sc_dma_seg, 1); in viogpu_attach()
|
H A D | if_vio.c | 243 bus_dma_segment_t sc_dma_seg; member 362 &sc->sc_dma_seg, 1, &nsegs, BUS_DMA_NOWAIT | BUS_DMA_ZERO) != 0) in vio_alloc_dmamem() 364 if (bus_dmamem_map(vsc->sc_dmat, &sc->sc_dma_seg, nsegs, in vio_alloc_dmamem() 375 bus_dmamem_free(vsc->sc_dmat, &sc->sc_dma_seg, 1); in vio_alloc_dmamem() 389 bus_dmamem_free(vsc->sc_dmat, &sc->sc_dma_seg, 1); in vio_free_dmamem()
|
/openbsd/sys/dev/pci/ |
H A D | if_vic.c | 279 bus_dma_segment_t sc_dma_seg; member 1372 &sc->sc_dma_seg, 1, &nsegs, BUS_DMA_NOWAIT | BUS_DMA_ZERO) != 0) in vic_alloc_dmamem() 1375 if (bus_dmamem_map(sc->sc_dmat, &sc->sc_dma_seg, nsegs, in vic_alloc_dmamem() 1388 bus_dmamem_free(sc->sc_dmat, &sc->sc_dma_seg, 1); in vic_alloc_dmamem() 1400 bus_dmamem_free(sc->sc_dmat, &sc->sc_dma_seg, 1); in vic_free_dmamem()
|