Lines Matching +defs:test +defs:map

240 	/* allocate DMAable memory & map */
243 | BUS_DMA_ZERO), &dma->map);
250 err = bus_dmamap_load(dma->dmat, dma->map, dma->addr, bytes,
254 device_printf(dev, "couldn't load map (err = %d)\n", err);
260 bus_dmamem_free(dma->dmat, dma->addr, dma->map);
269 bus_dmamap_unload(dma->dmat, dma->map);
270 bus_dmamem_free(dma->dmat, dma->addr, dma->map);
394 * map the Nvidia config space ourselves. This is because on
417 /* map it into the kernel */
471 char *test = " ";
473 /* Run a small DMA test.
489 test = "read";
499 test = "write";
510 test = "read/write";
519 test, status);
553 * before trying the test with 4KB.
580 * Run a DMA test which watches for unaligned completions and
590 device_printf(dev, "DMA test failed: %d\n", status);
840 sc->cmd_dma.map, BUS_DMASYNC_POSTREAD);
1004 sc->cmd_dma.map, BUS_DMASYNC_POSTREAD);
1967 bus_dmamap_unload(tx->dmat, tx->info[tx->req & tx->mask].map);
2045 /* (try to) map the frame for DMA */
2047 err = bus_dmamap_load_mbuf_sg(tx->dmat, tx->info[idx].map,
2060 tx->info[idx].map,
2069 bus_dmamap_sync(tx->dmat, tx->info[idx].map,
2323 mxge_get_buf_small(struct mxge_slice_state *ss, bus_dmamap_t map, int idx)
2337 err = bus_dmamap_load_mbuf_sg(rx->dmat, map, m,
2356 mxge_get_buf_big(struct mxge_slice_state *ss, bus_dmamap_t map, int idx)
2370 err = bus_dmamap_load_mbuf_sg(rx->dmat, map, m,
2579 old_map = rx->info[idx].map;
2584 rx->info[idx].map = rx->extra_map;
2647 old_map = rx->info[idx].map;
2652 rx->info[idx].map = rx->extra_map;
2724 bus_dmamap_t map;
2734 /* mbuf and DMA map only attached to the first
2742 map = tx->info[idx].map;
2743 bus_dmamap_unload(tx->dmat, map);
3063 ss->rx_big.info[i].map);
3072 ss->rx_small.info[i].map);
3086 ss->tx.info[i].map);
3130 ss->tx.info[i].map);
3142 ss->rx_small.info[i].map);
3156 ss->rx_big.info[i].map);
3241 &ss->rx_small.info[i].map);
3258 &ss->rx_big.info[i].map);
3319 &ss->tx.info[i].map);
3396 bus_dmamap_t map;
3438 map = ss->rx_small.info[i].map;
3439 err = mxge_get_buf_small(ss, map, i);
3455 map = ss->rx_big.info[i].map;
3456 err = mxge_get_buf_big(ss, map, i);
4658 device_printf(dev, "could not map memory\n");