Home
last modified time | relevance | path

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

/freebsd-11-stable/tools/bus_space/examples/
HDam79c900_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/
HDif_hatmvar.h95 struct dmamem { struct
113 struct dmamem mem; /* the queue area */ argument
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 */
HDif_hatm.c200 hatm_alloc_dmamem(struct hatm_softc *sc, const char *what, struct dmamem *mem) in hatm_alloc_dmamem()
256 hatm_destroy_dmamem(struct dmamem *mem) in hatm_destroy_dmamem()
/freebsd-11-stable/sys/dev/ce/
HDif_ce.c180 ce_dma_mem_t dmamem; member
188 ce_dma_mem_t dmamem; member
551 bd->dmamem.size = TAU32_ControllerObjectSize; in ce_attach()
552 if (! ce_bus_dma_mem_alloc (unit, -1, &bd->dmamem)) { in ce_attach()
556 b->ddk.pControllerObject = bd->dmamem.virt; in ce_attach()
565 ce_bus_dma_mem_free (&bd->dmamem); in ce_attach()
572 b->ddk.ControllerObjectPhysicalAddress = bd->dmamem.phys; in ce_attach()
586 ce_bus_dma_mem_free (&bd->dmamem); in ce_attach()
601 ce_bus_dma_mem_free (&bd->dmamem); in ce_attach()
623 ce_bus_dma_mem_free (&bd->dmamem); in ce_attach()
[all …]
/freebsd-11-stable/sys/dev/cp/
HDif_cp.c112 cp_dma_mem_t dmamem; member
134 cp_dma_mem_t dmamem; member
424 bd->dmamem.size = sizeof(cp_qbuf_t); in cp_attach()
425 if (! cp_bus_dma_mem_alloc (unit, -1, &bd->dmamem)) { in cp_attach()
431 cp_reset (b, bd->dmamem.virt, bd->dmamem.phys); in cp_attach()
468 d->dmamem.size = sizeof(cp_buf_t); in cp_attach()
469 if (! cp_bus_dma_mem_alloc (unit, c->num, &d->dmamem)) in cp_attach()
519 cp_start_chan (c, 1, 1, d->dmamem.virt, d->dmamem.phys); in cp_attach()
633 cp_bus_dma_mem_free (&d->dmamem); in cp_detach()
636 cp_bus_dma_mem_free (&bd->dmamem); in cp_detach()
/freebsd-11-stable/sys/dev/ctau/
HDif_ct.c114 ct_dma_mem_t dmamem; member
679 d->dmamem.size = sizeof(ct_buf_t); in ct_attach()
680 if (! ct_bus_dma_mem_alloc (unit, c->num, &d->dmamem)) in ct_attach()
695 ct_bus_dma_mem_free (&d->dmamem); in ct_attach()
706 ct_bus_dma_mem_free (&d->dmamem); in ct_attach()
720 ct_bus_dma_mem_free (&d->dmamem); in ct_attach()
741 ct_start_chan (c, d->dmamem.virt, d->dmamem.phys); in ct_attach()
841 ct_bus_dma_mem_free (&d->dmamem); in ct_detach()
/freebsd-11-stable/sys/dev/sdhci/
HDsdhci.c697 err = bus_dmamem_alloc(slot->dmatag, (void **)&slot->dmamem, in sdhci_dma_alloc()
706 (void *)slot->dmamem, slot->sdma_bbufsz, sdhci_getaddr, in sdhci_dma_alloc()
710 bus_dmamem_free(slot->dmatag, slot->dmamem, slot->dmamap); in sdhci_dma_alloc()
726 bus_dmamem_free(slot->dmatag, slot->dmamem, slot->dmamap); in sdhci_dma_free()
1735 memcpy(slot->dmamem, data->data, ulmin(data->len, in sdhci_start_data()
1781 memcpy((u_char*)data->data + slot->offset, slot->dmamem, in sdhci_finish_data()
1995 memcpy((u_char*)data->data + slot->offset, slot->dmamem, in sdhci_data_irq()
2008 memcpy(slot->dmamem, (u_char*)data->data + slot->offset, in sdhci_data_irq()
HDsdhci.h369 u_char *dmamem; member
/freebsd-11-stable/sys/dev/cx/
HDif_cx.c133 cx_dma_mem_t dmamem; member
781 d->dmamem.size = sizeof(cx_buf_t); in cx_attach()
782 if (! cx_bus_dma_mem_alloc (unit, c->num, &d->dmamem)) in cx_attach()
805 cx_bus_dma_mem_free (&d->dmamem); in cx_attach()
816 cx_bus_dma_mem_free (&d->dmamem); in cx_attach()
830 cx_bus_dma_mem_free (&d->dmamem); in cx_attach()
860 cx_start_chan (c, d->dmamem.virt, d->dmamem.phys); in cx_attach()
993 cx_bus_dma_mem_free (&d->dmamem); in cx_detach()