Home
last modified time | relevance | path

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

123456

/titanic_41/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_buf.c116 DDI_DMA_SLEEP, NULL, &buf->bu_dma_handle); in hci1394_buf_alloc()
127 &drvinfo->di_buf_attr, DDI_DMA_STREAMING, DDI_DMA_SLEEP, in hci1394_buf_alloc()
141 DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, &info->bi_cookie, in hci1394_buf_alloc()
/titanic_41/usr/src/uts/common/io/audio/drv/audiovia97/
H A Daudiovia97.c347 DDI_DMA_SLEEP, NULL, &portc->sgd_dmah) != DDI_SUCCESS) { in via97_alloc_port()
354 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &portc->sgd_kaddr, in via97_alloc_port()
362 DDI_DMA_SLEEP, NULL, &cookie, &count) != DDI_SUCCESS) { in via97_alloc_port()
369 if (ddi_dma_alloc_handle(devc->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in via97_alloc_port()
376 &buf_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in via97_alloc_port()
383 len, DDI_DMA_CONSISTENT | dir, DDI_DMA_SLEEP, NULL, &cookie, in via97_alloc_port()
/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_pci.c234 DDI_DMA_SLEEP, NULL, &dmah->dma_hdl)) { in drm_pci_alloc()
241 DDI_DMA_SLEEP, NULL, (caddr_t *)&dmah->vaddr, in drm_pci_alloc()
250 DDI_DMA_SLEEP, NULL, &dmah->cookie, &count); in drm_pci_alloc()
/titanic_41/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()
/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_dma.c115 rc = ddi_dma_alloc_handle(dip, &ata_prd_dma_attr, DDI_DMA_SLEEP, NULL, in ata_pciide_alloc()
124 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in ata_pciide_alloc()
135 DDI_DMA_SLEEP, NULL, &cookie, &count); in ata_pciide_alloc()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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 …]
/titanic_41/usr/src/uts/common/sys/dktp/
H A Dgda.h56 #define GDA_KMFLAG(callback) (((callback) == DDI_DMA_SLEEP) ? \
/titanic_41/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()
/titanic_41/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 …]
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_bus.c331 DDI_DMA_SLEEP, NULL, &sbb->sbb_dma_hdl) != DDI_SUCCESS) { in scsa1394_bus_alloc_buf_phys()
339 DDI_DMA_SLEEP, NULL, &buf->bb_kaddr, &real_length, in scsa1394_bus_alloc_buf_phys()
348 buf->bb_len, buf->bb_flags, DDI_DMA_SLEEP, NULL, in scsa1394_bus_alloc_buf_phys()
/titanic_41/usr/src/uts/common/io/virtio/
H A Dvirtio.c323 DDI_DMA_SLEEP, NULL, &entry->qe_indirect_dma_handle); in virtio_alloc_indirect()
334 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in virtio_alloc_indirect()
350 DDI_DMA_SLEEP, NULL, &entry->qe_indirect_dma_cookie, &ncookies); in virtio_alloc_indirect()
469 DDI_DMA_SLEEP, NULL, &vq->vq_dma_handle); in virtio_alloc_vq()
477 &virtio_vq_devattr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in virtio_alloc_vq()
489 DDI_DMA_SLEEP, NULL, &vq->vq_dma_cookie, &ncookies); in virtio_alloc_vq()
/titanic_41/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()
963 DDI_DMA_SLEEP, NULL, &(pRing->dma_hdl[idx])) in amd8111s_alloc_dma_ringbuf()
971 DDI_DMA_SLEEP, NULL, in amd8111s_alloc_dma_ringbuf()
985 DDI_DMA_WRITE | DDI_DMA_STREAMING, DDI_DMA_SLEEP, NULL, in amd8111s_alloc_dma_ringbuf()
/titanic_41/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()
/titanic_41/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 …]
/titanic_41/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()
583 uint_t flags = ((waitfp == DDI_DMA_SLEEP)? in pci_dma_type()
592 ASSERT(waitfp != DDI_DMA_SLEEP); in pci_dma_type()
721 uint_t flags = ((waitfp == DDI_DMA_SLEEP)? in pci_dma_vapfn()
730 ASSERT(waitfp != DDI_DMA_SLEEP); in pci_dma_vapfn()
781 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP))) { in pci_dma_pfn()
991 int sleep = dmareq->dmar_fp == DDI_DMA_SLEEP ? VM_SLEEP : VM_NOSLEEP; in pci_dvma_map()
1185 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP); in pci_dma_newwin()
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/audio/drv/audioemu10k/
H A Daudioemu10k.c922 if (ddi_dma_alloc_handle(devc->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in emu10k_alloc_port()
929 &dev_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in emu10k_alloc_port()
936 len, DDI_DMA_CONSISTENT | dir, DDI_DMA_SLEEP, in emu10k_alloc_port()
2028 if (ddi_dma_alloc_handle(devc->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in emu10k_attach()
2036 &dev_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in emu10k_attach()
2046 DDI_DMA_SLEEP, NULL, &cookie, &count) != DDI_SUCCESS) { in emu10k_attach()
2057 if (ddi_dma_alloc_handle(devc->dip, &dma_attr_buf, DDI_DMA_SLEEP, NULL, in emu10k_attach()
2065 &buf_attr, DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, in emu10k_attach()
2077 DDI_DMA_SLEEP, NULL, &cookie, &count) != DDI_SUCCESS) { in emu10k_attach()
/titanic_41/usr/src/uts/common/io/cxgbe/shared/
H A Dshared.c109 callback = DDI_DMA_SLEEP; in rxbuf_ctor()

123456