Home
last modified time | relevance | path

Searched refs:dip (Results 1 – 25 of 1177) sorted by relevance

12345678910>>...48

/illumos-gate/usr/src/uts/common/os/
H A Ddevcfg.c570 elem->dip = dip; in i_ddi_add_devimap()
607 if (elem->dip == dip) { in i_ddi_remove_devimap()
2249 for (dip = head; dip; dip = ddi_get_next_sibling(dip)) { in find_sibling()
3469 elem->dip = dip; in append_node()
3619 dip = ddi_get_next(dip); in e_ddi_walk_driver()
3729 info->dip = dip; in i_find_devi()
4307 for (; dip != NULL; dip = ddi_get_next_sibling(dip)) { in quiesce_devices()
6521 arg->dip = dip; in i_ndi_devi_async_common()
7310 for (dip = head; dip != NULL; dip = ddi_get_next(dip)) { in diplist_to_parent_major()
7358 for (dip = dnp->dn_head; dip != NULL; dip = ddi_get_next(dip)) { in i_ddi_devs_attached()
[all …]
H A Dsunpm.c503 #define PM_MAJOR(dip) ddi_driver_major(dip) argument
1457 for (dip = ddi_get_child(dip); dip; dip = ddi_get_next_sibling(dip)) { in pm_clear_volpm_dip()
2081 PM_DEVICE(dip), PM_KUC(dip), (PM_KUC(dip) + cnt))) in e_pm_hold_rele_power()
2317 PM_DEVICE(dip), PM_NUMCMPTS(dip))) in pm_rem_info()
2912 PM_NAME(dip), PM_ADDR(dip)); in pm_check_and_resume()
3266 if (pm_ctlops(PPM(dip), dip, in pm_register_ppm()
4545 PM_DEVICE(dip), PM_NUMCMPTS(dip))) in pm_create_components()
4688 PM_NAME(dip), PM_ADDR(dip)); in pm_set_normal_power()
5745 if ((dip && p->pscc_dip == dip) || in pm_deregister_watcher()
6084 if (!PM_GET_PM_INFO(dip) || PM_ISBC(dip) || !pm_valid_thresh(dip, rp)) { in pm_apply_recorded_thresh()
[all …]
H A Dddi_intr_impl.c54 (void *)dip)); in i_ddi_intr_devi_init()
56 if (DEVI(dip)->devi_intr_p) in i_ddi_intr_devi_init()
73 (void *)dip)); in i_ddi_intr_devi_fini()
96 (void) i_ddi_irm_remove(dip); in i_ddi_intr_devi_fini()
99 DEVI(dip)->devi_intr_p = NULL; in i_ddi_intr_devi_fini()
113 hdl.ih_dip = dip; in i_ddi_intr_get_supported_types()
115 ret = i_ddi_intr_ops(dip, dip, DDI_INTROP_SUPPORTED_TYPES, &hdl, in i_ddi_intr_get_supported_types()
145 hdl.ih_dip = dip; in i_ddi_intr_get_supported_nintrs()
148 ret = i_ddi_intr_ops(dip, dip, DDI_INTROP_NINTRS, &hdl, in i_ddi_intr_get_supported_nintrs()
279 hdl.ih_dip = dip; in i_ddi_intr_get_limit()
[all …]
H A Dddi_hp_ndi.c91 ndi_devi_exit(dip, count); in ndi_hp_register()
102 hdlp->cn_dip = dip; in ndi_hp_register()
121 ndi_devi_exit(dip, count); in ndi_hp_register()
128 ndi_devi_exit(dip, count); in ndi_hp_register()
177 ndi_devi_exit(dip, count); in ndi_hp_unregister()
248 eventp->dip = dip; in ndi_hp_state_change_req()
255 ndi_hold_devi(dip); in ndi_hp_state_change_req()
259 ndi_rele_devi(dip); in ndi_hp_state_change_req()
281 (void *)dip, arg)); in ndi_hp_walk_cn()
288 if (dip == NULL) in ndi_hp_walk_cn()
[all …]
H A Dddi_hp_impl.c664 ddi_driver_name(dip), ddi_get_instance(dip), in ddihp_cn_gen_sysevent()
685 ddi_driver_name(dip), ddi_get_instance(dip), in ddihp_cn_gen_sysevent()
702 ddi_driver_name(dip), ddi_get_instance(dip), in ddihp_cn_gen_sysevent()
732 ddi_driver_name(dip), ddi_get_instance(dip)); in ddihp_cn_gen_sysevent()
763 ddi_driver_name(dip), ddi_get_instance(dip)); in ddihp_cn_gen_sysevent()
772 ddi_driver_name(dip), ddi_get_instance(dip)); in ddihp_cn_gen_sysevent()
783 ddi_driver_name(dip), ddi_get_instance(dip), in ddihp_cn_gen_sysevent()
864 ddi_driver_name(dip), ddi_get_instance(dip), in ddihp_cn_pre_change_state()
949 ddi_driver_name(dip), ddi_get_instance(dip), in ddihp_cn_handle_state_change()
961 ddi_driver_name(dip), ddi_get_instance(dip), in ddihp_cn_handle_state_change()
[all …]
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie_pwr.c116 if (dip) in pcie_power()
222 ddi_driver_name(dip), ddi_get_instance(dip)); in pcie_pwr_change()
247 ddi_driver_name(dip), ddi_get_instance(dip)); in pcie_pwr_change()
281 if (dip) in pcie_bus_power()
313 ddi_driver_name(dip), ddi_get_instance(dip), in pcie_bus_power()
335 ddi_driver_name(dip), ddi_get_instance(dip), in pcie_bus_power()
348 ddi_driver_name(dip), ddi_get_instance(dip), in pcie_bus_power()
534 ddi_driver_name(dip), ddi_get_instance(dip), in pcie_add_comps()
688 ddi_driver_name(dip), ddi_get_instance(dip)); in pcie_pm_hold()
857 if (dip) in pcie_pwr_resume()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_impldefs.h399 ((DEVI(dip)->devi_state & \
406 e_ddi_degrade_finalize(dip); \
567 #define DEVI_EVADD(dip) \ argument
570 #define DEVI_SET_EVADD(dip) { \ argument
576 #define DEVI_EVREMOVE(dip) \ argument
591 #define DEVI_NEED_RESET(dip) \ argument
624 #define DEVI_BUSY_CHANGING(dip) (DEVI(dip)->devi_flags & DEVI_BUSY) argument
625 #define DEVI_BUSY_OWNED(dip) (DEVI_BUSY_CHANGING(dip) && \ argument
628 #define DEVI_IS_PCI(dip) (DEVI(dip)->devi_flags & DEVI_PCI_DEVICE) argument
629 #define DEVI_SET_PCI(dip) (DEVI(dip)->devi_flags |= (DEVI_PCI_DEVICE)) argument
[all …]
H A Depm.h235 #define PPM(dip) ((dev_info_t *)DEVI(dip)->devi_pm_ppm) argument
584 #define PM_GET_PM_INFO(dip) (DEVI(dip)->devi_pm_info) argument
585 #define PM_GET_PM_SCAN(dip) (DEVI(dip)->devi_pm_scan) argument
600 #define PM_ISBC(dip) (DEVI(dip)->devi_pm_flags & PMC_BC) argument
645 #define PM_ADDR(dip) (ddi_get_name_addr(dip) ? ddi_get_name_addr(dip) : "") argument
646 #define PM_NAME(dip) (ddi_binding_name(dip)) argument
647 #define PM_NODE(dip) (ddi_node_name(dip)) argument
648 #define PM_INST(dip) (ddi_get_instance(dip)) argument
649 #define PM_DEVICE(dip) PM_NAME(dip), PM_ADDR(dip), PM_NODE(dip), PM_INST(dip) argument
960 PMID_IS_CFB(PM_GET_PM_SCAN(dip)->ps_idle_down, dip))
[all …]
H A Dsunndi.h109 ndi_prop_remove_all(dev_info_t *dip);
133 ndi_devi_free(dev_info_t *dip);
137 void ndi_devi_exit(dev_info_t *dip, int circ);
141 void ndi_hold_devi(dev_info_t *dip);
142 void ndi_rele_devi(dev_info_t *dip);
146 void ndi_rele_driver(dev_info_t *dip);
241 ndi_devi_config(dev_info_t *dip, int flags);
259 ndi_devi_unconfig(dev_info_t *dip, int flags);
365 ndi_devi_device_isremoved(dev_info_t *dip);
367 ndi_devi_device_remove(dev_info_t *dip);
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba10_calls.c52 dev_info_t *dip, in usba10_usb_register_client() argument
65 dev_info_t *dip, in usba10_usb_unregister_client() argument
74 dev_info_t *dip, in usba10_usb_free_descr_tree() argument
95 dev_info_t *dip, in usba10_usb_get_ep_data() argument
109 dev_info_t *dip, in usba10_usb_get_string_descr() argument
159 dev_info_t *dip, in usba10_usb_pipe_open() argument
171 dev_info_t *dip, in usba10_usb_pipe_close() argument
187 dev_info_t *dip, in usba10_usb_pipe_drain_reqs() argument
221 dev_info_t *dip, in usba10_usb_pipe_reset() argument
237 dev_info_t *dip, in usba10_usb_alloc_ctrl_req() argument
[all …]
H A Dusbai.c246 if (dip) { in usb_vprintf()
259 if (dip) { in usb_vprintf()
270 if (dip) { in usb_vprintf()
340 if (dip) { in usb_vprintf()
368 if (dip) { in usb_vprintf()
600 pmrq->dip = dip; in usb_req_raise_power()
654 pmrq->dip = dip; in usb_req_lower_power()
1074 usba_device->usb_client_ev_cb_list->dip = dip; in usb_register_hotplug_cbs()
1189 usba_device->usb_client_ev_cb_list->dip = dip; in usb_register_event_cbs()
1259 usb_cap.dip = dip; in usb_register_dev_driver()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_lib4v.c96 DBG(DBG_ATTACH, dip, "px_lib_dev_init: dip 0x%p\n", dip); in px_lib_dev_init()
133 PCI_MINOR_NUM(ddi_get_instance(dip), PCI_DEVCTL_MINOR)), dip, in px_lib_dev_init()
235 DBG(DBG_DETACH, dip, "px_lib_dev_fini: dip 0x%p\n", dip); in px_lib_dev_fini()
238 PCI_MINOR_NUM(ddi_get_instance(dip), PCI_DEVCTL_MINOR)), dip, in px_lib_dev_fini()
284 dip, sysino); in px_lib_intr_getvalid()
411 DBG(DBG_LIB_INT, dip, "px_lib_intr_reset: dip 0x%p\n", dip); in px_lib_intr_reset()
541 dip, tsbid); in px_lib_iommu_getmap()
715 DBG(DBG_LIB_MSIQ, dip, "px_lib_msiq_init: dip 0x%p\n", dip); in px_lib_msiq_init()
768 DBG(DBG_LIB_MSIQ, dip, "px_lib_msiq_fini: dip 0x%p\n", dip); in px_lib_msiq_fini()
995 DBG(DBG_LIB_MSI, dip, "px_lib_msi_init: dip 0x%p\n", dip); in px_lib_msi_init()
[all …]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c248 px_p->px_dip = dip; in px_attach()
430 px_lib_resume(dip); in px_attach()
497 pxtool_uninit(dip); in px_detach()
643 hdl.ih_dip = dip; in px_pwr_setup()
648 if (px_add_msiq_intr(dip, dip, &hdl, MSG_REC, in px_pwr_setup()
670 (void) px_rem_msiq_intr(dip, dip, &hdl, MSG_REC, PCIE_PME_ACK_MSG, in px_pwr_setup()
689 if (PCIE_PMINFO(dip) == NULL || PCIE_NEXUS_PMINFO(dip) == NULL) in px_pwr_teardown()
696 hdl.ih_dip = dip; in px_pwr_teardown()
700 (void) px_rem_msiq_intr(dip, dip, &hdl, MSG_REC, PCIE_PME_ACK_MSG, in px_pwr_teardown()
1448 dev_info_t *dip; in px_set_mps() local
[all …]
H A Dpx_lib.h37 #define DIP_TO_HANDLE(dip) ((px_t *)DIP_TO_STATE(dip))->px_dev_hdl argument
58 extern int px_lib_dev_fini(dev_info_t *dip);
77 extern int px_lib_intr_reset(dev_info_t *dip);
102 extern int px_lib_msiq_init(dev_info_t *dip);
103 extern int px_lib_msiq_fini(dev_info_t *dip);
127 extern int px_lib_msi_init(dev_info_t *dip);
156 extern int px_lib_suspend(dev_info_t *dip);
157 extern void px_lib_resume(dev_info_t *dip);
205 extern void px_lib_hotplug_uninit(dev_info_t *dip);
217 extern uint64_t px_lib_get_cfgacc_base(dev_info_t *dip);
[all …]
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_driver.c76 for (; dip != NULL; dip = ddi_get_next_sibling(dip)) { in cpr_suspend_devices()
79 if (!cpr_is_real_device(dip)) in cpr_suspend_devices()
82 devi_string(dip, buf)); in cpr_suspend_devices()
113 devi_string(dip, buf)); in cpr_suspend_devices()
115 devi_string(dip, buf)); in cpr_suspend_devices()
152 dip = start;
155 dip = next;
191 devi_string(dip, buf));
222 devi_string(dip, buf));
224 devi_string(dip, buf));
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c79 dev_info_t *dip, in usb_register_client() argument
92 dev_info_t *dip, in usb_unregister_client() argument
101 dev_info_t *dip, in usb_free_descr_tree() argument
123 dev_info_t *dip, in usb_get_ep_data() argument
137 dev_info_t *dip, in usb_get_string_descr() argument
187 dev_info_t *dip, in usb_pipe_open() argument
199 dev_info_t *dip, in usb_pipe_close() argument
215 dev_info_t *dip, in usb_pipe_drain_reqs() argument
249 dev_info_t *dip, in usb_pipe_reset() argument
265 dev_info_t *dip, in usb_alloc_ctrl_req() argument
[all …]
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_lib4u.c112 pxu_p, dip); in px_lib_map_regs()
148 ddi_driver_name(dip), ddi_get_instance(dip), reg_bank); in px_lib_map_regs()
189 DBG(DBG_ATTACH, dip, "px_lib_dev_init: dip 0x%p", dip); in px_lib_dev_init()
275 ddi_driver_name(dip), ddi_get_instance(dip)); in px_lib_dev_init()
298 DBG(DBG_DETACH, dip, "px_lib_dev_fini: dip 0x%p\n", dip); in px_lib_dev_fini()
313 ddi_driver_name(dip), ddi_get_instance(dip)); in px_lib_dev_fini()
489 DBG(DBG_LIB_INT, dip, "px_lib_intr_reset: dip 0x%p\n", dip); in px_lib_intr_reset()
1041 ddi_driver_name(dip), ddi_get_instance(dip), in px_lib_get_msiq_rec()
1077 DBG(DBG_LIB_MSI, dip, "px_lib_msi_init: dip 0x%p\n", dip); in px_lib_msi_init()
1326 DBG(DBG_DETACH, dip, "px_lib_suspend: dip 0x%p\n", dip); in px_lib_suspend()
[all …]
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.c321 for (dip = ddi_get_child(parent); dip; in cardbus_walk_node_child()
322 dip = ddi_get_next_sibling(dip)) { in cardbus_walk_node_child()
367 ctrl.dip = dip; in cardbus_fix_hostbridge_busrange()
425 ddi_driver_name(dip), ddi_get_instance(dip)); in cardbus_attach()
437 ddi_driver_name(dip), ddi_get_instance(dip)); in cardbus_attach()
456 ddi_driver_name(dip), ddi_get_instance(dip)); in cardbus_attach()
644 ctrl.dip ? ddi_get_instance(ctrl.dip) : 0, in cardbus_load_cardbus()
714 ddi_get_name(dip), ddi_get_instance(dip)); in cardbus_unload_cardbus()
759 for (; dip != NULL; dip = ddi_get_next_sibling(dip)) { in cardbus_save_children()
775 for (; dip != NULL; dip = ddi_get_next_sibling(dip)) { in cardbus_restore_children()
[all …]
H A Dcardbus_cfg.c118 dev_info_t *dip; member
445 cardbus_err(dip, 6, in cardbus_unconfigure()
506 cardbus_err(dip, 2, in cardbus_primary_busno()
518 if (entry->dip == dip) { in cardbus_find_phdl()
538 new->dip = dip; in cardbus_create_phdl()
559 if (entry->dip == dip) { in cardbus_destroy_phdl()
628 cardbus_err(dip, 6, in cardbus_program_ap()
735 cardbus_err(dip, 8, in cardbus_bridge_ranges()
1072 isa_phdl.dip = dip; in cardbus_isa_bridge_ranges()
3169 anode = dip;
[all …]
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c280 arg.nexus_dip = dip; in pcie_hp_uninit()
335 pcie_hp_create_occupant_props(dip, makedevice(ddi_driver_major(dip), in pcie_hp_probe()
369 pcie_hp_delete_occupant_props(dip, makedevice(ddi_driver_major(dip), in pcie_hp_unprobe()
440 dev_info_t *dip; member
455 ctrl.dip = NULL; in pcie_hp_devi_find()
462 return (ctrl.dip); in pcie_hp_devi_find()
505 cn_cfg.dip = NULL; in pcie_hp_create_occupant_props()
857 if (dip != NULL) in pcie_hp_register_port()
1053 ctrl->dip = NULL; in pcie_hp_match_dev_func()
1068 ctrl->dip = dip; in pcie_hp_match_dev_func()
[all …]
/illumos-gate/usr/src/uts/common/contract/
H A Ddevice.c505 dev_info_t *dip; in ctmpl_device_set() local
560 dip = NULL; in ctmpl_device_set()
980 ASSERT(dip); in contract_device_dvclean()
1051 if (dip) in contract_device_ack_nack()
1071 if (dip) in contract_device_ack_nack()
1428 ASSERT(dip); in wait_for_acks()
1503 if (DEVI_IS_DEVICE_OFFLINE(dip) || DEVI_IS_DEVICE_DOWN(dip)) in get_state()
1600 ASSERT(dip); in contract_device_publish()
1880 DEVI(dip)->devi_ct_count, (void *)dip)); in contract_device_publish()
2044 ASSERT(dip); in contract_device_negotiate()
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Diommulib.h111 #define IOMMU_USED(dip) \ argument
112 (DEVI(dip)->devi_iommulib_handle != NULL && \
113 DEVI(dip)->devi_iommulib_handle != IOMMU_HANDLE_UNUSED)
114 #define IOMMU_UNUSED(dip) \ argument
115 (DEVI(dip)->devi_iommulib_handle == IOMMU_HANDLE_UNUSED)
116 #define IOMMU_UNITIALIZED(dip) \ argument
117 (DEVI(dip)->devi_iommulib_handle == NULL)
147 void (*nops_dma_reset_cookies)(dev_info_t *dip,
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,
[all …]
/illumos-gate/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c170 free(dip); in dlpi_open()
185 free(dip); in dlpi_open()
206 free(dip); in dlpi_open()
253 free(dip); in dlpi_close()
272 if (dip == NULL) in dlpi_info()
445 if (dip == NULL) in dlpi_bind()
497 if (dip == NULL) in dlpi_unbind()
518 if (dip == NULL) in i_dlpi_multi()
559 if (dip == NULL) in i_dlpi_promisc()
899 return (dip != NULL ? dip->dli_fd : -1); in dlpi_fd()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Ddma_engine.c94 return (d37A_init(dip)); in i_dmae_init()
110 dip = dip; in i_dmae_acquire()
150 dip = dip; in i_dmae_free()
176 dip = dip; in i_dmae_get_best_mode()
229 dip = dip; in i_dmae_prog()
268 dip = dip; in i_dmae_swsetup()
297 dip = dip; in i_dmae_swstart()
317 dip = dip; in i_dmae_stop()
341 dip = dip; in i_dmae_enable()
361 dip = dip; in i_dmae_disable()
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba10.h51 dev_info_t *dip,
63 dev_info_t *dip,
72 dev_info_t *dip,
89 dev_info_t *dip,
96 dev_info_t *dip,
101 dev_info_t *dip,
150 dev_info_t *dip,
159 dev_info_t *dip,
185 dev_info_t *dip,
193 dev_info_t *dip,
[all …]

12345678910>>...48