/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | mach_rootnex.c | 64 rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, 68 rootnex_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, 72 rootnex_get_intr_pri(dev_info_t *dip, dev_info_t *rdip, 82 rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, argument 93 rootnex_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, argument 106 rootnex_get_intr_pri(dev_info_t *dip, dev_info_t *rdip, argument
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_msi.c | 130 px_msi_alloc(px_t *px_p, dev_info_t *rdip, int type, int inum, int msi_count, argument 136 DBG(DBG_A_MSIX, px_p->px_dip, "px_msi_alloc: rdip %s:%d " 137 "type 0x%x inum 0x%x msi_count 0x%x\n", ddi_driver_name(rdip), 138 ddi_get_instance(rdip), type, inum, msi_count); 186 msi_state_p->msi_p[i].msi_dip = rdip; 224 msi_state_p->msi_p[i].msi_dip = rdip; 231 DBG(DBG_A_MSIX, px_p->px_dip, "px_msi_alloc: rdip %s:%d " 232 "msi_num 0x%x count 0x%x\n", ddi_driver_name(rdip), 233 ddi_get_instance(rdip), first, count); 245 px_msi_free(px_t *px_p, dev_info_t *rdip, in argument 288 px_msi_get_msinum(px_t *px_p, dev_info_t *rdip, int inum, msinum_t *msi_num_p) argument [all...] |
H A D | px_fdvma.c | 131 px_fdvma_reserve(dev_info_t *dip, dev_info_t *rdip, px_t *px_p, argument 147 DBG(DBG_DMA_CTL, dip, "DDI_DMA_RESERVE: rdip=%s%d\n", 148 ddi_driver_name(rdip), ddi_get_instance(rdip)); 198 mp->dmai_rdip = rdip; 214 ASSERT((intptr_t)ddi_get_parent_data(rdip) >> 1 == 0); 215 mp->dmai_bdf = ((intptr_t)ddi_get_parent_data(rdip) == 1) ? 216 PCIE_INVALID_BDF : pcie_get_bdf_for_dma_xfer(dip, rdip);
|
H A D | px_util.c | 143 px_reloc_reg(dev_info_t *dip, dev_info_t *rdip, px_t *px_p, argument 171 i = ddi_getlongprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS, 176 ddi_driver_name(rdip), ddi_get_instance(rdip), i);
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_intr.c | 170 pcmu_add_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument 183 PCMU_DBG3(PCMU_DBG_A_INTX, dip, "pcmu_add_intr: rdip=%s%d ino=%x\n", 184 ddi_driver_name(rdip), ddi_get_instance(rdip), ino); 197 ih_p = pcmu_ib_alloc_ih(rdip, hdlp->ih_inum, 202 if (pcmu_ib_ino_locate_intr(ino_p, rdip, intr_index)) { 213 intr_dist_cpuid_add_device_weight(cpu_id, rdip, 0); 249 intr_dist_cpuid_add_device_weight(cpu_id, rdip, 0); 275 pcmu_remove_intr(dev_info_t *dip, dev_info_t *rdip, argument 287 PCMU_DBG3(PCMU_DBG_R_INTX, dip, "pcmu_rem_intr: rdip [all...] |
H A D | pcmu_ib.c | 693 dev_info_t *rdip, uint32_t inum) 698 if (ih_lst->ih_dip == rdip && ih_lst->ih_inum == inum) { 706 pcmu_ib_alloc_ih(dev_info_t *rdip, uint32_t inum, argument 714 ih_p->ih_dip = rdip; 725 pcmu_ib_update_intr_state(pcmu_t *pcmu_p, dev_info_t *rdip, argument 744 rdip, hdlp->ih_inum)) { 692 pcmu_ib_ino_locate_intr(pcmu_ib_ino_info_t *ino_p, dev_info_t *rdip, uint32_t inum) argument
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | cpunex.c | 100 cpunex_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, argument 105 dev_info_t *pdip = ddi_get_parent(rdip); 107 ddi_node_name(rdip), ddi_get_instance(rdip), 140 return (ddi_ctlops(dip, rdip, op, arg, result));
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_fdvma.c | 178 pci_fdvma_reserve(dev_info_t *dip, dev_info_t *rdip, pci_t *pci_p, argument 194 DEBUG2(DBG_DMA_CTL, dip, "DDI_DMA_RESERVE: rdip=%s%d\n", 195 ddi_driver_name(rdip), ddi_get_instance(rdip)); 248 mp->dmai_rdip = rdip;
|
H A D | pci_fm.c | 73 pci_fm_acc_setup(ddi_map_req_t *mp, dev_info_t *rdip) argument 84 ndi_fmc_insert(rdip, ACC_HANDLE, (void *)hp, NULL); 126 ndi_fmc_remove(rdip, ACC_HANDLE, (void *)hp);
|
H A D | pci_pwr.c | 404 dev_info_t *rdip = bpc->bpc_dip; local 410 p_chld = pci_pwr_get_info(pwr_p, rdip); 413 ddi_node_name(rdip), ddi_get_name_addr(rdip), 417 DEBUG0(DBG_PWR, rdip, "changed_power_req FAILED\n"); 429 pci_pwr_add_components(pwr_p, rdip, p_chld); 452 ddi_node_name(rdip), ddi_get_name_addr(rdip), 479 p_chld = pci_pwr_get_info(pwr_p, rdip); 481 ddi_node_name(rdip), ddi_get_name_add [all...] |
H A D | pci_intr.c | 144 map_pcidev_cfg_reg(dev_info_t *dip, dev_info_t *rdip, ddi_acc_handle_t *hdl_p) argument 151 for (cdip = rdip; cdip && cdip != dip; cdip = ddi_get_parent(cdip)) { 158 ddi_driver_name(rdip), ddi_get_instance(rdip), 366 get_my_childs_dip(dev_info_t *dip, dev_info_t *rdip) argument 368 dev_info_t *cdip = rdip; 452 pci_add_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument 468 DEBUG3(DBG_A_INTX, dip, "pci_add_intr: rdip=%s%d ino=%x\n", 469 ddi_driver_name(rdip), ddi_get_instance(rdip), in 627 pci_remove_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument [all...] |
H A D | pci_reloc.c | 101 dev_info_t *rdip = mp->dmai_rdip; local 109 DEBUG0(DBG_RELOC, rdip, "postrelocator called\n"); 138 DEBUG3(DBG_RELOC, rdip, "index 0x%x, vaddr 0x%llx, baseva 0x%llx\n", 142 DEBUG2(DBG_RELOC, rdip, "pfn remap (1) 0x%x -> 0x%x\n", 146 DEBUG3(DBG_RELOC, rdip, "pfn remap (%d) 0x%x -> 0x%x\n", 151 if (ddi_dma_mctl(rdip, rdip, (ddi_dma_handle_t)mp, DDI_DMA_REMAP, 154 if (ddi_ctlops(rdip, rdip, DDI_CTLOPS_UNQUIESCE, NULL, NULL) != 190 pci_dvma_remap(dev_info_t *dip, dev_info_t *rdip, ddi_dma_impl_ argument 285 dev_info_t *rdip = mp->dmai_rdip; local 367 dev_info_t *rdip = mp->dmai_rdip; local [all...] |
H A D | pci_util.c | 156 pci_reloc_reg(dev_info_t *dip, dev_info_t *rdip, pci_t *pci_p, argument 177 if (ddi_getlongprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS,
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | ddi_arch.c | 51 i_ddi_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument 72 rp = i_ddi_rnumber_to_regspec(rdip, rnumber); 76 ddi_get_name(rdip)); 102 ddi_get_name(dip), ddi_get_name(rdip), 118 ddi_get_name(rdip), rp->regspec_bustype, 142 ddi_get_name(dip), ddi_get_name(rdip), 163 ddi_get_name(dip), ddi_get_name(rdip)); 166 if ((error = i_ddi_apply_range(dip, rdip, mp->map_obj.rp)) != 0) 219 i_ddi_apply_range(dev_info_t *dp, dev_info_t *rdip, struct regspec *rp) argument 245 cmn_err(CE_WARN, out_of_range, ddi_get_name(rdip)); 272 i_ddi_map_fault(dev_info_t *dip, dev_info_t *rdip, struct hat *hat, struct seg *seg, caddr_t addr, struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) argument [all...] |
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | ddi_arch.c | 61 i_ddi_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument 82 rp = i_ddi_rnumber_to_regspec(rdip, rnumber); 86 ddi_get_name(rdip)); 128 ddi_get_name(dip), ddi_get_name(rdip)); 131 if ((error = i_ddi_apply_range(dip, rdip, mp->map_obj.rp)) != 0) 145 i_ddi_map_fault(dev_info_t *dip, dev_info_t *rdip, argument 158 rdip, hat, seg, addr, dp, pfn, prot, lock)); 202 i_ddi_apply_range(dev_info_t *dp, dev_info_t *rdip, struct regspec *rp) argument 228 cmn_err(CE_WARN, out_of_range, ddi_get_name(rdip));
|
/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_intr.c | 279 apic_pci_msi_disable_mode(dev_info_t *rdip, int type) argument 282 int cap_ptr = i_ddi_get_msi_msix_cap_ptr(rdip); 283 ddi_acc_handle_t handle = i_ddi_get_pci_config_handle(rdip); 310 apic_pci_msi_enable_mode(dev_info_t *rdip, int type, int inum) argument 313 int cap_ptr = i_ddi_get_msi_msix_cap_ptr(rdip); 314 ddi_acc_handle_t handle = i_ddi_get_pci_config_handle(rdip); 331 msix_p = i_ddi_get_msix(rdip); 361 apic_pci_msi_unconfigure(dev_info_t *rdip, int type, int inum) argument
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | nx1394.c | 50 static int nx1394_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, 54 static int nx1394_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, 57 static int nx1394_get_event_cookie(dev_info_t *dip, dev_info_t *rdip, 60 static int nx1394_add_eventcall(dev_info_t *dip, dev_info_t *rdip, 66 static int nx1394_post_event(dev_info_t *dip, dev_info_t *rdip, 135 nx1394_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, argument 144 dev_info_t *pdip = ddi_get_parent(rdip); 146 ddi_node_name(rdip), ddi_get_instance(rdip), 253 status = ddi_ctlops(dip, rdip, o 305 nx1394_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfnp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument 341 nx1394_get_event_cookie(dev_info_t *dip, dev_info_t *rdip, char *name, ddi_eventcookie_t *event_cookiep) argument 374 nx1394_add_eventcall(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t cookie, void (*callback)(), void *arg, ddi_callback_id_t *cb_id) argument 456 nx1394_post_event(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t cookie, void *impl_data) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/ |
H A D | acpinex_drv.c | 72 static int acpinex_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 396 acpinex_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, argument 411 if (rdip == (dev_info_t *)0) 414 ddi_node_name(rdip), ddi_get_name_addr(rdip), 415 ddi_driver_name(rdip), ddi_get_instance(rdip)); 420 rval = ddi_ctlops(dip, rdip, op, arg, result); 429 acpinex_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_main.c | 371 eibnx_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, argument 381 ddi_node_name(rdip), ddi_get_name_addr(rdip), 382 ddi_driver_name(rdip), ddi_get_instance(rdip)); 406 ret = ddi_ctlops(dip, rdip, ctlop, arg, result); 502 eibnx_get_eventcookie(dev_info_t *dip, dev_info_t *rdip, argument 505 return (ndi_event_retrieve_cookie(enx_ndi_event_hdl, rdip, name, 511 eibnx_add_eventcall(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t cookie, argument 516 return (ndi_event_add_callback(enx_ndi_event_hdl, rdip, cooki 529 eibnx_post_event(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t cookie, void *impl_data) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | pseudonex.c | 78 static int pseudonex_intr_op(dev_info_t *dip, dev_info_t *rdip, 308 pseudonex_intr_op(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t op, argument 378 pseudonex_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, argument 383 if (rdip == NULL) 386 ddi_driver_name(rdip), ddi_get_instance(rdip)); 516 ddi_driver_name(rdip), ddi_get_instance(rdip)); 535 return (ddi_ctlops(dip, rdip, ctlop, arg, result));
|
H A D | tphci.c | 60 static int tphci_intr_op(dev_info_t *dip, dev_info_t *rdip, 378 tphci_intr_op(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t op, argument 385 tphci_ctl(dev_info_t *dip, dev_info_t *rdip, argument 390 if (rdip == (dev_info_t *)0) 393 ddi_get_name(rdip), ddi_get_instance(rdip)); 423 ctlop, ddi_get_name(rdip), ddi_get_instance(rdip)); 442 return (ddi_ctlops(dip, rdip, ctlop, arg, result));
|
H A D | tvhci.c | 59 static int tvhci_intr_op(dev_info_t *dip, dev_info_t *rdip, 435 tvhci_intr_op(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t op, argument 443 tvhci_ctl(dev_info_t *dip, dev_info_t *rdip, argument 448 if (rdip == (dev_info_t *)0) 451 ddi_get_name(rdip), ddi_get_instance(rdip)); 481 ctlop, ddi_get_name(rdip), ddi_get_instance(rdip)); 500 return (ddi_ctlops(dip, rdip, ctlop, arg, result));
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | dman_domain.c | 584 dev_info_t *rdip, *pdip; local 598 rdip = ddi_root_node(); 599 ndi_devi_enter(rdip, &circ); 600 bus_dip = ddi_get_child(rdip); 647 ndi_devi_exit(rdip, circ);
|
H A D | gptwo_pci.c | 169 get_new_child(dev_info_t *rdip, void *arg, uint_t flags) argument 175 *dipp = rdip;
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mach_rootnex.c | 57 rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, 61 rootnex_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, 65 rootnex_get_intr_pri(dev_info_t *dip, dev_info_t *rdip, 75 rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, argument 85 if (((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, 87 ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, 89 if (ddi_getprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS, 109 rdip, DDI_PROP_DONTPASS, "upa-interrupt-slave", 0) != 0 && 110 ddi_get_parent(rdip) == dip) { 113 if ((r_upaid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip, 157 rootnex_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument 215 rootnex_get_intr_pri(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument [all...] |