/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor.conf | 34 active-dma-flush=1;
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_dma.c | 50 dev->dma = drm_calloc(1, sizeof (*dev->dma), DRM_MEM_DMA); 51 if (dev->dma == NULL) 55 pbuf = &(dev->dma->bufs[0]); 65 drm_device_dma_t *dma = dev->dma; local 68 if (dma == NULL) 71 /* Clear dma buffers */ 73 if (dma->bufs[i].seg_count) { 74 drm_free(dma 124 drm_device_dma_t *dma = dev->dma; local [all...] |
H A D | drm_bufs.c | 397 drm_device_dma_t *dma = dev->dma; local 411 if (!dma) 425 entry = &dma->bufs[order]; 444 buf->idx = dma->buf_count + entry->buf_count; 449 buf->offset = (dma->byte_count + offset); 471 (dma->buf_count + entry->buf_count) * sizeof (*dma->buflist), 481 bcopy(temp_buflist, dma->buflist, 482 dma 506 drm_device_dma_t *dma = dev->dma; local 718 drm_device_dma_t *dma = dev->dma; local 784 drm_device_dma_t *dma = dev->dma; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon.conf | 35 active-dma-flush=1;
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_utils.c | 105 vmxnet3_alloc_dma_mem(vmxnet3_softc_t *dp, vmxnet3_dmabuf_t *dma, size_t size, argument 119 &dma->dmaHandle)) != DDI_SUCCESS) { 128 if (ddi_dma_mem_alloc(dma->dmaHandle, size, &vmxnet3_dev_attr, 129 DDI_DMA_CONSISTENT, cb, NULL, &dma->buf, &dma->bufLen, 130 &dma->dataHandle) != DDI_SUCCESS) { 139 if ((dmaerr = ddi_dma_addr_bind_handle(dma->dmaHandle, NULL, dma->buf, 140 dma->bufLen, DDI_DMA_RDWR | DDI_DMA_STREAMING, cb, NULL, &cookie, 149 dma 165 vmxnet3_alloc_dma_mem_1(vmxnet3_softc_t *dp, vmxnet3_dmabuf_t *dma, size_t size, boolean_t canSleep) argument 173 vmxnet3_alloc_dma_mem_512(vmxnet3_softc_t *dp, vmxnet3_dmabuf_t *dma, size_t size, boolean_t canSleep) argument 181 vmxnet3_alloc_dma_mem_128(vmxnet3_softc_t *dp, vmxnet3_dmabuf_t *dma, size_t size, boolean_t canSleep) argument 192 vmxnet3_free_dma_mem(vmxnet3_dmabuf_t *dma) argument [all...] |
H A D | vmxnet3.h | 66 vmxnet3_dmabuf_t dma; member in struct:vmxnet3_cmdring_t 74 vmxnet3_dmabuf_t dma; member in struct:vmxnet3_compring_t 94 vmxnet3_dmabuf_t dma; member in struct:vmxnet3_rxbuf_t 177 int vmxnet3_alloc_dma_mem_1(vmxnet3_softc_t *dp, vmxnet3_dmabuf_t *dma, 179 int vmxnet3_alloc_dma_mem_128(vmxnet3_softc_t *dp, vmxnet3_dmabuf_t *dma, 181 int vmxnet3_alloc_dma_mem_512(vmxnet3_softc_t *dp, vmxnet3_dmabuf_t *dma, 183 void vmxnet3_free_dma_mem(vmxnet3_dmabuf_t *dma); 248 (((Vmxnet3_GenericDesc *) (Ring)->dma.buf) + Idx)
|
H A D | vmxnet3_main.c | 293 if ((err = vmxnet3_alloc_dma_mem_512(dp, &cmdRing->dma, ringSize, 297 (void) memset(cmdRing->dma.buf, 0, ringSize); 316 if (vmxnet3_alloc_dma_mem_512(dp, &compRing->dma, ringSize, 320 (void) memset(compRing->dma.buf, 0, ringSize); 342 ASSERT(!txq->cmdRing.dma.buf && !txq->compRing.dma.buf); 347 tqdesc->conf.txRingBasePA = txq->cmdRing.dma.bufPA; 355 tqdesc->conf.compRingBasePA = txq->compRing.dma.bufPA; 370 vmxnet3_free_dma_mem(&txq->compRing.dma); 372 vmxnet3_free_dma_mem(&txq->cmdRing.dma); [all...] |
H A D | vmxnet3_rx.c | 43 if ((err = vmxnet3_alloc_dma_mem_1(dp, &rxBuf->dma, (dp->cur_mtu + 18), 64 vmxnet3_free_dma_mem(&rxBuf->dma); 203 rxBuf->mblk = desballoc((uchar_t *)rxBuf->dma.buf, 204 rxBuf->dma.bufLen, BPRI_MED, &rxBuf->freeCB); 220 rxDesc->rxd.addr = rxBuf->dma.bufPA; 221 rxDesc->rxd.len = rxBuf->dma.bufLen;
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.conf | 47 dma-max=0x20000;
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 389 rootnex_dma_t *dma, ddi_dma_attr_t *attr, ddi_dma_obj_t *dmao, int kmflag); 391 rootnex_dma_t *dma, ddi_dma_attr_t *attr); 392 static void rootnex_teardown_copybuf(rootnex_dma_t *dma); 393 static int rootnex_setup_windows(ddi_dma_impl_t *hp, rootnex_dma_t *dma, 395 static void rootnex_teardown_windows(rootnex_dma_t *dma); 396 static void rootnex_init_win(ddi_dma_impl_t *hp, rootnex_dma_t *dma, 399 rootnex_dma_t *dma, ddi_dma_cookie_t *cookie, off_t cur_offset, 402 rootnex_dma_t *dma, rootnex_window_t **windowp, ddi_dma_cookie_t *cookie, 405 rootnex_dma_t *dma, rootnex_window_t **windowp, 408 rootnex_dma_t *dma, rootnex_window_ 1723 rootnex_dma_t *dma; local 1921 rootnex_dma_t *dma; local 1977 rootnex_dma_t *dma; local 2309 rootnex_dma_t *dma; local 2396 rootnex_dma_t *dma = (rootnex_dma_t *)hp->dmai_private; local 2408 rootnex_dma_t *dma = (rootnex_dma_t *)hp->dmai_private; local 2428 rootnex_dma_t *dma = (rootnex_dma_t *)hp->dmai_private; local 2469 rootnex_dma_t *dma = (rootnex_dma_t *)hp->dmai_private; local 2503 rootnex_dma_t *dma = (rootnex_dma_t *)hp->dmai_private; local 2567 rootnex_verify_buffer(rootnex_dma_t *dma) argument 2645 rootnex_dma_t *dma; local 3255 rootnex_bind_slowpath(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq, rootnex_dma_t *dma, ddi_dma_attr_t *attr, ddi_dma_obj_t *dmao, int kmflag) argument 3469 rootnex_setup_copybuf(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq, rootnex_dma_t *dma, ddi_dma_attr_t *attr) argument 3568 rootnex_setup_windows(ddi_dma_impl_t *hp, rootnex_dma_t *dma, ddi_dma_attr_t *attr, ddi_dma_obj_t *dmao, int kmflag) argument 3743 rootnex_teardown_copybuf(rootnex_dma_t *dma) argument 3779 rootnex_teardown_windows(rootnex_dma_t *dma) argument 3798 rootnex_init_win(ddi_dma_impl_t *hp, rootnex_dma_t *dma, rootnex_window_t *window, ddi_dma_cookie_t *cookie, off_t cur_offset) argument 3825 rootnex_setup_cookie(ddi_dma_obj_t *dmar_object, rootnex_dma_t *dma, ddi_dma_cookie_t *cookie, off_t cur_offset, size_t *copybuf_used, page_t **cur_pp) argument 4072 rootnex_sgllen_window_boundary(ddi_dma_impl_t *hp, rootnex_dma_t *dma, rootnex_window_t **windowp, ddi_dma_cookie_t *cookie, ddi_dma_attr_t *attr, off_t cur_offset) argument 4212 rootnex_copybuf_window_boundary(ddi_dma_impl_t *hp, rootnex_dma_t *dma, rootnex_window_t **windowp, ddi_dma_cookie_t *cookie, off_t cur_offset, size_t *copybuf_used) argument 4454 rootnex_maxxfer_window_boundary(ddi_dma_impl_t *hp, rootnex_dma_t *dma, rootnex_window_t **windowp, ddi_dma_cookie_t *cookie) argument 4526 rootnex_dma_t *dma; local 4733 rootnex_dma_t *dma; local 4972 rootnex_dma_t *dma; local 4987 rootnex_dma_t *dma; local 5055 rootnex_dma_t *dma; local [all...] |
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394.conf | 38 active-dma-flush=1;
|
H A D | hci1394_ixl_misc.c | 103 ixl_exec_startp->compiler_privatep)->dma[0].dma_bound; 167 &xferctlp->dma[ixldepth], ixlcur->ixl_opcode, 270 hci1394_ixl_check_status(hci1394_xfer_ctl_dma_t *dma, uint16_t ixlopcode, argument 287 /* last dma descriptor in descriptor block from dma structure */ 288 hcidescp = (hci1394_desc_t *)(dma->dma_descp); 289 hcidesc_off = (off_t)hcidescp - (off_t)dma->dma_buf->bi_kaddr; 290 acc_hdl = dma->dma_buf->bi_handle; 291 dma_hdl = dma->dma_buf->bi_dma_handle; 306 /* check if status is set in last dma descripto [all...] |
H A D | hci1394_ixl_isr.c | 185 * follow execution path in IXL, until find dma descriptor in IXL 298 * Process given IXL xfer cmd, checking status of each dma descriptor block 336 * check if status is set in dma descriptor 339 if (hci1394_ixl_check_status(&xferctlp->dma[ixldepth], 346 * count dma desc blks whose status was set 347 * (i.e. advanced to next dma desc) 356 * cur IXL cmd dma desc status not set. save IXL cur cmd 364 * check if dma descriptor processing location is indeterminate 372 * set in cur dma descriptor block. (don't reset status 375 if (hci1394_ixl_check_status(&xferctlp->dma[ixldept 543 hci1394_xfer_ctl_dma_t *dma; local [all...] |
H A D | hci1394_ixl_update.c | 185 * return, if excessive risk or dma execution processing lost 584 ixlp->compiler_privatep)->dma[0].dma_bound; 604 * get the associated IXL xfer command's last dma descriptor block 609 hcidescp = (hci1394_desc_t *)xferctlp->dma[xferctlp->cnt - 1].dma_descp; 610 acc_hdl = xferctlp->dma[xferctlp->cnt - 1].dma_buf->bi_handle; 611 dma_hdl = xferctlp->dma[xferctlp->cnt - 1].dma_buf->bi_dma_handle; 628 /* set depth to last dma descriptor block & update count to 1 */ 633 * if there is only one dma descriptor block and IXL xfer command 652 * offset from last dma descriptor to first dma descripto [all...] |
H A D | hci1394_ixl_comp.c | 114 * descriptor blocks in dma memory. 257 /* error if no descriptor blocks found in ixl & created in dma memory */ 296 /* advance to next dma memory descriptor */ 302 * and all dma descriptor page memory and its dma memory blocks too. 325 ixl_exec_stp->compiler_privatep)->dma[0].dma_bound; 339 * Scan IXL program and build ohci DMA descriptor blocks in dma memory. 948 * Pass 2: Scan IXL resolving all dma descriptor jump and skip addresses. 1024 * link forward branch dma addresses of each descriptor block in 1049 xferctl_curp->dma[ [all...] |
/illumos-gate/usr/src/lib/efcode/fcdriver/ |
H A D | Makefile.com | 29 OBJECTS = ioctl.o misc.o dma.o property.o fcdebug.o phandle.o build_tree.o \
|
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_l1.c | 129 atge_dma_t *dma; local 143 dma = atge_alloc_a_dma_blk(atgep, &atge_l1_dma_attr_tx_desc, 145 if (dma == NULL) { 150 atgep->atge_tx_ring->r_desc_ring = dma; 171 dma = atge_alloc_a_dma_blk(atgep, &atge_l1_dma_attr_rx_desc, 173 if (dma == NULL) { 178 l1->atge_rx_ring->r_desc_ring = dma; 197 dma = atge_alloc_a_dma_blk(atgep, &atge_l1_dma_attr_cmb, 199 l1->atge_l1_cmb = dma; 200 if (dma 302 atge_dma_t *dma; local 340 atge_dma_t *dma; local 354 atge_dma_t *dma; local 366 atge_dma_t *dma; local 453 atge_dma_t *dma; local [all...] |
H A D | atge_l1c.c | 157 atge_dma_t *dma; local 171 dma = atge_alloc_a_dma_blk(atgep, &atge_l1c_dma_attr_tx_desc, 173 if (dma == NULL) { 178 atgep->atge_tx_ring->r_desc_ring = dma; 199 dma = atge_alloc_a_dma_blk(atgep, &atge_l1c_dma_attr_rx_desc, 201 if (dma == NULL) { 206 l1c->atge_rx_ring->r_desc_ring = dma; 225 dma = atge_alloc_a_dma_blk(atgep, &atge_l1c_dma_attr_cmb, 227 l1c->atge_l1c_cmb = dma; 228 if (dma 338 atge_dma_t *dma; local 376 atge_dma_t *dma; local 390 atge_dma_t *dma; local 402 atge_dma_t *dma; local 560 atge_dma_t *dma; local [all...] |
H A D | atge.h | 134 #define ATGE_PUT64(dma, addr, v) \ 135 ddi_put64(dma->acchdl, (addr), (v)) 137 #define ATGE_PUT32(dma, addr, v) \ 138 ddi_put32(dma->acchdl, (addr), (v)) 140 #define ATGE_GET32(dma, addr) \ 141 ddi_get32(dma->acchdl, (addr)) 143 #define ATGE_GET64(dma, addr) \ 144 ddi_get64(dma->acchdl, (addr)) 146 #define DMA_SYNC(dma, s, l, d) \ 147 (void) ddi_dma_sync(dma [all...] |
H A D | atge_l1e.c | 110 atge_dma_t *dma; local 121 dma = l1e->atge_l1e_rx_page[pages]; 122 if (dma != NULL) { 123 (void) ddi_dma_unbind_handle(dma->hdl); 124 ddi_dma_mem_free(&dma->acchdl); 125 ddi_dma_free_handle(&dma->hdl); 126 kmem_free(dma, sizeof (atge_dma_t)); 137 atge_dma_t *dma; local 154 dma = atge_alloc_a_dma_blk(atgep, &atge_l1e_dma_attr_tx_desc, 156 if (dma 289 atge_dma_t *dma; local [all...] |
H A D | atge_main.c | 1431 atge_dma_t *dma; local 1440 dma = atge_buf_alloc(r->r_atge, buflen, f); 1441 if (dma == NULL) { 1446 tbl[i] = dma; 1475 atge_dma_t *dma; local 1477 dma = kmem_zalloc(sizeof (atge_dma_t), KM_SLEEP); 1480 DDI_DMA_SLEEP, NULL, &dma->hdl); 1488 err = ddi_dma_mem_alloc(dma->hdl, 1490 &dma->addr, &dma 1518 atge_free_a_dma_blk(atge_dma_t *dma) argument 1531 atge_dma_t *dma = NULL; local 1580 atge_buf_free(atge_dma_t *dma) argument [all...] |
/illumos-gate/usr/src/cmd/fm/schemes/mem/sparc/ |
H A D | mem_disc.c | 255 dimm_map_arg_t *dma = arg; local 271 for (pm = dma->dma_pm; pm != NULL; pm = pm->pm_next) { 282 dm->dm_next = dma->dma_dm; 283 dma->dma_dm = dm; 355 dimm_map_arg_t dma; local 362 dma.dma_pm = path_map; 363 dma.dma_dm = NULL; 366 &dma)) < 0 && errno == ENOENT && path_map == NULL) { 379 if (dma.dma_dm == NULL) { 387 mem.mem_dm = dma [all...] |
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 495 nvme_check_dma_hdl(nvme_dma_t *dma) argument 499 if (dma == NULL) 502 ddi_fm_dma_err_get(dma->nd_dmah, &error, DDI_FME_VERSION); 511 nvme_free_dma_common(nvme_dma_t *dma) argument 513 if (dma->nd_dmah != NULL) 514 (void) ddi_dma_unbind_handle(dma->nd_dmah); 515 if (dma->nd_acch != NULL) 516 ddi_dma_mem_free(&dma->nd_acch); 517 if (dma->nd_dmah != NULL) 518 ddi_dma_free_handle(&dma 522 nvme_free_dma(nvme_dma_t *dma) argument 532 nvme_dma_t *dma = (nvme_dma_t *)buf; local 538 nvme_alloc_dma_common(nvme_t *nvme, nvme_dma_t *dma, size_t len, uint_t flags, ddi_dma_attr_t *dma_attr) argument 578 nvme_dma_t *dma = kmem_zalloc(sizeof (nvme_dma_t), KM_SLEEP); local 597 nvme_dma_t *dma = (nvme_dma_t *)buf; local 616 nvme_zalloc_queue_dma(nvme_t *nvme, uint32_t nentry, uint16_t qe_len, uint_t flags, nvme_dma_t **dma) argument [all...] |
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | fasdma.h | 43 * dma for now 45 struct dma { struct 47 uint32_t dma_addr; /* dma address register */ 56 #define DMA_INTPEND 0x0001 /* (R) interrupt pending from fas or dma */ 57 #define DMA_ERRPEND 0x0002 /* (R) error pending from dma */ 64 #define DMA_DMAREV 0x7800 /* (R) dma revision */ 69 #define DMA_TWO_CYCLE 0x00200000 /* (RW) 2 cycle dma access to 366 */ 85 * burst sizes for dma 93 * burst sizes for dma attr
|
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/powerpc/ |
H A D | p2020ds.dts | 287 dma@c300 { 290 compatible = "fsl,eloplus-dma"; 294 dma-channel@0 { 295 compatible = "fsl,eloplus-dma-channel"; 301 dma-channel@80 { 302 compatible = "fsl,eloplus-dma-channel"; 308 dma-channel@100 { 309 compatible = "fsl,eloplus-dma-channel"; 315 dma-channel@180 { 316 compatible = "fsl,eloplus-dma [all...] |