/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ddi.c | 48 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in fc_ddi_dma_alloc_handle() 54 return ((*funcp)(dip, dip, attr, waitfp, arg, handlep)); in fc_ddi_dma_alloc_handle() 59 uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, in fc_ddi_dma_buf_bind_handle() 72 dmareq.dmar_fp = waitfp; in fc_ddi_dma_buf_bind_handle()
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_dma.c | 250 pci_dma_allocmp(dev_info_t *dip, dev_info_t *rdip, int (*waitfp)(caddr_t), in pci_dma_allocmp() 254 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in pci_dma_allocmp() 259 if (waitfp != DDI_DMA_DONTWAIT) { in pci_dma_allocmp() 261 ddi_set_callback(waitfp, arg, &pci_kmem_clid); in pci_dma_allocmp() 584 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in pci_dma_type() local 585 uint_t flags = ((waitfp == DDI_DMA_SLEEP)? in pci_dma_type() 594 ASSERT(waitfp != DDI_DMA_SLEEP); in pci_dma_type() 595 if (waitfp != DDI_DMA_DONTWAIT) { in pci_dma_type() 596 ddi_set_callback(waitfp, in pci_dma_type() 722 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in pci_dma_vapfn() local [all …]
|
H A D | pci.c | 638 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in pci_dma_allochdl() 650 if (!(mp = pci_dma_allocmp(dip, rdip, waitfp, arg))) in pci_dma_allochdl()
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | iommulib.h | 63 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep); 134 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, 220 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), 268 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg,
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_dma.c | 59 px_dma_allocmp(dev_info_t *dip, dev_info_t *rdip, int (*waitfp)(caddr_t), in px_dma_allocmp() 63 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in px_dma_allocmp() 68 if (waitfp != DDI_DMA_DONTWAIT) { in px_dma_allocmp() 70 ddi_set_callback(waitfp, arg, &px_kmem_clid); in px_dma_allocmp() 555 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in px_dma_pfn() local 576 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP))) { in px_dma_pfn() 577 if (waitfp != DDI_DMA_DONTWAIT) in px_dma_pfn() 578 ddi_set_callback(waitfp, dmareq->dmar_arg, in px_dma_pfn() 958 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in px_dma_newwin() local 966 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP); in px_dma_newwin() [all …]
|
H A D | px_var.h | 163 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
|
H A D | px_dma.h | 209 int (*waitfp)(caddr_t), caddr_t arg);
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_vm.c | 180 ddi_device_acc_attr_t *accattrp, uint_t flags, int (*waitfp) (caddr_t), in gfxp_ddi_dma_mem_alloc() 203 e = ddi_dma_mem_alloc(handle, length, accattrp, l_flags, waitfp, in gfxp_ddi_dma_mem_alloc()
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | fcode.h | 635 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep); 637 uint_t flags, int (*waitfp)(caddr_t), caddr_t arg,
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | iommu.h | 136 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *);
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 64 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep); 647 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in niumx_dma_allochdl() 650 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in niumx_dma_allochdl() 728 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in niumx_dma_bindhdl() local 774 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP))) { in niumx_dma_bindhdl()
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | iommulib.c | 640 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), in iommulib_nexdma_allochdl() 650 attr, waitfp, arg, dma_handlep)); in iommulib_nexdma_allochdl() 755 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, in iommulib_iommu_dma_allochdl() 761 return (nexops->nops_dma_allochdl(dip, rdip, attr, waitfp, arg, in iommulib_iommu_dma_allochdl()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sunddi.h | 1319 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep); 1335 int (*waitfp)(caddr_t), caddr_t arg, caddr_t *kaddrp, 1352 int (*waitfp)(caddr_t), caddr_t arg, 1361 uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, 1525 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep); 1764 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
|
H A D | ddi_implfuncs.h | 115 extern ddi_acc_handle_t impl_acc_hdl_alloc(int (*waitfp)(caddr_t),
|
H A D | devops.h | 208 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t),
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 1266 impl_acc_hdl_alloc(int (*waitfp)(caddr_t), caddr_t arg) in impl_acc_hdl_alloc() 1272 sleepflag = ((waitfp == (int (*)())KM_SLEEP) ? KM_SLEEP : KM_NOSLEEP); in impl_acc_hdl_alloc() 1295 if ((waitfp != (int (*)())KM_SLEEP) && in impl_acc_hdl_alloc() 1296 (waitfp != (int (*)())KM_NOSLEEP)) in impl_acc_hdl_alloc() 1297 ddi_set_callback(waitfp, arg, &impl_acc_hdl_id); in impl_acc_hdl_alloc()
|
/illumos-gate/usr/src/uts/sun4u/sys/pci/ |
H A D | pci_var.h | 223 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
|
H A D | pci_dma.h | 235 int (*waitfp)(caddr_t), caddr_t arg);
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 191 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, 219 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, 1704 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, in rootnex_coredma_allochdl() 1718 if (waitfp == DDI_DMA_SLEEP) { in rootnex_coredma_allochdl() 1863 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in rootnex_dma_allochdl() 1876 retval = rootnex_coredma_allochdl(dip, rdip, attr, waitfp, arg, in rootnex_dma_allochdl() 1880 waitfp, arg, handlep); in rootnex_dma_allochdl() 1883 retval = rootnex_coredma_allochdl(dip, rdip, attr, waitfp, arg, in rootnex_dma_allochdl() 1888 if (waitfp != DDI_DMA_DONTWAIT) { in rootnex_dma_allochdl() 1889 ddi_set_callback(waitfp, arg, in rootnex_dma_allochdl()
|
H A D | isa.c | 157 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *); 556 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in isa_dma_allochdl() 559 return (ddi_dma_allochdl(dip, rdip, dma_attr, waitfp, arg, handlep)); in isa_dma_allochdl()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | ddi_i86.c | 149 impl_acc_hdl_alloc(int (*waitfp)(caddr_t), caddr_t arg) in impl_acc_hdl_alloc() 155 sleepflag = ((waitfp == (int (*)())KM_SLEEP) ? KM_SLEEP : KM_NOSLEEP); in impl_acc_hdl_alloc() 177 if ((waitfp != (int (*)())KM_SLEEP) && in impl_acc_hdl_alloc() 178 (waitfp != (int (*)())KM_NOSLEEP)) in impl_acc_hdl_alloc() 179 ddi_set_callback(waitfp, arg, &impl_acc_hdl_id); in impl_acc_hdl_alloc()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunddi.c | 698 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in ddi_dma_allochdl() 707 return ((*funcp)(dip, rdip, attr, waitfp, arg, handlep)); in ddi_dma_allochdl() 5152 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in ddi_no_dma_allochdl() 5154 _NOTE(ARGUNUSED(dip, rdip, attr, waitfp, arg, handlep)) in ddi_no_dma_allochdl() 6864 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in ddi_dma_alloc_handle() 6879 return ((*funcp)(dip, dip, &dma_attr, waitfp, arg, handlep)); in ddi_dma_alloc_handle() 6895 int (*waitfp)(caddr_t), caddr_t arg, caddr_t *kaddrp, in ddi_dma_mem_alloc() 6906 if (waitfp == DDI_DMA_SLEEP) in ddi_dma_mem_alloc() 6908 else if (waitfp == DDI_DMA_DONTWAIT) in ddi_dma_mem_alloc() 6911 fp = waitfp; in ddi_dma_mem_alloc() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | iommu.c | 736 ddi_dma_attr_t *dma_attr, int (*waitfp)(caddr_t), caddr_t arg, in iommu_dma_allochdl() 771 (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP); in iommu_dma_allochdl() 774 if (waitfp != DDI_DMA_DONTWAIT) { in iommu_dma_allochdl() 775 ddi_set_callback(waitfp, arg, in iommu_dma_allochdl()
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_var.h | 497 int warn, int (*waitfp)(caddr_t));
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.c | 204 ddi_dma_attr_t *attr_p, int (*waitfp)(caddr_t), caddr_t arg, 1751 ddi_dma_attr_t *attr_p, int (*waitfp)(caddr_t), caddr_t arg, in pcieb_dma_allochdl() 1778 if ((ret = ddi_dma_allochdl(dip, rdip, attr_p, waitfp, arg, in pcieb_dma_allochdl()
|