Home
last modified time | relevance | path

Searched refs:waitfp (Results 1 – 25 of 31) sorted by relevance

12

/titanic_44/usr/src/uts/sun4/io/efcode/
H A Dfc_ddi.c47 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in fc_ddi_dma_alloc_handle()
53 return ((*funcp)(dip, dip, attr, waitfp, arg, handlep)); in fc_ddi_dma_alloc_handle()
58 uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, in fc_ddi_dma_buf_bind_handle()
71 dmareq.dmar_fp = waitfp; in fc_ddi_dma_buf_bind_handle()
/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c250 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()
582 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in pci_dma_type() local
583 uint_t flags = ((waitfp == DDI_DMA_SLEEP)? in pci_dma_type()
592 ASSERT(waitfp != DDI_DMA_SLEEP); in pci_dma_type()
593 if (waitfp != DDI_DMA_DONTWAIT) { in pci_dma_type()
594 ddi_set_callback(waitfp, in pci_dma_type()
720 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in pci_dma_vapfn() local
[all …]
/titanic_44/usr/src/uts/intel/sys/
H A Diommulib.h63 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,
/titanic_44/usr/src/uts/sun4/io/px/
H A Dpx_dma.c59 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()
553 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in px_dma_pfn() local
574 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP))) { in px_dma_pfn()
575 if (waitfp != DDI_DMA_DONTWAIT) in px_dma_pfn()
576 ddi_set_callback(waitfp, dmareq->dmar_arg, in px_dma_pfn()
956 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in px_dma_newwin() local
964 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP); in px_dma_newwin()
[all …]
H A Dpx_var.h163 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
H A Dpx_dma.h209 int (*waitfp)(caddr_t), caddr_t arg);
/titanic_44/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vm.c181 ddi_device_acc_attr_t *accattrp, uint_t flags, int (*waitfp) (caddr_t), in gfxp_ddi_dma_mem_alloc()
204 e = ddi_dma_mem_alloc(handle, length, accattrp, l_flags, waitfp, in gfxp_ddi_dma_mem_alloc()
/titanic_44/usr/src/uts/sun4u/sys/
H A Diommu.h136 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *);
/titanic_44/usr/src/uts/sun4/sys/
H A Dfcode.h635 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
637 uint_t flags, int (*waitfp)(caddr_t), caddr_t arg,
/titanic_44/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c64 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()
726 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in niumx_dma_bindhdl() local
772 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP))) { in niumx_dma_bindhdl()
/titanic_44/usr/src/uts/intel/io/
H A Diommulib.c642 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), in iommulib_nexdma_allochdl()
652 attr, waitfp, arg, dma_handlep)); in iommulib_nexdma_allochdl()
757 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, in iommulib_iommu_dma_allochdl()
763 return (nexops->nops_dma_allochdl(dip, rdip, attr, waitfp, arg, in iommulib_iommu_dma_allochdl()
/titanic_44/usr/src/uts/common/sys/
H A Dsunddi.h1309 int (*waitfp)(caddr_t), caddr_t arg,
1326 int (*waitfp)(caddr_t), caddr_t arg, caddr_t *kaddrp,
1343 int (*waitfp)(caddr_t), caddr_t arg,
1352 uint_t flags, int (*waitfp)(caddr_t), caddr_t arg,
1512 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
1751 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
H A Dddi_implfuncs.h163 extern ddi_acc_handle_t impl_acc_hdl_alloc(int (*waitfp)(caddr_t),
H A Ddevops.h208 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t),
/titanic_44/usr/src/uts/sun4/os/
H A Dddi_impl.c1265 impl_acc_hdl_alloc(int (*waitfp)(caddr_t), caddr_t arg) in impl_acc_hdl_alloc()
1271 sleepflag = ((waitfp == (int (*)())KM_SLEEP) ? KM_SLEEP : KM_NOSLEEP); in impl_acc_hdl_alloc()
1294 if ((waitfp != (int (*)())KM_SLEEP) && in impl_acc_hdl_alloc()
1295 (waitfp != (int (*)())KM_NOSLEEP)) in impl_acc_hdl_alloc()
1296 ddi_set_callback(waitfp, arg, &impl_acc_hdl_id); in impl_acc_hdl_alloc()
/titanic_44/usr/src/uts/sun4u/sys/pci/
H A Dpci_var.h223 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
H A Dpci_dma.h235 int (*waitfp)(caddr_t), caddr_t arg);
/titanic_44/usr/src/uts/intel/ia32/os/
H A Dddi_i86.c149 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()
/titanic_44/usr/src/uts/i86pc/io/
H A Disa.c156 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *);
555 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in isa_dma_allochdl()
558 return (ddi_dma_allochdl(dip, rdip, dma_attr, waitfp, arg, handlep)); in isa_dma_allochdl()
H A Drootnex.c199 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg,
227 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg,
1712 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, in rootnex_coredma_allochdl()
1726 if (waitfp == DDI_DMA_SLEEP) { in rootnex_coredma_allochdl()
1871 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in rootnex_dma_allochdl()
1884 retval = rootnex_coredma_allochdl(dip, rdip, attr, waitfp, arg, in rootnex_dma_allochdl()
1888 waitfp, arg, handlep); in rootnex_dma_allochdl()
1891 retval = rootnex_coredma_allochdl(dip, rdip, attr, waitfp, arg, in rootnex_dma_allochdl()
1896 if (waitfp != DDI_DMA_DONTWAIT) { in rootnex_dma_allochdl()
1897 ddi_set_callback(waitfp, arg, in rootnex_dma_allochdl()
/titanic_44/usr/src/uts/common/os/
H A Dsunddi.c768 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in ddi_dma_allochdl()
777 return ((*funcp)(dip, rdip, attr, waitfp, arg, handlep)); in ddi_dma_allochdl()
5221 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in ddi_no_dma_allochdl()
5223 _NOTE(ARGUNUSED(dip, rdip, attr, waitfp, arg, handlep)) in ddi_no_dma_allochdl()
6946 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in ddi_dma_alloc_handle()
6961 return ((*funcp)(dip, dip, &dma_attr, waitfp, arg, handlep)); in ddi_dma_alloc_handle()
6977 int (*waitfp)(caddr_t), caddr_t arg, caddr_t *kaddrp, in ddi_dma_mem_alloc()
6988 if (waitfp == DDI_DMA_SLEEP) in ddi_dma_mem_alloc()
6990 else if (waitfp == DDI_DMA_DONTWAIT) in ddi_dma_mem_alloc()
6993 fp = waitfp; in ddi_dma_mem_alloc()
[all …]
/titanic_44/usr/src/uts/sun4u/io/
H A Diommu.c736 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()
/titanic_44/usr/src/uts/common/io/pciex/
H A Dpcieb.c87 ddi_dma_attr_t *attr_p, int (*waitfp)(caddr_t), caddr_t arg,
1446 ddi_dma_attr_t *attr_p, int (*waitfp)(caddr_t), caddr_t arg, in pcieb_dma_allochdl()
1473 if ((ret = ddi_dma_allochdl(dip, rdip, attr_p, waitfp, arg, in pcieb_dma_allochdl()
/titanic_44/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_var.h497 int warn, int (*waitfp)(caddr_t));
/titanic_44/usr/src/uts/sparc/ml/
H A Dsparc_ddi.s172 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)

12