Searched defs:waitfp (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_ddi.c47 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
53 return ((*funcp)(dip, dip, attr, waitfp, arg, handlep));
58 uint_t flags, int (*waitfp)(caddr_t), caddr_t arg,
71 dmareq.dmar_fp = waitfp;
46 fc_ddi_dma_alloc_handle(dev_info_t *dip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
57 fc_ddi_dma_buf_bind_handle(ddi_dma_handle_t handle, struct buf *bp, uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c906 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
918 if (!(mp = px_dma_allocmp(dip, rdip, waitfp, arg)))
905 px_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
H A Dpx_dma.c59 px_dma_allocmp(dev_info_t *dip, dev_info_t *rdip, int (*waitfp)(caddr_t), argument
63 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP;
68 if (waitfp != DDI_DMA_DONTWAIT) {
70 ddi_set_callback(waitfp, arg, &px_kmem_clid);
553 int (*waitfp)(caddr_t) = dmareq->dmar_fp;
574 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP))) {
575 if (waitfp != DDI_DMA_DONTWAIT)
576 ddi_set_callback(waitfp, dmareq->dmar_arg,
956 int (*waitfp)(caddr_t) = dmareq->dmar_fp;
964 waitfp
[all...]
/illumos-gate/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)
650 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP;
726 int (*waitfp)(caddr_t) = dmareq->dmar_fp;
772 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP))) {
646 niumx_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci.c636 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
648 if (!(mp = pci_dma_allocmp(dip, rdip, waitfp, arg)))
635 pci_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
H A Dpci_dma.c250 pci_dma_allocmp(dev_info_t *dip, dev_info_t *rdip, int (*waitfp)(caddr_t), argument
254 int sleep = (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP;
259 if (waitfp != DDI_DMA_DONTWAIT) {
261 ddi_set_callback(waitfp, arg, &pci_kmem_clid);
582 int (*waitfp)(caddr_t) = dmareq->dmar_fp;
583 uint_t flags = ((waitfp == DDI_DMA_SLEEP)?
592 ASSERT(waitfp != DDI_DMA_SLEEP);
593 if (waitfp != DDI_DMA_DONTWAIT) {
594 ddi_set_callback(waitfp,
720 int (*waitfp)(caddr_
[all...]
/illumos-gate/usr/src/uts/intel/io/
H A Diommulib.c642 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t),
652 attr, waitfp, arg, dma_handlep));
757 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg,
763 return (nexops->nops_dma_allochdl(dip, rdip, attr, waitfp, arg,
641 iommulib_nexdma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep) argument
756 iommulib_iommu_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.c46 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep);
1478 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep)
1480 return (iommulib_iommu_dma_allochdl(dip, rdip, attr, waitfp,
1476 amd_iommu_allochdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep) argument
/illumos-gate/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)
558 return (ddi_dma_allochdl(dip, rdip, dma_attr, waitfp, arg, handlep));
554 isa_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *dma_attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
H A Dimmu_dvma.c92 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep);
3056 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep)
3062 ret = iommulib_iommu_dma_allochdl(dip, rdip, attr, waitfp,
3068 waitfp == DDI_DMA_SLEEP ? KM_SLEEP : KM_NOSLEEP);
3054 immu_allochdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep) argument
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,
1717 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg,
1731 if (waitfp == DDI_DMA_SLEEP) {
1876 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
1889 retval = rootnex_coredma_allochdl(dip, rdip, attr, waitfp, arg,
1893 waitfp, arg, handlep);
1896 retval = rootnex_coredma_allochdl(dip, rdip, attr, waitfp, arg,
1901 if (waitfp != DDI_DMA_DONTWAIT) {
1902 ddi_set_callback(waitfp, ar
1716 rootnex_coredma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
1875 rootnex_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Diommu.c736 ddi_dma_attr_t *dma_attr, int (*waitfp)(caddr_t), caddr_t arg,
771 (waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP);
774 if (waitfp != DDI_DMA_DONTWAIT) {
775 ddi_set_callback(waitfp, arg,
735 iommu_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *dma_attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dddi_i86.c149 impl_acc_hdl_alloc(int (*waitfp)(caddr_t), caddr_t arg) argument
155 sleepflag = ((waitfp == (int (*)())KM_SLEEP) ? KM_SLEEP : KM_NOSLEEP);
177 if ((waitfp != (int (*)())KM_SLEEP) &&
178 (waitfp != (int (*)())KM_NOSLEEP))
179 ddi_set_callback(waitfp, arg, &impl_acc_hdl_id);
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.c96 ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg,
1907 int (*waitfp)(caddr_t), caddr_t arg,
1924 return (ddi_dma_allochdl(dip, rdip, attr, waitfp, arg, handlep));
1906 cardbus_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/illumos-gate/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,
1473 if ((ret = ddi_dma_allochdl(dip, rdip, attr_p, waitfp, arg,
1445 pcieb_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr_p, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c1265 impl_acc_hdl_alloc(int (*waitfp)(caddr_t), caddr_t arg) argument
1271 sleepflag = ((waitfp == (int (*)())KM_SLEEP) ? KM_SLEEP : KM_NOSLEEP);
1294 if ((waitfp != (int (*)())KM_SLEEP) &&
1295 (waitfp != (int (*)())KM_NOSLEEP))
1296 ddi_set_callback(waitfp, arg, &impl_acc_hdl_id);
/illumos-gate/usr/src/uts/common/io/
H A Dbofi.c3342 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
3356 waitfp, arg, handlep));
3362 ((waitfp == DDI_DMA_SLEEP) ? KM_SLEEP : KM_NOSLEEP));
3367 if (waitfp != DDI_DMA_DONTWAIT)
3368 (void) timeout((void (*)())waitfp, arg, 10);
3379 retval = save_bus_ops.bus_dma_allochdl(dip, rdip, attrp, waitfp, arg,
3341 bofi_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c768 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
777 return ((*funcp)(dip, rdip, attr, waitfp, arg, handlep));
5221 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
5223 _NOTE(ARGUNUSED(dip, rdip, attr, waitfp, arg, handlep))
6946 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
6961 return ((*funcp)(dip, dip, &dma_attr, waitfp, arg, handlep));
6977 int (*waitfp)(caddr_t), caddr_t arg, caddr_t *kaddrp,
6988 if (waitfp == DDI_DMA_SLEEP)
6990 else if (waitfp == DDI_DMA_DONTWAIT)
6993 fp = waitfp;
767 ddi_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
5220 ddi_no_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
6945 ddi_dma_alloc_handle(dev_info_t *dip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
6975 ddi_dma_mem_alloc(ddi_dma_handle_t handle, size_t length, ddi_device_acc_attr_t *accattrp, uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, caddr_t *kaddrp, size_t *real_length, ddi_acc_handle_t *handlep) argument
7068 ddi_dma_buf_bind_handle(ddi_dma_handle_t handle, struct buf *bp, uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
7124 ddi_dma_addr_bind_handle(ddi_dma_handle_t handle, struct as *as, caddr_t addr, size_t len, uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
[all...]

Completed in 1030 milliseconds