Home
last modified time | relevance | path

Searched refs:DDI_DMA_SLEEP (Results 1 – 25 of 143) sorted by relevance

123456

/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_buf.c113 DDI_DMA_SLEEP, NULL, &buf->bu_dma_handle); in hci1394_buf_alloc()
120 &drvinfo->di_buf_attr, DDI_DMA_STREAMING, DDI_DMA_SLEEP, in hci1394_buf_alloc()
130 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &info->bi_cookie, in hci1394_buf_alloc()
/illumos-gate/usr/src/uts/common/io/audio/drv/audiovia823x/
H A Daudiovia823x.c408 DDI_DMA_SLEEP, NULL, &portc->sgd_dmah) != DDI_SUCCESS) { in auvia_alloc_port()
414 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &portc->sgd_kaddr, in auvia_alloc_port()
422 DDI_DMA_SLEEP, NULL, &cookie, &count) != DDI_SUCCESS) { in auvia_alloc_port()
429 if (ddi_dma_alloc_handle(devc->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in auvia_alloc_port()
436 &buf_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in auvia_alloc_port()
443 len, DDI_DMA_CONSISTENT | dir, DDI_DMA_SLEEP, NULL, &cookie, in auvia_alloc_port()
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_dma.c289 memcb = DDI_DMA_SLEEP; in mlxcx_dma_init()
317 memcb = DDI_DMA_SLEEP; in mlxcx_dma_bind_mblk()
358 memcb = DDI_DMA_SLEEP; in mlxcx_dma_alloc()
414 memcb = DDI_DMA_SLEEP; in mlxcx_dma_alloc_offset()
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_dma.c113 rc = ddi_dma_alloc_handle(dip, &ata_prd_dma_attr, DDI_DMA_SLEEP, NULL, in ata_pciide_alloc()
122 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in ata_pciide_alloc()
133 DDI_DMA_SLEEP, NULL, &cookie, &count); in ata_pciide_alloc()
/illumos-gate/usr/src/uts/common/io/audio/drv/audioixp/
H A Daudioixp.c747 rc = ddi_dma_alloc_handle(dip, &sample_buf_dma_attr, DDI_DMA_SLEEP, in audioixp_alloc_port()
755 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &port->samp_kaddr, in audioixp_alloc_port()
765 DDI_DMA_SLEEP, NULL, &cookie, &count); in audioixp_alloc_port()
777 rc = ddi_dma_alloc_handle(dip, &bdlist_dma_attr, DDI_DMA_SLEEP, in audioixp_alloc_port()
789 &dev_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in audioixp_alloc_port()
797 port->bdl_size, DDI_DMA_WRITE|DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, in audioixp_alloc_port()
/illumos-gate/usr/src/uts/common/io/audio/drv/audio1575/
H A Daudio1575.c868 rc = ddi_dma_alloc_handle(dip, &sample_buf_dma_attr, DDI_DMA_SLEEP, in audio1575_alloc_port()
876 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &port->samp_kaddr, in audio1575_alloc_port()
886 DDI_DMA_SLEEP, NULL, &cookie, &count); in audio1575_alloc_port()
898 rc = ddi_dma_alloc_handle(dip, &bdlist_dma_attr, DDI_DMA_SLEEP, in audio1575_alloc_port()
910 &dev_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in audio1575_alloc_port()
935 port->bdl_size, DDI_DMA_WRITE|DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, in audio1575_alloc_port()
/illumos-gate/usr/src/uts/common/io/audio/drv/audio810/
H A Daudio810.c1100 rc = ddi_dma_alloc_handle(dip, &sample_buf_dma_attr, DDI_DMA_SLEEP, in audio810_alloc_port()
1108 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &port->samp_kaddr, in audio810_alloc_port()
1119 DDI_DMA_SLEEP, NULL, &cookie, &count); in audio810_alloc_port()
1131 rc = ddi_dma_alloc_handle(dip, &bdlist_dma_attr, DDI_DMA_SLEEP, in audio810_alloc_port()
1143 &dev_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in audio810_alloc_port()
1151 port->bdl_size, DDI_DMA_WRITE|DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, in audio810_alloc_port()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c497 DDI_DMA_SLEEP, NULL, &dmahdl); in hermon_check_iommu_bypass()
512 DDI_DMA_SLEEP, NULL, (caddr_t *)&kaddr, &actual_len, &acc_hdl); in hermon_check_iommu_bypass()
522 DDI_DMA_RDWR, DDI_DMA_SLEEP, NULL, &cookie, &cookiecnt); in hermon_check_iommu_bypass()
/illumos-gate/usr/src/uts/sun4/os/
H A Ddvma.c148 (void) ddi_dma_alloc_handle(HD, &dma_attr, DDI_DMA_SLEEP, NULL, in dvma_kaddr_load()
151 DDI_DMA_RDWR, DDI_DMA_SLEEP, NULL, cp, &ccnt); in dvma_kaddr_load()
/illumos-gate/usr/src/uts/common/io/afe/
H A Dafe.c1563 DDI_DMA_SLEEP, NULL, &txb->txb_dmah) != DDI_SUCCESS) { in afe_alloctxbuf()
1568 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &txb->txb_buf, &len, in afe_alloctxbuf()
1573 len, DDI_DMA_WRITE | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, in afe_alloctxbuf()
1607 DDI_DMA_SLEEP, NULL, &rxb->rxb_dmah) != DDI_SUCCESS) { in afe_allocrxbuf()
1612 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &rxb->rxb_buf, &len, in afe_allocrxbuf()
1619 DDI_DMA_READ | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &dmac, in afe_allocrxbuf()
1659 DDI_DMA_SLEEP, NULL, &afep->afe_rxdesc_dmah); in afe_allocrxring()
1667 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &kaddr, &len, in afe_allocrxring()
1676 size, DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in afe_allocrxring()
1723 DDI_DMA_SLEEP, NULL, &afep->afe_txdesc_dmah); in afe_alloctxring()
[all …]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c637 DDI_DMA_SLEEP, in amr_setup_mbox()
649 DDI_DMA_SLEEP, in amr_setup_mbox()
666 DDI_DMA_SLEEP, in amr_setup_mbox()
1098 DDI_DMA_SLEEP, in amr_setup_sg()
1111 DDI_DMA_SLEEP, NULL, in amr_setup_sg()
1128 DDI_DMA_SLEEP, in amr_setup_sg()
1231 &addr_dma_attr, DDI_DMA_SLEEP, NULL, in amr_enquiry_mapcmd()
1244 DDI_DMA_SLEEP, in amr_enquiry_mapcmd()
1259 DDI_DMA_SLEEP, NULL, &ac->buffer_dma_cookie, in amr_enquiry_mapcmd()
1353 cb = (callback == NULL_FUNC) ? DDI_DMA_DONTWAIT : DDI_DMA_SLEEP; in amr_mapcmd()
[all …]
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dgda.h56 #define GDA_KMFLAG(callback) (((callback) == DDI_DMA_SLEEP) ? \
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_qinv.c419 &qinv_dma_attr, DDI_DMA_SLEEP, NULL, in qinv_setup()
427 &qinv_dma_attr, DDI_DMA_SLEEP, NULL, in qinv_setup()
442 DDI_DMA_SLEEP, in qinv_setup()
469 DDI_DMA_SLEEP, in qinv_setup()
/illumos-gate/usr/src/uts/common/io/pcn/
H A Dpcn.c1550 if (ddi_dma_alloc_handle(pcnp->pcn_dip, &pcn_dma_attr, DDI_DMA_SLEEP, in pcn_allocbuf()
1557 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &buf->pb_buf, &len, in pcn_allocbuf()
1564 DDI_DMA_READ | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &dmac, in pcn_allocbuf()
1587 rval = ddi_dma_alloc_handle(pcnp->pcn_dip, &pcn_dma_attr, DDI_DMA_SLEEP, in pcn_alloctxring()
1596 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &kaddr, &len, in pcn_alloctxring()
1605 size, DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &dmac, in pcn_alloctxring()
1645 DDI_DMA_SLEEP, NULL, &pcnp->pcn_rxdesc_dmah); in pcn_allocrxring()
1653 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &kaddr, &len, in pcn_allocrxring()
1662 size, DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &dmac, in pcn_allocrxring()
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_main.c776 if (ddi_dma_alloc_handle(devinfo, &pcn_desc_dma_attr_t, DDI_DMA_SLEEP, in amd8111s_allocate_descriptors()
786 &pcn_acc_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, in amd8111s_allocate_descriptors()
799 DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, in amd8111s_allocate_descriptors()
824 if (ddi_dma_alloc_handle(devinfo, &pcn_desc_dma_attr_t, DDI_DMA_SLEEP, in amd8111s_allocate_descriptors()
833 &pcn_acc_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, in amd8111s_allocate_descriptors()
845 DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, in amd8111s_allocate_descriptors()
962 DDI_DMA_SLEEP, NULL, &(pRing->dma_hdl[idx])) in amd8111s_alloc_dma_ringbuf()
970 DDI_DMA_SLEEP, NULL, in amd8111s_alloc_dma_ringbuf()
984 DDI_DMA_WRITE | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, in amd8111s_alloc_dma_ringbuf()
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_bus.c329 DDI_DMA_SLEEP, NULL, &sbb->sbb_dma_hdl) != DDI_SUCCESS) { in scsa1394_bus_alloc_buf_phys()
337 DDI_DMA_SLEEP, NULL, &buf->bb_kaddr, &real_length, in scsa1394_bus_alloc_buf_phys()
346 buf->bb_len, buf->bb_flags, DDI_DMA_SLEEP, NULL, in scsa1394_bus_alloc_buf_phys()
/illumos-gate/usr/src/uts/common/io/mxfe/
H A Dmxfe.c1909 DDI_DMA_SLEEP, NULL, &txb->txb_dmah) != DDI_SUCCESS) { in mxfe_alloctxbuf()
1914 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &txb->txb_buf, in mxfe_alloctxbuf()
1919 len, DDI_DMA_WRITE | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, in mxfe_alloctxbuf()
1953 DDI_DMA_SLEEP, NULL, &rxb->rxb_dmah) != DDI_SUCCESS) { in mxfe_allocrxbuf()
1958 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, in mxfe_allocrxbuf()
1965 DDI_DMA_READ | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &dmac, in mxfe_allocrxbuf()
2005 DDI_DMA_SLEEP, NULL, &mxfep->mxfe_rxdesc_dmah); in mxfe_allocrxring()
2013 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &kaddr, &len, in mxfe_allocrxring()
2022 size, DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in mxfe_allocrxring()
2069 DDI_DMA_SLEEP, NULL, &mxfep->mxfe_txdesc_dmah); in mxfe_alloctxring()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_chan.c558 DDI_DMA_SLEEP, NULL, &channel->ic_cmpl_dma_handle); in ioat_completion_alloc()
565 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in ioat_completion_alloc()
574 DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in ioat_completion_alloc()
656 DDI_DMA_SLEEP, NULL, &channel->ic_desc_dma_handle); in ioat_ring_alloc()
670 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in ioat_ring_alloc()
678 DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in ioat_ring_alloc()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c254 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in pci_dma_allocmp()
585 uint_t flags = ((waitfp == DDI_DMA_SLEEP)? in pci_dma_type()
594 ASSERT(waitfp != DDI_DMA_SLEEP); in pci_dma_type()
723 uint_t flags = ((waitfp == DDI_DMA_SLEEP)? in pci_dma_vapfn()
732 ASSERT(waitfp != DDI_DMA_SLEEP); in pci_dma_vapfn()
783 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP))) { in pci_dma_pfn()
993 int sleep = dmareq->dmar_fp == DDI_DMA_SLEEP ? VM_SLEEP : VM_NOSLEEP; in pci_dvma_map()
1187 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP); in pci_dma_newwin()
/illumos-gate/usr/src/uts/common/io/audio/drv/audiop16x/
H A Daudiop16x.c417 if (ddi_dma_alloc_handle(dev->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in p16x_alloc_port()
424 &buf_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in p16x_alloc_port()
431 len, DDI_DMA_CONSISTENT | dir, DDI_DMA_SLEEP, NULL, &cookie, in p16x_alloc_port()
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/
H A Daudioemu10k.c927 if (ddi_dma_alloc_handle(devc->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in emu10k_alloc_port()
934 &dev_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in emu10k_alloc_port()
941 len, DDI_DMA_CONSISTENT | dir, DDI_DMA_SLEEP, in emu10k_alloc_port()
2035 if (ddi_dma_alloc_handle(devc->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in emu10k_attach()
2043 &dev_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in emu10k_attach()
2053 DDI_DMA_SLEEP, NULL, &cookie, &count) != DDI_SUCCESS) { in emu10k_attach()
2064 if (ddi_dma_alloc_handle(devc->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in emu10k_attach()
2072 &buf_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in emu10k_attach()
2084 DDI_DMA_SLEEP, NULL, &cookie, &count) != DDI_SUCCESS) { in emu10k_attach()
/illumos-gate/usr/src/uts/common/io/efe/
H A Defe.c1158 if (ddi_dma_alloc_handle(dip, &efe_dma_attr, DDI_DMA_SLEEP, NULL, in efe_ring_alloc()
1165 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, (caddr_t *)&rp->r_descp, in efe_ring_alloc()
1172 DESCSZ(len), DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, in efe_ring_alloc()
1235 if (ddi_dma_alloc_handle(dip, &efe_dma_attr, DDI_DMA_SLEEP, NULL, in efe_buf_alloc()
1242 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &bp->b_kaddr, &rlen, in efe_buf_alloc()
1249 len, DDI_DMA_RDWR | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, in efe_buf_alloc()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_util.c496 DDI_DMA_SLEEP, 0, &d->handle) != DDI_SUCCESS) in pqi_alloc_single()
500 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, 0, in pqi_alloc_single()
506 DDI_DMA_RDWR, DDI_DMA_SLEEP, 0, &cookie, &d->cookie_count) != in pqi_alloc_single()
/illumos-gate/usr/src/uts/common/sys/
H A Dddidmareq.h512 #define DDI_DMA_SLEEP ((int (*)(caddr_t))1) macro
/illumos-gate/usr/src/uts/common/io/cxgbe/shared/
H A Dshared.c113 callback = DDI_DMA_SLEEP; in rxbuf_ctor()

123456