Home
last modified time | relevance | path

Searched refs:buf_map (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/eqos/
H A Dif_eqos.c278 sc->tx.buf_map[first].map, m, segs, &nsegs, 0); in eqos_setup_txbuf()
283 bus_dmamap_unload(sc->tx.buf_tag, sc->tx.buf_map[first].map); in eqos_setup_txbuf()
288 sc->tx.buf_map[first].map, m, segs, &nsegs, 0); in eqos_setup_txbuf()
294 bus_dmamap_unload(sc->tx.buf_tag, sc->tx.buf_map[first].map); in eqos_setup_txbuf()
299 bus_dmamap_sync(sc->tx.buf_tag, sc->tx.buf_map[first].map, in eqos_setup_txbuf()
302 sc->tx.buf_map[first].mbuf = m; in eqos_setup_txbuf()
345 sc->rx.buf_map[index].map, m, &seg, &nsegs, 0); in eqos_setup_rxbuf()
349 bus_dmamap_sync(sc->rx.buf_tag, sc->rx.buf_map[index].map, in eqos_setup_rxbuf()
352 sc->rx.buf_map[index].mbuf = m; in eqos_setup_rxbuf()
693 sc->rx.buf_map[sc->rx.head].map, BUS_DMASYNC_POSTREAD); in eqos_rxintr()
[all …]
H A Dif_eqos_var.h68 struct eqos_bufmap buf_map[EQOS_DMA_DESC_COUNT]; member
/freebsd/crypto/heimdal/lib/asn1/
H A Dcheck-common.c210 struct map_page *data_map, *buf_map, *buf2_map; in generic_test() local
238 buf = map_alloc(UNDERRUN, NULL, buf_sz, &buf_map); in generic_test()
333 map_free(buf_map, tests[i].name, "encode"); in generic_test()
363 struct map_page *data_map, *buf_map; in generic_decode_fail() local
398 buf = map_alloc(OVERRUN, bytes, sz, &buf_map); in generic_decode_fail()
413 map_free(buf_map, tests[i].name, "encode"); in generic_decode_fail()
/freebsd/sys/arm/allwinner/
H A Dif_awg.c168 struct awg_bufmap buf_map[TX_DESC_COUNT]; member
179 struct awg_bufmap buf_map[RX_DESC_COUNT]; member
612 map = sc->tx.buf_map[first].map; in awg_encap()
693 sc->tx.buf_map[first].map = sc->tx.buf_map[last].map; in awg_encap()
694 sc->tx.buf_map[last].map = map; in awg_encap()
695 sc->tx.buf_map[last].mbuf = m; in awg_encap()
713 bmap = &sc->tx.buf_map[index]; in awg_clean_txbuf()
764 if (sc->rx.buf_map[index].mbuf != NULL) { in awg_newbuf_rx()
765 bus_dmamap_sync(sc->rx.buf_tag, sc->rx.buf_map[index].map, in awg_newbuf_rx()
767 bus_dmamap_unload(sc->rx.buf_tag, sc->rx.buf_map[index].map); in awg_newbuf_rx()
[all …]
/freebsd/sys/dev/mmc/host/
H A Ddwmmc_var.h79 bus_dmamap_t buf_map; member
H A Ddwmmc.c304 &sc->buf_map); in dma_setup()
931 bus_dmamap_sync(sc->buf_tag, sc->buf_map, in dma_done()
934 bus_dmamap_sync(sc->buf_tag, sc->buf_map, in dma_done()
940 bus_dmamap_unload(sc->buf_tag, sc->buf_map); in dma_done()
976 err = bus_dmamap_load(sc->buf_tag, sc->buf_map, in dma_prepare()
987 bus_dmamap_sync(sc->buf_tag, sc->buf_map, in dma_prepare()
990 bus_dmamap_sync(sc->buf_tag, sc->buf_map, in dma_prepare()
/freebsd/sys/dev/sound/pci/
H A Demu10k1.c163 bus_dmamap_t buf_map; member
1365 buf = emu_malloc(sc, sz, &blk->buf_addr, &blk->buf_map); in emu_memalloc()
1408 emu_free(sc, buf, blk->buf_map); in emu_memfree()
H A Demu10kx.c275 bus_dmamap_t buf_map; member
1119 membuf = emu_malloc(mem, sz, &blk->buf_addr, &blk->buf_map); in emu_memalloc()
1157 emu_free(mem, membuf, blk->buf_map); in emu_memfree()