/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_tools_ext.h | 38 extern int pcitool_dev_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode); 39 extern int pcitool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode); 40 extern int pcitool_intr_admn(dev_info_t *dip, void *arg, int cmd, int mode); 41 extern int pcitool_init(dev_info_t *dip, boolean_t is_pciex); 42 extern void pcitool_uninit(dev_info_t *dip);
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_tools_ext.h | 34 int pxtool_dev_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode); 35 int pxtool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode); 36 int pxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode); 37 int pxtool_init(dev_info_t *dip); 38 void pxtool_uninit(dev_info_t *dip);
|
H A D | px_lib.h | 37 #define DIP_TO_HANDLE(dip) ((px_t *)DIP_TO_STATE(dip))->px_dev_hdl 57 extern int px_lib_dev_init(dev_info_t *dip, devhandle_t *dev_hdl); 58 extern int px_lib_dev_fini(dev_info_t *dip); 59 extern int px_lib_map_vconfig(dev_info_t *dip, ddi_map_req_t *mp, 63 extern int px_lib_intr_devino_to_sysino(dev_info_t *dip, devino_t devino, 65 extern int px_lib_intr_getvalid(dev_info_t *dip, sysino_t sysino, 67 extern int px_lib_intr_setvalid(dev_info_t *dip, sysino_t sysino, 69 extern int px_lib_intr_getstate(dev_info_t *dip, sysino_t sysino, 71 extern int px_lib_intr_setstate(dev_info_t *dip, sysino_ [all...] |
H A D | px_util.h | 35 #define NAMEINST(dip) ddi_driver_name(dip), ddi_get_instance(dip) 36 #define NAMEADDR(dip) ddi_node_name(dip), ddi_get_name_addr(dip) 40 extern int px_report_dev(dev_info_t *dip); 41 extern int px_get_props(px_t *px_p, dev_info_t *dip); 43 extern int px_map_regs(px_t *px_p, dev_info_t *dip); 45 extern int pci_log_cfg_err(dev_info_t *dip, ushort_ [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,
|
H A D | px.c | 52 static int px_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 53 static int px_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 56 static int px_info(dev_info_t *dip, ddi_info_cmd_t infocmd, 59 static int px_pwr_setup(dev_info_t *dip); 60 static void px_pwr_teardown(dev_info_t *dip); 191 px_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument 224 px_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 227 int instance = DIP_TO_INST(dip); 235 DBG(DBG_ATTACH, dip, "DDI_ATTACH\n"); 246 ddi_driver_name(dip), instanc 453 px_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 590 dev_info_t *dip = px_p->px_dip; local 610 px_pwr_setup(dev_info_t *dip) argument 685 px_pwr_teardown(dev_info_t *dip) argument 727 px_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t off, off_t len, caddr_t *addrp) argument 839 px_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep) argument 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 944 px_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument 962 px_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, ddi_dma_req_t *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 1038 px_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument 1089 px_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 1189 px_dma_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, enum ddi_dma_ctlops cmd, off_t *offp, size_t *lenp, caddr_t *objp, uint_t cache_flags) argument 1252 px_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument 1382 px_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument 1435 dev_info_t *dip; local [all...] |
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/ |
H A D | pcishpc.h | 33 int pcishpc_init(dev_info_t *dip); 34 int pcishpc_uninit(dev_info_t *dip); 35 int pcishpc_intr(dev_info_t *dip); 38 int pcishpc_hp_ops(dev_info_t *dip, char *cn_name, ddi_hp_op_t op, void *arg,
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_driver.c | 71 cpr_suspend_devices(dev_info_t *dip) argument 76 for (; dip != NULL; dip = ddi_get_next_sibling(dip)) { 77 if (cpr_suspend_devices(ddi_get_child(dip))) 79 if (!cpr_is_real_device(dip)) 82 devi_string(dip, buf)); 83 ASSERT((DEVI(dip)->devi_cpr_flags & DCF_CPR_SUSPENDED) == 0); 86 i_cpr_save_configuration(dip); 90 if (!i_ddi_devi_attached(dip)) { 146 dev_info_t *dip, *next, *last = NULL; local 275 cpr_is_real_device(dev_info_t *dip) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/sys/pci/ |
H A D | pci_types.h | 38 #define NAMEINST(dip) ddi_driver_name(dip), ddi_get_instance(dip) 39 #define NAMEADDR(dip) ddi_node_name(dip), ddi_get_name_addr(dip)
|
H A D | pci_intr.h | 33 extern dev_info_t *get_my_childs_dip(dev_info_t *dip, dev_info_t *rdip); 34 extern int pci_add_intr(dev_info_t *dip, dev_info_t *rdip, 36 extern int pci_remove_intr(dev_info_t *dip, dev_info_t *rdip,
|
H A D | db21554_debug.h | 94 * when dip information need not be displayed along with the actual 99 #define DB_DEBUG0(func_id, dip, fmt) \ 100 db_debug(func_id, dip, fmt, 0, 0, 0, 0, 0); 101 #define DB_DEBUG1(func_id, dip, fmt, a1) \ 102 db_debug(func_id, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 103 #define DB_DEBUG2(func_id, dip, fmt, a1, a2) \ 104 db_debug(func_id, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 105 #define DB_DEBUG3(func_id, dip, fmt, a1, a2, a3) \ 106 db_debug(func_id, dip, fmt, (uintptr_t)(a1), \ 108 #define DB_DEBUG4(func_id, dip, fm [all...] |
H A D | pci_debug.h | 93 #define DEBUG0(flag, dip, fmt) \ 94 pci_debug(flag, dip, fmt, 0, 0, 0, 0, 0); 95 #define DEBUG1(flag, dip, fmt, a1) \ 96 pci_debug(flag, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 97 #define DEBUG2(flag, dip, fmt, a1, a2) \ 98 pci_debug(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 99 #define DEBUG3(flag, dip, fmt, a1, a2, a3) \ 100 pci_debug(flag, dip, fmt, (uintptr_t)(a1), \ 102 #define DEBUG4(flag, dip, fmt, a1, a2, a3, a4) \ 103 pci_debug(flag, dip, fm [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_hp_ndi.c | 64 ndi_hp_register(dev_info_t *dip, ddi_hp_cn_info_t *info_p) argument 69 DDI_HP_NEXDBG((CE_CONT, "ndi_hp_register: dip %p, info_p %p\n", 70 (void *)dip, (void *)info_p)); 77 if ((dip == NULL) || (info_p == NULL)) 80 if (!NEXUS_HAS_HP_OP(dip)) { 84 ndi_devi_enter(dip, &count); 86 hdlp = ddihp_cn_name_to_handle(dip, info_p->cn_name); 89 ndi_devi_exit(dip, count); 100 hdlp->cn_dip = dip; 107 DDI_HP_NEXDBG((CE_CONT, "ndi_hp_register: dip 135 ndi_hp_unregister(dev_info_t *dip, char *cn_name) argument 187 ndi_hp_state_change_req(dev_info_t *dip, char *cn_name, ddi_hp_cn_state_t state, uint_t flag) argument 272 ndi_hp_walk_cn(dev_info_t *dip, int (*f)(ddi_hp_cn_info_t *, void *), void *arg) argument 342 dev_info_t *dip = eventp->dip; local 374 dev_info_t *dip = hdlp->cn_dip; local [all...] |
H A D | ddi_intr_impl.c | 49 i_ddi_intr_devi_init(dev_info_t *dip) argument 53 DDI_INTR_APIDBG((CE_CONT, "i_ddi_intr_devi_init: dip %p\n", 54 (void *)dip)); 56 if (DEVI(dip)->devi_intr_p) 59 DEVI(dip)->devi_intr_p = kmem_zalloc(sizeof (devinfo_intr_t), KM_SLEEP); 61 supported_types = i_ddi_intr_get_supported_types(dip); 64 i_ddi_intr_set_supported_types(dip, supported_types); 68 i_ddi_intr_devi_fini(dev_info_t *dip) argument 70 devinfo_intr_t *intr_p = DEVI(dip)->devi_intr_p; 72 DDI_INTR_APIDBG((CE_CONT, "i_ddi_intr_devi_fini: dip 103 i_ddi_intr_get_supported_types(dev_info_t *dip) argument 125 i_ddi_intr_set_supported_types(dev_info_t *dip, int intr_types) argument 134 i_ddi_intr_get_supported_nintrs(dev_info_t *dip, int intr_type) argument 158 i_ddi_intr_set_supported_nintrs(dev_info_t *dip, int nintrs) argument 167 i_ddi_intr_get_current_type(dev_info_t *dip) argument 179 i_ddi_intr_set_current_type(dev_info_t *dip, int intr_type) argument 188 i_ddi_intr_get_current_nintrs(dev_info_t *dip) argument 200 i_ddi_intr_set_current_nintrs(dev_info_t *dip, int nintrs) argument 209 i_ddi_intr_get_current_nenables(dev_info_t *dip) argument 217 i_ddi_intr_set_current_nenables(dev_info_t *dip, int nintrs) argument 233 i_ddi_intr_get_current_navail(dev_info_t *dip, int type) argument 265 i_ddi_intr_get_limit(dev_info_t *dip, int type, ddi_irm_pool_t *pool_p) argument 310 i_ddi_get_msix(dev_info_t *dip) argument 318 i_ddi_set_msix(dev_info_t *dip, ddi_intr_msix_t *msix_p) argument 327 i_ddi_get_intr_handle(dev_info_t *dip, int inum) argument 346 i_ddi_set_intr_handle(dev_info_t *dip, int inum, ddi_intr_handle_t intr_hdl) argument 384 i_ddi_get_intr_weight(dev_info_t *dip) argument 396 i_ddi_set_intr_weight(dev_info_t *dip, int32_t weight) argument 421 i_ddi_get_intrspec(dev_info_t *dip, dev_info_t *rdip, uint_t inumber) argument 435 i_ddi_add_intrspec(dev_info_t *dip, dev_info_t *rdip, ddi_intrspec_t intrspec, ddi_iblock_cookie_t *iblock_cookiep, ddi_idevice_cookie_t *idevice_cookiep, uint_t (*int_handler)(caddr_t int_handler_arg), caddr_t int_handler_arg, int kind) argument 453 i_ddi_remove_intrspec(dev_info_t *dip, dev_info_t *rdip, ddi_intrspec_t intrspec, ddi_iblock_cookie_t iblock_cookie) argument 466 i_ddi_intr_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_ctlop_t op, void *arg, void *val) argument 544 i_ddi_get_pci_config_handle(dev_info_t *dip) argument 552 i_ddi_set_pci_config_handle(dev_info_t *dip, ddi_acc_handle_t handle) argument 562 i_ddi_get_msi_msix_cap_ptr(dev_info_t *dip) argument 570 i_ddi_set_msi_msix_cap_ptr(dev_info_t *dip, int cap_ptr) argument [all...] |
H A D | devcfg.c | 83 dev_info_t *mtc_pdip; /* parent dip for mt_config_children */ 84 dev_info_t **mtc_fdip; /* "a" dip where unconfigure failed */ 99 dev_info_t *dip; member in struct:devi_nodeid 127 dev_info_t *scsi_vhci_dip; /* MPXIO dip */ 221 static void ndi_devi_exit_and_wait(dev_info_t *dip, 223 static int ndi_devi_unbind_driver(dev_info_t *dip); 225 static int i_ddi_check_retire(dev_info_t *dip); 389 "dip=%p, name=%s", (void *)devi, node_name)); 418 i_ddi_free_node(dev_info_t *dip) argument 420 struct dev_info *devi = DEVI(dip); 504 ndi_devi_set_nodename(dev_info_t *dip, char *name, int flags) argument 540 i_ddi_add_devimap(dev_info_t *dip) argument 570 i_ddi_remove_devimap(dev_info_t *dip) argument 630 link_node(dev_info_t *dip) argument 705 unlink_node(dev_info_t *dip) argument 776 bind_node(dev_info_t *dip) argument 827 unbind_node(dev_info_t *dip) argument 853 init_node(dev_info_t *dip) argument 1080 uninit_node(dev_info_t *dip) argument 1193 probe_node(dev_info_t *dip) argument 1252 unprobe_node(dev_info_t *dip) argument 1271 attach_node(dev_info_t *dip) argument 1354 detach_node(dev_info_t *dip, uint_t flag) argument 1461 postattach_node(dev_info_t *dip) argument 1503 predetach_node(dev_info_t *dip, uint_t flag) argument 1549 i_ndi_config_node(dev_info_t *dip, ddi_node_state_t state, uint_t flag) argument 1641 i_ndi_unconfig_node(dev_info_t *dip, ddi_node_state_t state, uint_t flag) argument 1732 ddi_uninitchild(dev_info_t *dip) argument 1749 i_ddi_attachchild(dev_info_t *dip) argument 1782 i_ddi_detachchild(dev_info_t *dip, uint_t flags) argument 1805 dev_info_t *dip; local 1820 ddi_remove_child(dev_info_t *dip, int dummy) argument 1862 ndi_hold_devi(dev_info_t *dip) argument 1872 ndi_rele_devi(dev_info_t *dip) argument 1883 e_ddi_devi_holdcnt(dev_info_t *dip) argument 1892 ndi_hold_driver(dev_info_t *dip) argument 1902 ndi_rele_driver(dev_info_t *dip) argument 1913 ndi_devi_enter(dev_info_t *dip, int *circular) argument 1943 ndi_devi_exit(dev_info_t *dip, int circular) argument 1985 ndi_devi_exit_and_wait(dev_info_t *dip, int circular, clock_t end_time) argument 2015 ndi_devi_tryenter(dev_info_t *dip, int *circular) argument 2081 ndi_devi_free(dev_info_t *dip) argument 2102 ndi_devi_bind_driver(dev_info_t *dip, uint_t flags) argument 2125 ndi_devi_unbind_driver(dev_info_t *dip) argument 2140 i_ddi_node_state(dev_info_t *dip) argument 2149 i_ddi_set_node_state(dev_info_t *dip, ddi_node_state_t state) argument 2162 i_ddi_devi_attached(dev_info_t *dip) argument 2202 dev_info_t *dip; local 2276 find_duplicate_child(dev_info_t *pdip, dev_info_t *dip) argument 2317 dev_info_t *dip; local 2336 dev_info_t *dip; local 2363 dev_info_t *dip; local 2497 i_ddi_get_exported_classes(dev_info_t *dip, char ***classes) argument 2623 ndi_merge_node(dev_info_t *dip, int (*make_ua)(dev_info_t *, char *, int)) argument 2704 ndi_merge_wildcard_node(dev_info_t *dip) argument 2766 ddi_compatible_driver_major(dev_info_t *dip, char **formp) argument 2846 lookup_compatible(dev_info_t *dip, uint_t flag) argument 2942 link_to_driver_list(dev_info_t *dip) argument 2965 unlink_from_driver_list(dev_info_t *dip) argument 2991 in_dn_list(struct devnames *dnp, dev_info_t *dip) argument 3014 add_to_ordered_dn_list(struct devnames *dnp, dev_info_t *dip) argument 3053 add_to_dn_list(struct devnames *dnp, dev_info_t *dip) argument 3069 remove_from_dn_list(struct devnames *dnp, dev_info_t *dip) argument 3097 add_global_props(dev_info_t *dip) argument 3121 remove_global_props(dev_info_t *dip) argument 3298 da_log_enter(dev_info_t *dip) argument 3432 dev_info_t *dip; member in struct:walk_elem 3446 append_node(struct walk_elem **list, dev_info_t *dip) argument 3470 walk_devs(dev_info_t *dip, int (*f)(dev_info_t *, void *), void *arg, int do_locking) argument 3562 ddi_walk_devs(dev_info_t *dip, int (*f)(dev_info_t *, void *), void *arg) argument 3586 dev_info_t *dip; local 3613 dev_info_t *dip; /* result */ member in struct:match_info 3620 i_find_devi(dev_info_t *dip, void *arg) argument 3762 ddi_is_pci_dip(dev_info_t *dip) argument 4020 dev_info_t *dip = NULL; local 4067 should_implement_quiesce(dev_info_t *dip) argument 4119 check_driver_quiesce(dev_info_t *dip, void *arg) argument 4151 quiesce_one_device(dev_info_t *dip, void *arg) argument 4199 quiesce_devices(dev_info_t *dip, void *arg) argument 4218 reset_leaf_device(dev_info_t *dip, void *arg) argument 4312 bind_dip(dev_info_t *dip, void *arg) argument 4374 unbind_alias_dev_in_use(dev_info_t *dip, char *alias) argument 4388 unbind_children_by_alias(dev_info_t *dip, void *arg) argument 4458 unbind_children_by_driver(dev_info_t *dip, void *arg) argument 4583 dev_info_t *dip; local 4602 i_ndi_devi_report_status_change(dev_info_t *dip, char *path) argument 4652 i_log_devfs_add_devinfo(dev_info_t *dip, uint_t flags) argument 4847 i_ddi_log_devfs_device_remove(dev_info_t *dip) argument 4872 i_ddi_log_devfs_device_insert(dev_info_t *dip) argument 4939 i_log_devfs_branch_add(dev_info_t *dip) argument 4965 brevq_enqueue(struct brevq_node **brevqp, dev_info_t *dip, struct brevq_node *child) argument 5027 log_and_free_brevq_dip(dev_info_t *dip, struct brevq_node *brevq) argument 5042 log_and_free_br_events_on_grand_children(dev_info_t *dip, struct brevq_node *brevq) argument 5067 cleanup_br_events_on_grand_children(dev_info_t *dip, struct brevq_node **brevqp) argument 5131 need_remove_event(dev_info_t *dip, int flags) argument 5150 devi_unconfig_branch(dev_info_t *dip, dev_info_t **dipp, int flags, struct brevq_node **brevqp) argument 5182 init_bound_node_ev(dev_info_t *pdip, dev_info_t *dip, int flags) argument 5194 devi_attach_node(dev_info_t *dip, uint_t flags) argument 5318 devi_config_common(dev_info_t *dip, int flags, major_t major) argument 5365 ndi_devi_config(dev_info_t *dip, int flags) argument 5378 ndi_devi_config_driver(dev_info_t *dip, int flags, major_t major) argument 5709 e_ddi_offline_notify(dev_info_t *dip) argument 5810 e_ddi_offline_finalize(dev_info_t *dip, int result) argument 5828 e_ddi_degrade_finalize(dev_info_t *dip) argument 5844 e_ddi_undegrade_finalize(dev_info_t *dip) argument 5860 devi_detach_node(dev_info_t *dip, uint_t flags) argument 6013 unconfig_immediate_children( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major) argument 6101 unconfig_grand_children( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major, struct brevq_node **brevqp) argument 6127 devi_unconfig_common( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major, struct brevq_node **brevqp) argument 6213 ndi_devi_unconfig_driver(dev_info_t *dip, int flags, major_t major) argument 6223 ndi_devi_unconfig(dev_info_t *dip, int flags) argument 6233 e_ddi_devi_unconfig(dev_info_t *dip, dev_info_t **dipp, int flags) argument 6387 dev_info_t *dip; member in struct:async_arg 6397 i_ndi_devi_async_common(dev_info_t *dip, uint_t flags, void (*func)()) argument 6444 ndi_devi_bind_driver_async(dev_info_t *dip, uint_t flags) argument 6454 ndi_devi_online(dev_info_t *dip, uint_t flags) argument 6545 ndi_devi_online_async(dev_info_t *dip, uint_t flags) argument 6569 ndi_devi_offline(dev_info_t *dip, uint_t flags) argument 6711 reset_nexus_flags(dev_info_t *dip, void *arg) argument 6754 dev_info_t *dip; local 6820 dev_info_t *dip; local 6921 dev_info_t *dip; local 6975 dev_info_t *dip = NULL; local 7003 dev_info_t *dip; local 7012 e_ddi_hold_devi(dev_info_t *dip) argument 7018 ddi_release_devi(dev_info_t *dip) argument 7029 ddi_assoc_queue_with_devi(queue_t *q, dev_info_t *dip) argument 7087 i_ddi_attach_node_hierarchy(dev_info_t *dip) argument 7118 dev_info_t *dip; local 7189 dev_info_t *dip; local 7208 dev_info_t *dip, *pdip; local 7251 dev_info_t *dip; local 7478 impl_rem_dev_props(dev_info_t *dip) argument 7488 is_leaf_node(dev_info_t *dip) argument 7592 dev_info_t *dip = mcd->mtc_dip; local 7669 dev_info_t *dip; local 7782 dev_info_t *dip; local 7858 dev_info_t *dip = NULL; local 7984 i_bind_vhci_node(dev_info_t *dip) argument 7993 i_init_vhci_node(dev_info_t *dip) argument 8009 i_link_vhci_node(dev_info_t *dip) argument 8046 dev_info_t *dip; local 8126 ndi_devi_device_isremoved(dev_info_t *dip) argument 8132 ndi_devi_device_remove(dev_info_t *dip) argument 8169 ndi_devi_device_insert(dev_info_t *dip) argument 8221 e_ddi_mark_retiring(dev_info_t *dip, void *arg) argument 8280 e_ddi_retire_notify(dev_info_t *dip, void *arg) argument 8315 e_ddi_retire_finalize(dev_info_t *dip, void *arg) argument 8397 dev_info_t *dip; local 8495 unmark_and_unfence(dev_info_t *dip, void *arg) argument 8527 find_dip_fcn(dev_info_t *dip, void *arg) argument 8549 dev_info_t *dip; local 8617 mark_and_fence(dev_info_t *dip, void *arg) argument 8655 i_ddi_check_retire(dev_info_t *dip) argument [all...] |
H A D | sunpm.c | 46 * devices (PM_ISBC(dip) returns true). 270 * per-dip locks: 272 * Each node has these per-dip locks, which are only used if the device is 299 * up or after a CPR operation. It is per-dip to keep from 321 #define PM_MIN_SCAN(dip) (PM_ISCPU(dip) ? pm_cpu_min_scan : \ 412 * pm_divertdebug is incremented in pm_set_power() if dip == cfb_dip to avoid 503 #define PM_MAJOR(dip) ddi_driver_major(dip) 504 #define PM_IS_NEXUS(dip) ((PM_MAJO 723 pm_scan_init(dev_info_t *dip) argument 749 pm_scan_fini(dev_info_t *dip) argument 829 e_pm_valid_power(dev_info_t *dip, int cmpt, int level) argument 860 e_pm_valid_info(dev_info_t *dip, pm_info_t **infop) argument 889 e_pm_valid_comp(dev_info_t *dip, int cmpt, pm_component_t **cpp) argument 904 dev_is_needed(dev_info_t *dip, int cmpt, int level, int direction) argument 953 dev_info_t *dip = (dev_info_t *)arg; local 1034 dev_info_t *dip = (dev_info_t *)arg; local 1111 pm_get_timestamps(dev_info_t *dip, time_t *valuep) argument 1132 pm_noinvol(dev_info_t *dip) argument 1190 pm_scan_dev(dev_info_t *dip) argument 1349 pm_scan_stop(dev_info_t *dip) argument 1385 pm_scan_stop_walk(dev_info_t *dip, void *arg) argument 1437 pm_ppm_claimed(dev_info_t *dip) argument 1447 pm_clear_volpm_dip(dev_info_t *dip) argument 1467 pm_clear_volpm_list(dev_info_t *dip) argument 1500 power_dev(dev_info_t *dip, int comp, int level, int old_level, pm_canblock_t canblock, pm_ppm_devlist_t **devlist) argument 1653 pm_devi_lock_held(dev_info_t *dip) argument 1692 pm_set_power(dev_info_t *dip, int comp, int level, int direction, pm_canblock_t canblock, int scan, int *retp) argument 1865 dev_info_t *dip; local 2070 e_pm_hold_rele_power(dev_info_t *dip, int cnt) argument 2109 pm_ppm_notify_all_lowest(dev_info_t *dip, int mode) argument 2144 pm_set_pm_info(dev_info_t *dip, void *value) argument 2155 pm_rsvp_lookup(dev_info_t *dip, int comp) argument 2173 pm_proceed(dev_info_t *dip, int cmd, int comp, int newlevel) argument 2290 pm_rem_info(dev_info_t *dip) argument 2356 pm_get_norm_pwrs(dev_info_t *dip, int **valuep, size_t *length) argument 2380 pm_reset_timestamps(dev_info_t *dip, void *arg) argument 2411 pm_level_to_index(dev_info_t *dip, pm_component_t *cp, int level) argument 2438 e_pm_set_cur_pwr(dev_info_t *dip, pm_component_t *cp, int level) argument 2471 pm_power(dev_info_t *dip, int comp, int level) argument 2524 pm_unmanage(dev_info_t *dip) argument 2549 pm_raise_power(dev_info_t *dip, int comp, int level) argument 2561 pm_lower_power(dev_info_t *dip, int comp, int level) argument 2604 pm_psc_dip_to_direct(dev_info_t *dip, pscc_t **psccp) argument 2634 psc_entry(ushort_t event, psce_t *psce, dev_info_t *dip, int comp, int new, int old, int which, pm_canblock_t canblock) argument 2728 pm_enqueue_notify(ushort_t cmd, dev_info_t *dip, int comp, int newlevel, int oldlevel, pm_canblock_t canblock) argument 2815 pm_try_parent_child_locks(dev_info_t *pdip, dev_info_t *dip, int *pcircp, int *circp) argument 2840 pm_blocked_by_us(dev_info_t *dip) argument 2877 pm_notify_parent(dev_info_t *dip, dev_info_t *pdip, int comp, int old_level, int level) argument 2902 pm_check_and_resume(dev_info_t *dip, int comp, int old_level, int level) argument 2940 pm_power_has_changed(dev_info_t *dip, int comp, int level) argument 3062 calc_cfb_comps_incr(dev_info_t *dip, int cmpt, int old, int new) argument 3080 update_comps_off(int incr, dev_info_t *dip) argument 3093 pm_phc_impl(dev_info_t *dip, int comp, int level, int notify) argument 3224 pm_register_ppm(int (*func)(dev_info_t *), dev_info_t *dip) argument 3289 pm_ppm_claim(dev_info_t *dip) argument 3314 pm_detaching(dev_info_t *dip) argument 3358 pm_detach_failed(dev_info_t *dip) argument 3397 e_pm_default_levels(dev_info_t *dip, pm_component_t *cp, int norm) argument 3408 e_pm_default_components(dev_info_t *dip, int cmpts) argument 3435 pm_premanage(dev_info_t *dip, int style) argument 3535 e_pm_manage(dev_info_t *dip, int style) argument 3596 pm_get_normal_power(dev_info_t *dip, int comp) argument 3609 pm_get_current_power(dev_info_t *dip, int comp, int *levelp) argument 3622 cur_threshold(dev_info_t *dip, int comp) argument 3672 pm_update_maxpower(dev_info_t *dip, int comp, int level) argument 3701 pm_all_to_normal(dev_info_t *dip, pm_canblock_t canblock) argument 3739 pm_all_at_normal(dev_info_t *dip) argument 3896 e_pm_create_components(dev_info_t *dip, int num_components) argument 3988 e_pm_set_max_power(dev_info_t *dip, int component_number, int level) argument 3997 e_pm_get_max_power(dev_info_t *dip, int component_number) argument 4007 e_pm_destroy_components(dev_info_t *dip) argument 4046 pm_autoconfig(dev_info_t *dip, int *errp) argument 4276 pm_set_device_threshold(dev_info_t *dip, int base, int flag) argument 4454 ddi_dev_is_needed(dev_info_t *dip, int cmpt, int level) argument 4464 ddi_power(dev_info_t *dip, int pm_cmpt, int pm_level) argument 4482 ddi_removing_power(dev_info_t *dip) argument 4493 e_ddi_parental_suspend_resume(dev_info_t *dip) argument 4503 e_ddi_suspend(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 4517 e_ddi_resume(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 4531 pm_create_components(dev_info_t *dip, int num_components) argument 4560 pm_destroy_components(dev_info_t *dip) argument 4615 pm_busy_component(dev_info_t *dip, int cmpt) argument 4633 pm_idle_component(dev_info_t *dip, int cmpt) argument 4681 pm_set_normal_power(dev_info_t *dip, int comp, int level) argument 4702 pm_stop(dev_info_t *dip) argument 4749 e_new_pm_props(dev_info_t *dip) argument 4766 e_pm_props(dev_info_t *dip) argument 4831 pm_default_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, void *arg, void *result) argument 5012 pm_start(dev_info_t *dip) argument 5177 pm_thresh_specd(dev_info_t *dip) argument 5263 dev_info_t *dip; local 5504 pm_valid_power(dev_info_t *dip, int comp, int level) argument 5524 pm_block(dev_info_t *dip, int comp, int newpower, int oldpower) argument 5586 pm_register_watcher(int clone, dev_info_t *dip) argument 5717 pm_deregister_watcher(int clone, dev_info_t *dip) argument 5852 pm_set_dev_thr_walk(dev_info_t *dip, void *arg) argument 5866 pm_current_threshold(dev_info_t *dip, int comp, int *threshp) argument 5884 pm_lock_power(dev_info_t *dip, int *circp) argument 5892 (void) pm_ctlops(PPM(dip), dip, DDI_CTLOPS_POWER, &power_req, &result); local 5900 pm_unlock_power(dev_info_t *dip, int circ) argument 5908 (void) pm_ctlops(PPM(dip), dip, DDI_CTLOPS_POWER, &power_req, &result); local 5919 pm_try_locking_power(dev_info_t *dip, int *circp) argument 5927 (void) pm_ctlops(PPM(dip), dip, DDI_CTLOPS_POWER, &power_req, &result); local 5955 pm_lock_power_single(dev_info_t *dip, int *circp) argument 5991 pm_unlock_power_single(dev_info_t *dip, int circ) argument 6019 pm_try_locking_power_single(dev_info_t *dip, int *circp) argument 6072 pm_apply_recorded_thresh(dev_info_t *dip, pm_thresh_rec_t *rp) argument 6132 pm_valid_thresh(dev_info_t *dip, pm_thresh_rec_t *rp) argument 6261 pm_discard_dep_walk(dev_info_t *dip, void *arg) argument 6276 pm_kept_walk(dev_info_t *dip, void *arg) argument 6290 pm_keeper_walk(dev_info_t *dip, void *arg) argument 6554 pm_forget_power_level(dev_info_t *dip) argument 6809 pm_init_child(dev_info_t *dip) argument 6840 pm_pre_probe(dev_info_t *dip, pm_ppm_cookie_t *cp) argument 6853 (void) pm_ctlops(PPM(dip), dip, local 6869 pm_pre_config(dev_info_t *dip, char *devnm) argument 6896 pm_pre_unconfig(dev_info_t *dip, int flags, int *held, char *devnm) argument 6940 pm_pre_attach(dev_info_t *dip, pm_ppm_cookie_t *cp, ddi_attach_cmd_t cmd) argument 7015 pm_uninit_child(dev_info_t *dip) argument 7069 pm_post_config(dev_info_t *dip, char *devnm) argument 7085 pm_post_unconfig(dev_info_t *dip, int held, char *devnm) argument 7115 dev_info_t *dip; local 7159 pm_pre_detach(dev_info_t *dip, ddi_detach_cmd_t cmd, pm_ppm_cookie_t *cp) argument 7175 (void) pm_ctlops(PPM(dip), dip, DDI_CTLOPS_POWER, local 7274 pm_record_invol(dev_info_t *dip) argument 7301 dev_info_t *dip = cp->ppc_dip; local 7384 pm_adjust_timestamps(dev_info_t *dip, void *arg) argument 7410 pm_noinvol_specd(dev_info_t *dip) argument 7509 pm_all_components_off(dev_info_t *dip) argument 7534 dev_info_t *dip; local 7624 dev_info_t *dip; local 8000 pm_save_direct_lvl_walk(dev_info_t *dip, void *arg) argument 8048 pm_restore_direct_lvl_walk(dev_info_t *dip, void *arg) argument 8234 dev_info_t *dip; local 8386 pm_is_cfb(dev_info_t *dip) argument 8409 pm_hold_power(dev_info_t *dip) argument 8419 pm_rele_power(dev_info_t *dip) argument 8429 pm_powerup(dev_info_t *dip) argument 8452 pm_rescan_walk(dev_info_t *dip, void *arg) argument 8472 pm_get_next_descendent(dev_info_t *dip, dev_info_t *tdip) argument 8485 pm_busop_bus_power(dev_info_t *dip, void *impl_arg, pm_bus_power_op_t op, void *arg, void *result) argument 8646 pm_busop_set_power(dev_info_t *dip, void *impl_arg, pm_bus_power_op_t op, void *arg, void *resultp) argument 9020 pm_busop_match_request(dev_info_t *dip, void *arg) argument 9076 pm_all_to_normal_nexus(dev_info_t *dip, pm_canblock_t canblock) argument 9142 pm_noinvol_update_node(dev_info_t *dip, pm_bp_noinvol_t *req) argument 9238 pm_desc_pwrchk_walk(dev_info_t *dip, void *arg) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | dma_engine.c | 83 i_dmae_init(dev_info_t *dip) argument 94 return (d37A_init(dip)); 107 i_dmae_acquire(dev_info_t *dip, int chnl, int (*dmae_waitfp)(), caddr_t arg) argument 110 dip = dip; 131 * XXX - save dip for authentication later ?? 147 i_dmae_free(dev_info_t *dip, int chnl) argument 150 dip = dip; 156 * XXX - should dip b 173 i_dmae_get_best_mode(dev_info_t *dip, struct ddi_dmae_req *dmaereqp) argument 222 i_dmae_prog(dev_info_t *dip, struct ddi_dmae_req *dmaereqp, ddi_dma_cookie_t *cp, int chnl) argument 261 i_dmae_swsetup(dev_info_t *dip, struct ddi_dmae_req *dmaereqp, ddi_dma_cookie_t *cp, int chnl) argument 294 i_dmae_swstart(dev_info_t *dip, int chnl) argument 314 i_dmae_stop(dev_info_t *dip, int chnl) argument 338 i_dmae_enable(dev_info_t *dip, int chnl) argument 358 i_dmae_disable(dev_info_t *dip, int chnl) argument 379 i_dmae_get_chan_stat(dev_info_t *dip, int chnl, ulong_t *addressp, int *countp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/snowbird/os/ |
H A D | snowbird.c | 73 dev_info_t *dip; /* dip of the isa driver */ local 91 dip = e_ddi_hold_devi_by_path(PLATFORM_ISA_PATHNAME_WITH_SIMBA, 0); 93 if (dip == NULL) 94 dip = e_ddi_hold_devi_by_path(PLATFORM_ISA_PATHNAME, 0); 96 if (dip == NULL) { 101 if (pci_config_setup(dip, &platform_isa_handle) != DDI_SUCCESS) { 114 dip = e_ddi_hold_devi_by_path(SHARED_SMBUS_PATH, 0); 116 if (dip != NULL) { 117 ASSERT(dip ! 140 plat_ide_chipreset(dev_info_t *dip, int chno) argument 248 plat_shared_i2c_enter(dev_info_t *dip) argument 259 plat_shared_i2c_exit(dev_info_t *dip) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_ddi_impl.c | 85 translate_devid(dev_info_t *dip) argument 93 if ((devid = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, 96 if ((venid = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, 100 (void) ddi_prop_update_int(DDI_DEV_T_NONE, dip, "device-id", devid); 101 (void) ddi_prop_update_int(DDI_DEV_T_NONE, dip, "vendor-id", venid); 103 class_code = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, 105 (void) ddi_prop_update_int(DDI_DEV_T_NONE, dip, "class-clode", 108 ssvid = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, 111 (void) ddi_prop_update_int(DDI_DEV_T_NONE, dip, 114 ssid = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPAS [all...] |
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_hp.h | 44 dev_info_t *dip; /* first error occurred here */ member in struct:cardbus_config_ctrl 50 extern int cardbus_unconfigure_node(dev_info_t *dip, int prim_bus, 52 extern int cbus_configure(dev_info_t *dip, void *hdl);
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba10_calls.c | 51 dev_info_t *dip, 58 dip, version, dev_data, parse_level, flags)); 64 dev_info_t *dip, 67 usb_unregister_client(dip, dev_data); 73 dev_info_t *dip, 76 usb_free_descr_tree(dip, dev_data); 94 dev_info_t *dip, 102 dip, dev_datap, interface, alternate, type, direction)); 108 dev_info_t *dip, 114 return (usb_get_string_descr(dip, langi 50 usba10_usb_register_client( dev_info_t *dip, uint_t version, usb_client_dev_data_t **dev_data, usb_reg_parse_lvl_t parse_level, usb_flags_t flags) argument 63 usba10_usb_unregister_client( dev_info_t *dip, usb_client_dev_data_t *dev_data) argument 72 usba10_usb_free_descr_tree( dev_info_t *dip, usb_client_dev_data_t *dev_data) argument 93 usba10_usb_get_ep_data( dev_info_t *dip, usb_client_dev_data_t *dev_datap, uint_t interface, uint_t alternate, uint_t type, uint_t direction) argument 107 usba10_usb_get_string_descr( dev_info_t *dip, uint16_t langid, uint8_t index, char *buf, size_t buflen) argument 119 usba10_usb_get_addr(dev_info_t *dip) argument 126 usba10_usb_get_if_number(dev_info_t *dip) argument 133 usba10_usb_owns_device(dev_info_t *dip) argument 157 usba10_usb_pipe_open( dev_info_t *dip, usb_ep_descr_t *ep, usb_pipe_policy_t *pipe_policy, usb_flags_t flags, usb_pipe_handle_t *pipe_handle) argument 169 usba10_usb_pipe_close( dev_info_t *dip, usb_pipe_handle_t pipe_handle, usb_flags_t flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument 185 usba10_usb_pipe_drain_reqs( dev_info_t *dip, usb_pipe_handle_t pipe_handle, uint_t time, usb_flags_t flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument 219 usba10_usb_pipe_reset( dev_info_t *dip, usb_pipe_handle_t pipe_handle, usb_flags_t usb_flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument 235 usba10_usb_alloc_ctrl_req( dev_info_t *dip, size_t len, usb_flags_t flags) argument 262 usba10_usb_get_status( dev_info_t *dip, usb_pipe_handle_t ph, uint_t type, uint_t what, uint16_t *status, usb_flags_t flags) argument 275 usba10_usb_clear_feature( dev_info_t *dip, usb_pipe_handle_t ph, uint_t type, uint_t feature, uint_t what, usb_flags_t flags) argument 302 usba10_usb_set_cfg( dev_info_t *dip, uint_t cfg_index, usb_flags_t usb_flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument 318 usba10_usb_get_cfg( dev_info_t *dip, uint_t *cfgval, usb_flags_t usb_flags) argument 328 usba10_usb_set_alt_if( dev_info_t *dip, uint_t interface, uint_t alt_number, usb_flags_t usb_flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument 346 usba10_usb_get_alt_if( dev_info_t *dip, uint_t if_number, uint_t *alt_number, usb_flags_t flags) argument 357 usba10_usb_alloc_bulk_req( dev_info_t *dip, size_t len, usb_flags_t flags) argument 384 usba10_usb_pipe_bulk_transfer_size( dev_info_t *dip, size_t *size) argument 393 usba10_usb_alloc_intr_req( dev_info_t *dip, size_t len, usb_flags_t flags) argument 429 usba10_usb_alloc_isoc_req( dev_info_t *dip, uint_t isoc_pkts_count, size_t len, usb_flags_t flags) argument 447 usba10_usb_get_current_frame_number(dev_info_t *dip) argument 454 usba10_usb_get_max_isoc_pkts(dev_info_t *dip) argument 480 usba10_usb_req_raise_power( dev_info_t *dip, int comp, int level, void (*cb)(void *arg, int rval), void *arg, usb_flags_t flags) argument 493 usba10_usb_req_lower_power( dev_info_t *dip, int comp, int level, void (*cb)(void *arg, int rval), void *arg, usb_flags_t flags) argument 506 usba10_usb_is_pm_enabled(dev_info_t *dip) argument 512 usba10_usb_handle_remote_wakeup( dev_info_t *dip, int cmd) argument 521 usba10_usb_create_pm_components( dev_info_t *dip, uint_t *pwrstates) argument 530 usba10_usb_set_device_pwrlvl0(dev_info_t *dip) argument 537 usba10_usb_set_device_pwrlvl1(dev_info_t *dip) argument 544 usba10_usb_set_device_pwrlvl2(dev_info_t *dip) argument 551 usba10_usb_set_device_pwrlvl3(dev_info_t *dip) argument 558 usba10_usb_async_req( dev_info_t *dip, void (*func)(void *), void *arg, usb_flags_t flag) argument 569 usba10_usb_register_event_cbs( dev_info_t *dip, usb_event_t *usb_evt_data, usb_flags_t flags) argument 579 usba10_usb_unregister_event_cbs( dev_info_t *dip, usb_event_t *usb_evt_data) argument 588 usba10_usb_fail_checkpoint( dev_info_t *dip, usb_flags_t flags) argument 609 usba10_usb_alloc_log_handle( dev_info_t *dip, char *name, uint_t *errlevel, uint_t *mask, uint_t *instance_filter, uint_t show_label, usb_flags_t flags) argument 642 usba10_usb_print_descr_tree( dev_info_t *dip, usb_client_dev_data_t *dev_data) argument 651 usba10_usb_check_same_device( dev_info_t *dip, usb_log_handle_t log_handle, int log_level, int log_mask, uint_t check_mask, char *device_string) argument [all...] |
/illumos-gate/usr/src/uts/sparc/io/pciex/ |
H A D | pcie_sparc.c | 33 pcie_init_plat(dev_info_t *dip) argument 35 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); 42 for (pdip = ddi_get_parent(dip); pdip; 58 pcie_fini_plat(dev_info_t *dip) argument 60 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); 67 pcie_plat_pwr_setup(dev_info_t *dip) argument 69 if (ddi_prop_create(DDI_DEV_T_NONE, dip, DDI_PROP_CANSLEEP, 72 ddi_driver_name(dip), ddi_get_instance(dip)); 82 pcie_plat_pwr_teardown(dev_info_t *dip) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/ |
H A D | pcmu_util.h | 83 #define PCMU_DBG0(flag, dip, fmt) \ 84 pcmu_debug(flag, dip, fmt, 0, 0, 0, 0, 0); 86 #define PCMU_DBG1(flag, dip, fmt, a1) \ 87 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 89 #define PCMU_DBG2(flag, dip, fmt, a1, a2) \ 90 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 92 #define PCMU_DBG3(flag, dip, fmt, a1, a2, a3) \ 93 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), \ 96 #define PCMU_DBG4(flag, dip, fmt, a1, a2, a3, a4) \ 97 pcmu_debug(flag, dip, fm [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sunpm.h | 111 int pm_create_components(dev_info_t *dip, int num_components); 113 void pm_destroy_components(dev_info_t *dip); 115 void pm_set_normal_power(dev_info_t *dip, int component_number, int level); 117 int pm_get_normal_power(dev_info_t *dip, int component_number); 123 int pm_busy_component(dev_info_t *dip, int component_number); 125 int pm_idle_component(dev_info_t *dip, int component_number); 127 int pm_get_current_power(dev_info_t *dip, int component, int *levelp); 133 int pm_lower_power(dev_info_t *dip, int comp, int level); 135 int pm_raise_power(dev_info_t *dip, int comp, int level); 137 int pm_update_maxpower(dev_info_t *dip, in [all...] |
H A D | ddi_impldefs.h | 84 typedef int (*ddi_cb_func_t)(dev_info_t *dip, ddi_cb_action_t action, 253 /* For device contracts that have this dip's minor node as resource */ 257 int devi_ct_neg; /* neg. occurred on dip */ 361 #define DEVI_IS_DEVICE_OFFLINE(dip) \ 362 ((DEVI(dip)->devi_state & DEVI_DEVICE_OFFLINE) == DEVI_DEVICE_OFFLINE) 364 #define DEVI_SET_DEVICE_ONLINE(dip) { \ 365 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \ 366 if (DEVI(dip)->devi_state & DEVI_DEVICE_DEGRADED) { \ 367 mutex_exit(&DEVI(dip)->devi_lock); \ 368 e_ddi_undegrade_finalize(dip); \ 740 dev_info_t *dip; /* pointer to devinfo node */ member in struct:ddi_minor_data [all...] |