Searched refs:dmamem (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/tools/bus_space/examples/
H A Dam79c900_diag.py224 dmamem = busdma.mem_alloc(mem_tag, 0) variable
225 busseg = busdma.md_first_seg(dmamem, busdma.MD_BUS_SPACE)
226 cpuseg = busdma.md_first_seg(dmamem, busdma.MD_VIRT_SPACE)
263 busdma.sync_range(dmamem, busdma.SYNC_PREWRITE, 0, addr_rxbufs - cpuaddr)
306 busdma.sync_range(dmamem, busdma.SYNC_PREWRITE, addr_txbufs - cpuaddr, bufsize)
312 busdma.sync_range(dmamem, busdma.SYNC_PREWRITE, addr_txdesc - cpuaddr,
325 busdma.sync_range(dmamem, busdma.SYNC_PREWRITE, addr_rxdesc - cpuaddr,
342 busdma.mem_free(dmamem)
/freebsd-11-stable/sys/dev/hatm/
H A Dif_hatmvar.h95 struct dmamem { struct
113 struct dmamem mem; /* the queue area */
126 struct dmamem mem; /* memory */
136 struct dmamem mem; /* memory */
148 struct dmamem mem; /* memory */
320 struct dmamem mem; /* interrupt queues */
404 struct dmamem hsp_mem;
413 struct dmamem tpds; /* TPD memory */
H A Dif_hatm.c200 hatm_alloc_dmamem(struct hatm_softc *sc, const char *what, struct dmamem *mem)
256 hatm_destroy_dmamem(struct dmamem *mem)
378 DBG(sc, ATTACH, ("... dmamem error=%d", error));
/freebsd-11-stable/sys/dev/ce/
H A Dif_ce.c180 ce_dma_mem_t dmamem; member in struct:_drv_t
188 ce_dma_mem_t dmamem; member in struct:_bdrv_t
551 bd->dmamem.size = TAU32_ControllerObjectSize;
552 if (! ce_bus_dma_mem_alloc (unit, -1, &bd->dmamem)) {
556 b->ddk.pControllerObject = bd->dmamem.virt;
565 ce_bus_dma_mem_free (&bd->dmamem);
572 b->ddk.ControllerObjectPhysicalAddress = bd->dmamem.phys;
586 ce_bus_dma_mem_free (&bd->dmamem);
601 ce_bus_dma_mem_free (&bd->dmamem);
623 ce_bus_dma_mem_free (&bd->dmamem);
[all...]
/freebsd-11-stable/sys/dev/cp/
H A Dif_cp.c112 cp_dma_mem_t dmamem; member in struct:_drv_t
134 cp_dma_mem_t dmamem; member in struct:_bdrv_t
424 bd->dmamem.size = sizeof(cp_qbuf_t);
425 if (! cp_bus_dma_mem_alloc (unit, -1, &bd->dmamem)) {
431 cp_reset (b, bd->dmamem.virt, bd->dmamem.phys);
468 d->dmamem.size = sizeof(cp_buf_t);
469 if (! cp_bus_dma_mem_alloc (unit, c->num, &d->dmamem))
519 cp_start_chan (c, 1, 1, d->dmamem.virt, d->dmamem
[all...]
/freebsd-11-stable/sys/dev/cx/
H A Dif_cx.c133 cx_dma_mem_t dmamem; member in struct:_drv_t
781 d->dmamem.size = sizeof(cx_buf_t);
782 if (! cx_bus_dma_mem_alloc (unit, c->num, &d->dmamem))
805 cx_bus_dma_mem_free (&d->dmamem);
816 cx_bus_dma_mem_free (&d->dmamem);
830 cx_bus_dma_mem_free (&d->dmamem);
860 cx_start_chan (c, d->dmamem.virt, d->dmamem.phys);
993 cx_bus_dma_mem_free (&d->dmamem);
/freebsd-11-stable/sys/dev/ctau/
H A Dif_ct.c114 ct_dma_mem_t dmamem; member in struct:_drv_t
679 d->dmamem.size = sizeof(ct_buf_t);
680 if (! ct_bus_dma_mem_alloc (unit, c->num, &d->dmamem))
695 ct_bus_dma_mem_free (&d->dmamem);
706 ct_bus_dma_mem_free (&d->dmamem);
720 ct_bus_dma_mem_free (&d->dmamem);
741 ct_start_chan (c, d->dmamem.virt, d->dmamem.phys);
841 ct_bus_dma_mem_free (&d->dmamem);
/freebsd-11-stable/sys/dev/sdhci/
H A Dsdhci.c697 err = bus_dmamem_alloc(slot->dmatag, (void **)&slot->dmamem,
706 (void *)slot->dmamem, slot->sdma_bbufsz, sdhci_getaddr,
710 bus_dmamem_free(slot->dmatag, slot->dmamem, slot->dmamap);
726 bus_dmamem_free(slot->dmatag, slot->dmamem, slot->dmamap);
1735 memcpy(slot->dmamem, data->data, ulmin(data->len,
1781 memcpy((u_char*)data->data + slot->offset, slot->dmamem,
1995 memcpy((u_char*)data->data + slot->offset, slot->dmamem,
2008 memcpy(slot->dmamem, (u_char*)data->data + slot->offset,
H A Dsdhci.h369 u_char *dmamem; member in struct:sdhci_slot

Completed in 282 milliseconds