Home
last modified time | relevance | path

Searched refs:rdip (Results 1 – 25 of 159) sorted by relevance

1234567

/illumos-gate/usr/src/uts/intel/sys/
H A Diommulib.h62 dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr,
69 dev_info_t *rdip, ddi_dma_handle_t dma_handle,
133 int (*nops_dma_allochdl)(dev_info_t *dip, dev_info_t *rdip,
137 int (*nops_dma_freehdl)(dev_info_t *dip, dev_info_t *rdip,
140 int (*nops_dma_bindhdl)(dev_info_t *dip, dev_info_t *rdip,
160 int (*nops_dma_sync)(dev_info_t *dip, dev_info_t *rdip,
163 int (*nops_dma_win)(dev_info_t *dip, dev_info_t *rdip,
216 int iommulib_nex_open(dev_info_t *dip, dev_info_t *rdip);
217 void iommulib_nex_close(dev_info_t *rdip);
233 int iommulib_nexdma_sync(dev_info_t *dip, dev_info_t *rdip,
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_intr_lib.h39 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,
52 extern int pci_msi_get_supported_type(dev_info_t *rdip, int *typesp);
[all …]
H A Ddevops.h179 int (*bus_map)(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,
204 int (*bus_dma_map)(dev_info_t *dip, dev_info_t *rdip,
220 int (*bus_dma_win)(dev_info_t *dip, dev_info_t *rdip,
228 int (*bus_ctl)(dev_info_t *dip, dev_info_t *rdip,
241 dev_info_t *rdip, char *eventname,
311 int (*bus_map)(dev_info_t *dip, dev_info_t *rdip,
317 dev_info_t *rdip, ddi_intrspec_t intrspec,
323 dev_info_t *rdip, ddi_intrspec_t intrspec,
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c161 (void *)rdip)); in pci_msi_get_cap()
399 (void *)rdip)); in pci_msi_enable_mode()
447 (void *)rdip)); in pci_msi_disable_mode()
523 msix_p = i_ddi_get_msix(rdip); in pci_msi_set_mask()
585 msix_p = i_ddi_get_msix(rdip); in pci_msi_clr_mask()
617 (void *)rdip)); in pci_msi_get_pending()
674 (void *)rdip)); in pci_msi_get_nintrs()
748 "rdip = 0x%p\n", (void *)rdip)); in pci_msi_get_supported_type()
778 pci_msix_init(dev_info_t *rdip) in pci_msix_init() argument
1271 pci_class_to_pil(dev_info_t *rdip) in pci_class_to_pil() argument
[all …]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dvma.c327 dvarg.dva_rdip = rdip; in get_lpc_devinfo()
1067 ddi_err(DER_VERB, rdip, in create_xlate_arena()
1206 dvarg.dva_rdip = rdip; in device_domain()
1677 if (rdip == ddip) { in immu_context_update()
2397 dev_info_t *rdip) in dvma_unmap() argument
2885 odip = rdip; in immu_dvma_device_setup()
2901 rdip = get_lpc_devinfo(immu, rdip, immu_flags); in immu_dvma_device_setup()
2902 if (rdip == NULL) { in immu_dvma_device_setup()
2915 rdip = get_gfx_devinfo(rdip); in immu_dvma_device_setup()
2916 if (rdip == NULL) { in immu_dvma_device_setup()
[all …]
H A Disa.c580 return (i_dmae_free(rdip, arg)); in isa_dma_mctl()
583 i_dmae_stop(rdip, arg); in isa_dma_mctl()
587 i_dmae_enable(rdip, arg); in isa_dma_mctl()
591 i_dmae_disable(rdip, arg); in isa_dma_mctl()
603 i_dmae_swstart(rdip, arg); in isa_dma_mctl()
694 if (rdip == (dev_info_t *)0) in isa_ctlops()
697 ddi_driver_name(rdip), ddi_get_instance(rdip)); in isa_ctlops()
725 if (is_pnpisa(rdip)) in isa_ctlops()
732 if (rdip == (dev_info_t *)0) in isa_ctlops()
958 ret = (*psm_intr_ops)(rdip, hdlp, in isa_alloc_intr_fixed()
[all …]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c735 ddi_driver_name(rdip), ddi_get_instance(rdip)); in px_map()
846 ddi_driver_name(rdip), ddi_get_instance(rdip), in px_dma_setup()
883 ddi_driver_name(rdip), ddi_get_instance(rdip), in px_dma_setup()
913 ddi_driver_name(rdip), ddi_get_instance(rdip)); in px_dma_allochdl()
1020 ddi_driver_name(rdip), ddi_get_instance(rdip), mp); in px_dma_bindhdl()
1106 ddi_driver_name(rdip), ddi_get_instance(rdip)); in px_dma_win()
1157 ddi_driver_name(rdip), ddi_get_instance(rdip), in px_dma_win()
1210 ddi_driver_name(rdip), ddi_get_instance(rdip)); in px_dma_ctlops()
1303 ddi_driver_name(rdip), ddi_get_instance(rdip)); in px_ctlops()
1389 ddi_driver_name(rdip), ddi_get_instance(rdip)); in px_ctlops()
[all …]
H A Dpx_intr.c467 dev_info_t *cdip = rdip; in px_get_my_childs_dip()
527 ret = pci_intx_set_mask(rdip); in px_intx_ops()
530 ret = pci_intx_clr_mask(rdip); in px_intx_ops()
610 i_ddi_set_msix(rdip, msix_p); in px_msix_ops()
635 (i_ddi_get_msix(rdip))) { in px_msix_ops()
637 i_ddi_set_msix(rdip, NULL); in px_msix_ops()
661 (void) px_rem_msiq_intr(dip, rdip, in px_msix_ops()
668 (void) px_rem_msiq_intr(dip, rdip, in px_msix_ops()
708 ret = px_rem_msiq_intr(dip, rdip, in px_msix_ops()
1111 ddi_driver_name(rdip), ddi_get_instance(rdip), ino); in px_rem_intx_intr()
[all …]
H A Dpx_intr.h33 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 Dpci.c495 ddi_driver_name(rdip), ddi_get_instance(rdip)); in pci_map()
580 ddi_driver_name(rdip), ddi_get_instance(rdip), in pci_dma_setup()
615 ddi_driver_name(rdip), ddi_get_instance(rdip), in pci_dma_setup()
645 ddi_driver_name(rdip), ddi_get_instance(rdip)); in pci_dma_allochdl()
750 ddi_driver_name(rdip), ddi_get_instance(rdip), mp); in pci_dma_bindhdl()
803 ddi_driver_name(rdip), ddi_get_instance(rdip), mp); in pci_dma_unbindhdl()
835 ddi_driver_name(rdip), ddi_get_instance(rdip)); in pci_dma_win()
882 ddi_driver_name(rdip), ddi_get_instance(rdip), in pci_dma_win()
933 ddi_driver_name(rdip), ddi_get_instance(rdip)); in pci_dma_ctlops()
963 ddi_driver_name(rdip), ddi_get_instance(rdip), cmd, in pci_dma_ctlops()
[all …]
H A Dpci_intr.c157 ddi_driver_name(rdip), ddi_get_instance(rdip), in map_pcidev_cfg_reg()
367 dev_info_t *cdip = rdip; in get_my_childs_dip()
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()
510 ih_p = ib_alloc_ih(rdip, hdlp->ih_inum, in pci_add_intr()
528 weight = pci_class_to_intr_weight(rdip); in pci_add_intr()
536 hdlp->ih_pri = pci_class_to_pil(rdip); in pci_add_intr()
578 weight = pci_class_to_intr_weight(rdip); in pci_add_intr()
636 ddi_driver_name(rdip), ddi_get_instance(rdip), ino); in pci_remove_intr()
649 mondo = pci_xlate_intr(dip, rdip, ib_p, ino); in pci_remove_intr()
[all …]
H A Dpci_reloc.c101 dev_info_t *rdip = mp->dmai_rdip; in pci_dvma_postrelocator() local
109 DEBUG0(DBG_RELOC, rdip, "postrelocator called\n"); in pci_dvma_postrelocator()
142 DEBUG2(DBG_RELOC, rdip, "pfn remap (1) 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()
285 dev_info_t *rdip = mp->dmai_rdip; in pci_fdvma_postrelocator() local
328 DEBUG4(DBG_RELOC, rdip, "mp %p: index 0x%x, " in pci_fdvma_postrelocator()
338 if (ddi_ctlops(rdip, rdip, DDI_CTLOPS_UNQUIESCE, NULL, NULL) != in pci_fdvma_postrelocator()
367 dev_info_t *rdip = mp->dmai_rdip; in pci_common_prerelocator() local
370 DEBUG0(DBG_RELOC, rdip, "prerelocator called\n"); in pci_common_prerelocator()
[all …]
/illumos-gate/usr/src/uts/common/io/pci-ide/
H A Dpci-ide.c629 if (PCIIDE_NATIVE_MODE(rdip)) { in pciide_get_ispec()
669 if (PCIIDE_NATIVE_MODE(rdip)) { in pciide_get_pri()
753 if (PCIIDE_NATIVE_MODE(rdip)) { in pciide_intr_ops()
754 rdip = dip; in pciide_intr_ops()
761 rdip, intr_op, hdlp, result); in pciide_intr_ops()
806 if (PCIIDE_NATIVE_MODE(rdip)) { in pciide_alloc_intr()
807 rdip = dip; in pciide_alloc_intr()
812 ret = (*psm_intr_ops)(rdip, hdlp, in pciide_alloc_intr()
853 if (PCIIDE_NATIVE_MODE(rdip)) { in pciide_free_intr()
854 rdip = dip; in pciide_free_intr()
[all …]
/illumos-gate/usr/src/uts/intel/io/
H A Diommulib.c550 int instance = ddi_get_instance(rdip); in iommulib_nex_open()
551 const char *driver = ddi_driver_name(rdip); in iommulib_nex_open()
581 instance, (void *)rdip, ddi_pathname(rdip, buf)); in iommulib_nex_open()
591 DEVI(rdip)->devi_iommulib_handle = unitp; in iommulib_nex_open()
601 iommulib_nex_close(dev_info_t *rdip) in iommulib_nex_close() argument
610 ASSERT(IOMMU_USED(rdip)); in iommulib_nex_close()
612 unitp = DEVI(rdip)->devi_iommulib_handle; in iommulib_nex_close()
618 DEVI(rdip)->devi_iommulib_handle = NULL; in iommulib_nex_close()
632 (void) ddi_pathname(rdip, buf); in iommulib_nex_close()
635 (void *)rdip, unitid, buf); in iommulib_nex_close()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dupa64s.c507 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()
623 ddi_driver_name(rdip), ddi_get_instance(rdip), hdlp->ih_vector); in upa64s_add_intr_impl()
790 HI32(dip), LO32(dip), HI32(rdip), LO32(rdip), op); in upa64s_ctlops()
797 ddi_get_name(rdip), ddi_get_instance(rdip)); in upa64s_ctlops()
802 ddi_get_name(rdip), ddi_get_instance(rdip)); in upa64s_ctlops()
810 ddi_get_name(rdip), ddi_get_instance(rdip)); in upa64s_ctlops()
815 ddi_get_name(rdip), ddi_get_instance(rdip)); in upa64s_ctlops()
821 ddi_get_name(rdip), ddi_get_instance(rdip)); in upa64s_ctlops()
[all …]
H A Dsbbc.c631 ddi_driver_name(rdip), ddi_get_instance(rdip)); in sbbc_intr_ops()
706 instance, ddi_get_name(rdip)); in sbbc_add_intr_impl()
752 instance, ddi_get_name(rdip)); in sbbc_remove_intr_impl()
759 instance, ddi_get_name(rdip)); in sbbc_remove_intr_impl()
796 instance, ddi_get_name(rdip)); in sbbc_update_intr_state()
803 instance, ddi_get_name(rdip)); in sbbc_update_intr_state()
844 ddi_driver_name(rdip), ddi_get_instance(rdip), in sbbc_ctlops()
846 ddi_get_name_addr(rdip)); in sbbc_ctlops()
896 SBBC_DBG4(SBBC_DBG_MAPRANGES, rdip, in sbbc_apply_range()
1268 ddi_driver_name(rdip)); in sbbc_initchild()
[all …]
H A Dmach_rootnex.c58 rootnex_add_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()
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()
164 if (((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, in rootnex_remove_intr_impl()
166 ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, in rootnex_remove_intr_impl()
184 if ((r_upaid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, in rootnex_remove_intr_impl()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c372 (void) (*psm_intr_ops)(rdip, hdlp, in pci_common_intr_ops()
385 (void) (*psm_intr_ops)(rdip, hdlp, in pci_common_intr_ops()
401 (void *)rdip, in pci_common_intr_ops()
404 (void) (*psm_intr_ops)(rdip, in pci_common_intr_ops()
433 rdip)) { in pci_common_intr_ops()
441 (void) (*psm_intr_ops)(rdip, hdlp, in pci_common_intr_ops()
622 pci_disable_intr(pdip, rdip, hdlp, in pci_common_intr_ops()
659 pci_status = pci_msi_set_mask(rdip, in pci_common_intr_ops()
665 pci_status = pci_msi_clr_mask(rdip, in pci_common_intr_ops()
819 ret = (*psm_intr_ops)(rdip, hdlp, in pci_alloc_intr_fixed()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/
H A Dnx1394.c144 dev_info_t *pdip = ddi_get_parent(rdip); in nx1394_bus_ctl()
146 ddi_node_name(rdip), ddi_get_instance(rdip), in nx1394_bus_ctl()
253 status = ddi_ctlops(dip, rdip, op, arg, result); in nx1394_bus_ctl()
278 op, ddi_node_name(rdip), ddi_get_instance(rdip)); in nx1394_bus_ctl()
290 status = ddi_ctlops(dip, rdip, op, arg, result); in nx1394_bus_ctl()
322 if (dip != rdip) { in nx1394_dma_allochdl()
323 hal = s1394_dip_to_hal(ddi_get_parent(rdip)); in nx1394_dma_allochdl()
354 rdip, name, event_cookiep, 0); in nx1394_get_event_cookie()
374 nx1394_add_eventcall(dev_info_t *dip, dev_info_t *rdip, in nx1394_add_eventcall() argument
481 rdip, cookie, impl_data); in nx1394_post_event()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnex.c313 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()
385 vnex_get_pil(dev_info_t *rdip) in vnex_get_pil() argument
390 name = ddi_node_name(rdip); in vnex_get_pil()
509 hdlp->ih_pri = vnex_get_pil(rdip); in vnex_add_intr()
524 vnex_remove_intr(dev_info_t *rdip, in vnex_remove_intr() argument
532 vid_p = vnex_locate_id(rdip, ino); in vnex_remove_intr()
567 ret = vnex_remove_intr(rdip, hdlp); in vnex_intr_ops()
[all …]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxpvd.c396 xpvd_get_ispec(dev_info_t *rdip, uint_t inumber) in xpvd_get_ispec() argument
402 if ((pdp = ddi_get_parent_data(rdip)) == NULL) in xpvd_get_ispec()
494 ispec = xpvd_get_ispec(rdip, (int)hdlp->ih_inum); in xpvd_intr_ops()
523 ispec = xpvd_get_ispec(rdip, (int)hdlp->ih_inum); in xpvd_intr_ops()
594 xpvd_disable_intr(rdip, hdlp, hdlp->ih_inum); in xpvd_intr_ops()
667 hdlp->ih_cb_arg2, NULL, rdip)) in xpvd_enable_intr()
698 xpvd_ctlops(dev_info_t *dip, dev_info_t *rdip, in xpvd_ctlops() argument
703 if (rdip == (dev_info_t *)0) in xpvd_ctlops()
706 ddi_get_name_addr(rdip), ddi_driver_name(rdip), in xpvd_ctlops()
707 ddi_get_instance(rdip)); in xpvd_ctlops()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c496 ndi_fmc_insert(rdip, ACC_HANDLE, in npe_setup_std_pcicfg_acc()
640 ndi_fmc_remove(rdip, ACC_HANDLE, in npe_bus_map()
806 if (rdip == (dev_info_t *)0) in npe_ctlops()
809 ddi_node_name(rdip), ddi_get_name_addr(rdip), in npe_ctlops()
810 ddi_driver_name(rdip), ddi_get_instance(rdip)); in npe_ctlops()
824 if (rdip == (dev_info_t *)0) in npe_ctlops()
884 if (!pcie_is_child(dip, rdip)) in npe_ctlops()
895 ddi_get_parent(rdip) == dip) in npe_ctlops()
907 if (!pcie_is_child(dip, rdip)) in npe_ctlops()
913 pf_fini(rdip, dsp->cmd); in npe_ctlops()
[all …]
/illumos-gate/usr/src/uts/sun4/io/
H A Debus.c473 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()
698 ddi_get_name(rdip), ddi_get_instance(rdip)); in ebus_ctlops()
700 ddi_driver_name(rdip), ddi_get_instance(rdip), in ebus_ctlops()
702 ddi_get_name_addr(rdip)); in ebus_ctlops()
708 ddi_get_name(rdip), ddi_get_instance(rdip)); in ebus_ctlops()
726 ddi_get_name(rdip), ddi_get_instance(rdip)); in ebus_ctlops()
740 ddi_get_name(rdip), ddi_get_instance(rdip)); in ebus_ctlops()
805 name_p = ddi_node_name(rdip); in ebus_intr_ops()
[all …]
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.c979 if (rdip == (dev_info_t *)0) in cardbus_ctlops()
985 ddi_get_instance(rdip), in cardbus_ctlops()
999 ddi_driver_name(rdip), in cardbus_ctlops()
1000 ddi_get_instance(rdip), in cardbus_ctlops()
1212 _NOTE(ARGUNUSED(rdip, result)) in cardbus_initchild()
1857 (void *) dip, (void *) rdip); in cardbus_bus_map()
1866 ddi_driver_name(rdip), in cardbus_bus_map()
1909 (void *) dip, (void *) rdip); in cardbus_dma_allochdl()
1985 rdip, handle)); in cardbus_dma_unbindhdl()
2283 (void *) rdip, ddi_driver_name(rdip)); in cardbus_enable_intr_impl()
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_arch.c51 i_ddi_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, in i_ddi_bus_map() argument
72 rp = i_ddi_rnumber_to_regspec(rdip, rnumber); in i_ddi_bus_map()
76 ddi_get_name(rdip)); in i_ddi_bus_map()
102 ddi_get_name(dip), ddi_get_name(rdip), in i_ddi_bus_map()
118 ddi_get_name(rdip), rp->regspec_bustype, in i_ddi_bus_map()
142 ddi_get_name(dip), ddi_get_name(rdip), in i_ddi_bus_map()
163 ddi_get_name(dip), ddi_get_name(rdip)); in i_ddi_bus_map()
166 if ((error = i_ddi_apply_range(dip, rdip, mp->map_obj.rp)) != 0) in i_ddi_bus_map()
245 cmn_err(CE_WARN, out_of_range, ddi_get_name(rdip)); in i_ddi_apply_range()
272 i_ddi_map_fault(dev_info_t *dip, dev_info_t *rdip, in i_ddi_map_fault() argument
[all …]

1234567