/illumos-gate/usr/src/uts/intel/sys/ |
H A D | iommulib.h | 59 int (*ilops_probe)(iommulib_handle_t handle, dev_info_t *rdip); 62 dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, 66 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 69 dev_info_t *rdip, ddi_dma_handle_t dma_handle, 74 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 77 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, 81 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, 86 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, 90 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, 133 int (*nops_dma_allochdl)(dev_info_t *dip, dev_info_t *rdip, [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | pci_intr_lib.h | 39 extern int pci_msi_get_cap(dev_info_t *rdip, int type, int *flagsp); 40 extern int pci_msi_configure(dev_info_t *rdip, int type, int count, 42 extern int pci_msi_unconfigure(dev_info_t *rdip, int type, int inum); 43 extern int pci_is_msi_enabled(dev_info_t *rdip, int type); 44 extern int pci_msi_enable_mode(dev_info_t *rdip, int type); 45 extern int pci_msi_disable_mode(dev_info_t *rdip, int type); 46 extern int pci_msi_set_mask(dev_info_t *rdip, int type, int inum); 47 extern int pci_msi_clr_mask(dev_info_t *rdip, int type, int inum); 48 extern int pci_msi_get_pending(dev_info_t *rdip, int type, int inum, 50 extern int pci_msi_get_nintrs(dev_info_t *rdip, int type, int *nintrs); [all …]
|
H A D | devops.h | 179 int (*bus_map)(dev_info_t *dip, dev_info_t *rdip, 188 ddi_intrspec_t (*bus_get_intrspec)(dev_info_t *dip, dev_info_t *rdip, 191 dev_info_t *rdip, ddi_intrspec_t intrspec, 197 dev_info_t *rdip, ddi_intrspec_t intrspec, 200 int (*bus_map_fault)(dev_info_t *dip, dev_info_t *rdip, 204 int (*bus_dma_map)(dev_info_t *dip, dev_info_t *rdip, 207 int (*bus_dma_allochdl)(dev_info_t *dip, dev_info_t *rdip, 210 int (*bus_dma_freehdl)(dev_info_t *dip, dev_info_t *rdip, 212 int (*bus_dma_bindhdl)(dev_info_t *dip, dev_info_t *rdip, 215 int (*bus_dma_unbindhdl)(dev_info_t *dip, dev_info_t *rdip, [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pci_intr_lib.c | 155 pci_msi_get_cap(dev_info_t *rdip, int type, int *flagsp) in pci_msi_get_cap() argument 161 (void *)rdip)); in pci_msi_get_cap() 165 if (pci_get_msi_ctrl(rdip, type, &msi_ctrl, in pci_msi_get_cap() 200 pci_msi_configure(dev_info_t *rdip, int type, int count, int inum, in pci_msi_configure() argument 208 (void *)rdip, type, count, inum, addr, data)); in pci_msi_configure() 210 if (pci_get_msi_ctrl(rdip, type, &msi_ctrl, in pci_msi_configure() 250 ddi_intr_msix_t *msix_p = i_ddi_get_msix(rdip); in pci_msi_configure() 294 pci_msi_unconfigure(dev_info_t *rdip, int type, int inum) in pci_msi_unconfigure() argument 300 "inum 0x%x\n", (void *)rdip, type, inum)); in pci_msi_unconfigure() 302 if (pci_get_msi_ctrl(rdip, type, &msi_ctrl, &caps_ptr, &h) != in pci_msi_unconfigure() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_dvma.c | 77 dev_info_t *rdip, immu_flags_t immu_flags); 78 static immu_devi_t *create_immu_devi(dev_info_t *rdip, int bus, 82 uint64_t nvpages, immu_dcookie_t *dcookies, int dcount, dev_info_t *rdip, 93 dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, 96 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 98 dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dma_req, 101 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle); 103 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, 106 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, 109 dev_info_t *rdip, ddi_dma_handle_t dma_handle, [all …]
|
H A D | isa.c | 152 isa_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 167 isa_intr_ops(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_op_t intr_op, 499 isa_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in isa_bus_map() argument 508 return (i_ddi_bus_map(dip, rdip, mp, offset, len, vaddrp)); in isa_bus_map() 519 rp = i_ddi_rnumber_to_regspec(rdip, rnumber); in isa_bus_map() 555 isa_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *dma_attr, in isa_dma_allochdl() argument 559 return (ddi_dma_allochdl(dip, rdip, dma_attr, waitfp, arg, handlep)); in isa_dma_allochdl() 563 isa_dma_mctl(dev_info_t *dip, dev_info_t *rdip, in isa_dma_mctl() argument 573 return (i_dmae_prog(rdip, (struct ddi_dmae_req *)offp, in isa_dma_mctl() 577 return (i_dmae_acquire(rdip, arg, (int(*)(caddr_t))offp, in isa_dma_mctl() [all …]
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px.c | 725 px_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in px_map() argument 735 ddi_driver_name(rdip), ddi_get_instance(rdip)); in px_map() 749 if (ddi_getlongprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS, in px_map() 794 if (rval = px_reloc_reg(dip, rdip, px_p, rp)) in px_map() 815 if (DDI_FM_ACC_ERR_CAP(ddi_fm_capable(rdip))) in px_map() 816 px_fm_acc_setup(mp, rdip, rp); in px_map() 837 px_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, in px_dma_setup() argument 846 ddi_driver_name(rdip), ddi_get_instance(rdip), in px_dma_setup() 849 mp = px_dma_lmts2hdl(dip, rdip, mmu_p, dmareq); in px_dma_setup() 883 ddi_driver_name(rdip), ddi_get_instance(rdip), in px_dma_setup() [all …]
|
H A D | px_intr.c | 465 px_get_my_childs_dip(dev_info_t *dip, dev_info_t *rdip) in px_get_my_childs_dip() argument 467 dev_info_t *cdip = rdip; in px_get_my_childs_dip() 477 px_intx_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, in px_intx_ops() argument 484 "handle=%p\n", dip, rdip, intr_op, hdlp); in px_intx_ops() 488 ret = pci_intx_get_cap(rdip, (int *)result); in px_intx_ops() 501 hdlp->ih_pri : pci_class_to_pil(rdip); in px_intx_ops() 506 ret = px_add_intx_intr(dip, rdip, hdlp); in px_intx_ops() 509 ret = px_rem_intx_intr(dip, rdip, hdlp); in px_intx_ops() 519 ret = px_ib_update_intr_state(px_p, rdip, hdlp->ih_inum, in px_intx_ops() 523 ret = px_ib_update_intr_state(px_p, rdip, hdlp->ih_inum, in px_intx_ops() [all …]
|
H A D | px_intr.h | 33 extern dev_info_t *px_get_my_childs_dip(dev_info_t *dip, dev_info_t *rdip); 35 extern int px_intx_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t op, 37 extern int px_msix_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t op, 40 extern int px_add_intx_intr(dev_info_t *dip, dev_info_t *rdip, 42 extern int px_rem_intx_intr(dev_info_t *dip, dev_info_t *rdip, 45 extern int px_add_msiq_intr(dev_info_t *dip, dev_info_t *rdip, 48 extern int px_rem_msiq_intr(dev_info_t *dip, dev_info_t *rdip,
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci.c | 485 pci_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in pci_map() argument 495 ddi_driver_name(rdip), ddi_get_instance(rdip)); in pci_map() 509 if (ddi_getlongprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS, in pci_map() 526 if (rval = pci_reloc_reg(dip, rdip, pci_p, rp)) in pci_map() 547 DDI_FM_ACC_ERR_CAP(ddi_fm_capable(rdip)) && in pci_map() 550 pci_fm_acc_setup(mp, rdip); in pci_map() 571 pci_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, in pci_dma_setup() argument 580 ddi_driver_name(rdip), ddi_get_instance(rdip), in pci_dma_setup() 583 if (!(mp = pci_dma_lmts2hdl(dip, rdip, iommu_p, dmareq))) in pci_dma_setup() 615 ddi_driver_name(rdip), ddi_get_instance(rdip), in pci_dma_setup() [all …]
|
H A D | pci_intr.c | 143 map_pcidev_cfg_reg(dev_info_t *dip, dev_info_t *rdip, ddi_acc_handle_t *hdl_p) in map_pcidev_cfg_reg() argument 150 for (cdip = rdip; cdip && cdip != dip; cdip = ddi_get_parent(cdip)) { in map_pcidev_cfg_reg() 157 ddi_driver_name(rdip), ddi_get_instance(rdip), in map_pcidev_cfg_reg() 365 get_my_childs_dip(dev_info_t *dip, dev_info_t *rdip) in get_my_childs_dip() argument 367 dev_info_t *cdip = rdip; in get_my_childs_dip() 451 pci_add_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) in pci_add_intr() argument 468 ddi_driver_name(rdip), ddi_get_instance(rdip), ino); in pci_add_intr() 479 mondo = pci_xlate_intr(dip, rdip, ib_p, ino); in pci_add_intr() 504 if ((mondo = pci_xlate_intr(dip, rdip, pci_p->pci_ib_p, ino)) == 0) in pci_add_intr() 510 ih_p = ib_alloc_ih(rdip, hdlp->ih_inum, in pci_add_intr() [all …]
|
H A D | pci_reloc.c | 101 dev_info_t *rdip = mp->dmai_rdip; in pci_dvma_postrelocator() local 109 DEBUG0(DBG_RELOC, rdip, "postrelocator called\n"); in pci_dvma_postrelocator() 138 DEBUG3(DBG_RELOC, rdip, "index 0x%x, vaddr 0x%llx, baseva 0x%llx\n", in pci_dvma_postrelocator() 142 DEBUG2(DBG_RELOC, rdip, "pfn remap (1) 0x%x -> 0x%x\n", in pci_dvma_postrelocator() 146 DEBUG3(DBG_RELOC, rdip, "pfn remap (%d) 0x%x -> 0x%x\n", in pci_dvma_postrelocator() 151 if (ddi_dma_mctl(rdip, rdip, (ddi_dma_handle_t)mp, DDI_DMA_REMAP, in pci_dvma_postrelocator() 154 if (ddi_ctlops(rdip, rdip, DDI_CTLOPS_UNQUIESCE, NULL, NULL) != in pci_dvma_postrelocator() 190 pci_dvma_remap(dev_info_t *dip, dev_info_t *rdip, ddi_dma_impl_t *mp, in pci_dvma_remap() argument 285 dev_info_t *rdip = mp->dmai_rdip; in pci_fdvma_postrelocator() local 292 DEBUG0(DBG_RELOC, rdip, "fdvma postrelocator called\n"); in pci_fdvma_postrelocator() [all …]
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | iommulib.c | 545 iommulib_nex_open(dev_info_t *dip, dev_info_t *rdip) in iommulib_nex_open() argument 548 int instance = ddi_get_instance(rdip); in iommulib_nex_open() 549 const char *driver = ddi_driver_name(rdip); in iommulib_nex_open() 553 ASSERT(DEVI(rdip)->devi_iommulib_handle == NULL); in iommulib_nex_open() 557 DEVI(rdip)->devi_iommulib_handle = IOMMU_HANDLE_UNUSED; in iommulib_nex_open() 569 if (unitp->ilu_ops->ilops_probe(unitp, rdip) == DDI_SUCCESS) in iommulib_nex_open() 579 instance, (void *)rdip, ddi_pathname(rdip, buf)); in iommulib_nex_open() 582 DEVI(rdip)->devi_iommulib_handle = IOMMU_HANDLE_UNUSED; in iommulib_nex_open() 589 DEVI(rdip)->devi_iommulib_handle = unitp; in iommulib_nex_open() 599 iommulib_nex_close(dev_info_t *rdip) in iommulib_nex_close() argument [all …]
|
/illumos-gate/usr/src/uts/common/io/pci-ide/ |
H A D | pci-ide.c | 87 static int pciide_bus_map(dev_info_t *dip, dev_info_t *rdip, 91 static int pciide_ddi_ctlops(dev_info_t *dip, dev_info_t *rdip, 95 static int pciide_get_pri(dev_info_t *dip, dev_info_t *rdip, 98 static int pciide_intr_ops(dev_info_t *dip, dev_info_t *rdip, 102 static struct intrspec *pciide_get_ispec(dev_info_t *dip, dev_info_t *rdip, 289 pciide_ddi_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, in pciide_ddi_ctlops() argument 323 if (strcmp("0", ddi_get_name_addr(rdip)) == 0) in pciide_ddi_ctlops() 400 return (ddi_ctlops(dip, rdip, ctlop, arg, result)); in pciide_ddi_ctlops() 541 pciide_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in pciide_bus_map() argument 551 if (strcmp("0", ddi_get_name_addr(rdip)) == 0) in pciide_bus_map() [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | nx1394.c | 47 static int nx1394_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, 51 static int nx1394_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, 54 static int nx1394_get_event_cookie(dev_info_t *dip, dev_info_t *rdip, 57 static int nx1394_add_eventcall(dev_info_t *dip, dev_info_t *rdip, 63 static int nx1394_post_event(dev_info_t *dip, dev_info_t *rdip, 132 nx1394_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, in nx1394_bus_ctl() argument 139 dev_info_t *pdip = ddi_get_parent(rdip); in nx1394_bus_ctl() 141 ddi_node_name(rdip), ddi_get_instance(rdip), in nx1394_bus_ctl() 220 status = ddi_ctlops(dip, rdip, op, arg, result); in nx1394_bus_ctl() 243 op, ddi_node_name(rdip), ddi_get_instance(rdip)); in nx1394_bus_ctl() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | upa64s.c | 54 upa64s_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 57 upa64s_ctlops(dev_info_t *dip, dev_info_t *rdip, 60 upa64_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, 63 upa64s_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, 66 upa64s_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, 492 upa64s_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in upa64s_map() argument 507 ddi_get_name(rdip), ddi_get_instance(rdip)); in upa64s_map() 523 ddi_get_name(rdip), ddi_get_instance(rdip), in upa64s_map() 536 ddi_get_name(rdip), ddi_get_instance(rdip), in upa64s_map() 541 rval = get_reg_set(dip, rdip, rnumber, off, len, ®spec); in upa64s_map() [all …]
|
H A D | sbbc.c | 113 static int sbbc_busmap(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 115 static int sbbc_ctlops(dev_info_t *dip, dev_info_t *rdip, 118 static int sbbc_intr_ops(dev_info_t *dip, dev_info_t *rdip, 120 static int sbbc_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, 122 static int sbbc_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, 124 static int sbbc_update_intr_state(dev_info_t *dip, dev_info_t *rdip, 127 static int sbbc_apply_range(struct sbbcsoft *sbbc_p, dev_info_t *rdip, 512 sbbc_busmap(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in sbbc_busmap() argument 525 ddi_driver_name(rdip), mp->map_type, off, len); in sbbc_busmap() 557 if (ddi_getlongprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS, in sbbc_busmap() [all …]
|
H A D | mach_rootnex.c | 58 rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, 62 rootnex_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, 66 rootnex_get_intr_pri(dev_info_t *dip, dev_info_t *rdip, 76 rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, in rootnex_add_intr_impl() argument 86 if (((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, in rootnex_add_intr_impl() 88 ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, in rootnex_add_intr_impl() 90 if (ddi_getprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS, in rootnex_add_intr_impl() 110 rdip, DDI_PROP_DONTPASS, "upa-interrupt-slave", 0) != 0 && in rootnex_add_intr_impl() 111 ddi_get_parent(rdip) == dip) { in rootnex_add_intr_impl() 114 if ((r_upaid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, in rootnex_add_intr_impl() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.c | 191 pci_common_intr_ops(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_op_t intr_op, in pci_common_intr_ops() argument 217 (void *)pdip, (void *)rdip, intr_op, (void *)hdlp)); in pci_common_intr_ops() 238 if (pci_config_setup(rdip, &handle) != DDI_SUCCESS) in pci_common_intr_ops() 267 if ((*psm_intr_ops)(rdip, &tmp_hdl, PSM_INTR_OP_CHECK_MSI, in pci_common_intr_ops() 272 "rdip: 0x%p supported types: 0x%x\n", (void *)rdip, in pci_common_intr_ops() 279 if (ndi_prop_update_int(DDI_DEV_T_NONE, rdip, in pci_common_intr_ops() 285 if (ndi_prop_update_int(DDI_DEV_T_NONE, rdip, in pci_common_intr_ops() 316 return (pci_alloc_intr_fixed(pdip, rdip, hdlp, result)); in pci_common_intr_ops() 322 (pci_get_priority(rdip, hdlp, &priority) == DDI_SUCCESS)) { in pci_common_intr_ops() 328 if (strcmp(ddi_driver_name(rdip), "pcieb") == 0) { in pci_common_intr_ops() [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnex.c | 109 static int vnex_intr_ops(dev_info_t *dip, dev_info_t *rdip, 304 vnex_ctl(dev_info_t *dip, dev_info_t *rdip, in vnex_ctl() argument 313 if (rdip == NULL) in vnex_ctl() 316 ddi_driver_name(rdip), ddi_get_instance(rdip)); in vnex_ctl() 357 dev_info_t *child = rdip; in vnex_ctl() 373 ctlop, ddi_get_name(rdip), ddi_get_instance(rdip)); in vnex_ctl() 380 return (ddi_ctlops(dip, rdip, ctlop, arg, result)); in vnex_ctl() 385 vnex_get_pil(dev_info_t *rdip) in vnex_get_pil() argument 390 name = ddi_node_name(rdip); in vnex_get_pil() 404 vnex_enable_intr(dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) in vnex_enable_intr() argument [all …]
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xpvd.c | 397 xpvd_get_ispec(dev_info_t *rdip, uint_t inumber) in xpvd_get_ispec() argument 403 if ((pdp = ddi_get_parent_data(rdip)) == NULL) in xpvd_get_ispec() 456 xpvd_intr_ops(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_op_t intr_op, in xpvd_intr_ops() argument 465 (void *)pdip, (void *)rdip, intr_op, (void *)hdlp)); in xpvd_intr_ops() 495 ispec = xpvd_get_ispec(rdip, (int)hdlp->ih_inum); in xpvd_intr_ops() 502 if (xpvd_get_priority(rdip, hdlp->ih_inum, &priority) != in xpvd_intr_ops() 520 if ((*psm_intr_ops)(rdip, hdlp, PSM_INTR_OP_SET_PRI, result) == in xpvd_intr_ops() 524 ispec = xpvd_get_ispec(rdip, (int)hdlp->ih_inum); in xpvd_intr_ops() 532 ispec = xpvd_get_ispec(rdip, (int)hdlp->ih_inum); in xpvd_intr_ops() 540 ispec = xpvd_get_ispec(rdip, (int)hdlp->ih_inum); in xpvd_intr_ops() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 485 npe_setup_std_pcicfg_acc(dev_info_t *rdip, ddi_map_req_t *mp, in npe_setup_std_pcicfg_acc() argument 492 if (DDI_FM_ACC_ERR_CAP(ddi_fm_capable(rdip)) && in npe_setup_std_pcicfg_acc() 495 ndi_fmc_insert(rdip, ACC_HANDLE, in npe_setup_std_pcicfg_acc() 503 npe_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in npe_bus_map() argument 530 if (pci_common_get_reg_prop(rdip, pci_rp) != DDI_SUCCESS) in npe_bus_map() 544 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, rdip, in npe_bus_map() 569 if (pci_common_get_reg_prop(rdip, pci_rp) != DDI_SUCCESS) in npe_bus_map() 597 if (DDI_FM_ACC_ERR_CAP(ddi_fm_capable(rdip)) && in npe_bus_map() 600 ndi_fmc_remove(rdip, ACC_HANDLE, in npe_bus_map() 637 if (DDI_FM_ACC_ERR_CAP(ddi_fm_capable(rdip)) && in npe_bus_map() [all …]
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | ebus.c | 66 ebus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 69 ebus_ctlops(dev_info_t *dip, dev_info_t *rdip, 72 ebus_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, 87 static int ebus_apply_range(ebus_devstate_t *ebus_p, dev_info_t *rdip, 459 ebus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in ebus_map() argument 473 ddi_get_name(rdip), ddi_get_instance(rdip), off, len); in ebus_map() 483 ddi_get_name(rdip), ddi_get_instance(rdip), in ebus_map() 496 ddi_get_name(rdip), ddi_get_instance(rdip), in ebus_map() 499 if (getprop(rdip, "reg", &ebus_regs, &i) != DDI_SUCCESS) { in ebus_map() 523 rval = ebus_apply_range(ebus_p, rdip, ebus_rp, &vreg); in ebus_map() [all …]
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 85 static int cardbus_bus_map(dev_info_t *dip, dev_info_t *rdip, 97 static int cardbus_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, 100 static int cardbus_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, 102 static int cardbus_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, 105 static int cardbus_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, 107 static int cardbus_dma_flush(dev_info_t *dip, dev_info_t *rdip, 110 static int cardbus_dma_win(dev_info_t *dip, dev_info_t *rdip, 113 static int cardbus_dma_map(dev_info_t *dip, dev_info_t *rdip, 120 static int cardbus_get_eventcookie(dev_info_t *dip, dev_info_t *rdip, 122 static int cardbus_add_eventcall(dev_info_t *dip, dev_info_t *rdip, [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 49 static int niumx_intr_ops(dev_info_t *dip, dev_info_t *rdip, 53 static int niumx_set_intr(dev_info_t *dip, dev_info_t *rdip, 55 static int niumx_add_intr(dev_info_t *dip, dev_info_t *rdip, 57 static int niumx_rem_intr(dev_info_t *dip, dev_info_t *rdip, 60 static int niumx_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 62 static int niumx_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, 65 static int niumx_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, 67 static int niumx_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, 70 static int niumx_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, 72 static int niumx_ctlops(dev_info_t *dip, dev_info_t *rdip, [all …]
|