Searched refs:dip (Results 1 - 25 of 1163) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_tools_ext.h38 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 Dpx_tools_ext.h34 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 Dpx_lib.h37 #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 Dpx_util.h35 #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 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/common/sys/hotplug/pci/
H A Dpcishpc.h33 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 Dcpr_driver.c71 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 Dpci_types.h38 #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 Dpci_intr.h33 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 Ddb21554_debug.h94 * 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 Dpci_debug.h93 #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 Dddi_hp_ndi.c64 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 Dddi_intr_impl.c49 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 Ddevcfg.c86 dev_info_t *mtc_pdip; /* parent dip for mt_config_children */
87 dev_info_t **mtc_fdip; /* "a" dip where unconfigure failed */
102 dev_info_t *dip; member in struct:devi_nodeid
130 dev_info_t *scsi_vhci_dip; /* MPXIO dip */
224 static void ndi_devi_exit_and_wait(dev_info_t *dip,
226 static int ndi_devi_unbind_driver(dev_info_t *dip);
228 static int i_ddi_check_retire(dev_info_t *dip);
393 "dip=%p, name=%s", (void *)devi, node_name));
422 i_ddi_free_node(dev_info_t *dip) argument
424 struct dev_info *devi = DEVI(dip);
508 ndi_devi_set_nodename(dev_info_t *dip, char *name, int flags) argument
544 i_ddi_add_devimap(dev_info_t *dip) argument
574 i_ddi_remove_devimap(dev_info_t *dip) argument
634 link_node(dev_info_t *dip) argument
709 unlink_node(dev_info_t *dip) argument
780 bind_node(dev_info_t *dip) argument
831 unbind_node(dev_info_t *dip) argument
857 init_node(dev_info_t *dip) argument
1084 uninit_node(dev_info_t *dip) argument
1197 probe_node(dev_info_t *dip) argument
1256 unprobe_node(dev_info_t *dip) argument
1275 attach_node(dev_info_t *dip) argument
1358 detach_node(dev_info_t *dip, uint_t flag) argument
1465 postattach_node(dev_info_t *dip) argument
1507 predetach_node(dev_info_t *dip, uint_t flag) argument
1553 i_ndi_config_node(dev_info_t *dip, ddi_node_state_t state, uint_t flag) argument
1645 i_ndi_unconfig_node(dev_info_t *dip, ddi_node_state_t state, uint_t flag) argument
1736 ddi_uninitchild(dev_info_t *dip) argument
1753 i_ddi_attachchild(dev_info_t *dip) argument
1786 i_ddi_detachchild(dev_info_t *dip, uint_t flags) argument
1809 dev_info_t *dip; local
1824 ddi_remove_child(dev_info_t *dip, int dummy) argument
1866 ndi_hold_devi(dev_info_t *dip) argument
1876 ndi_rele_devi(dev_info_t *dip) argument
1887 e_ddi_devi_holdcnt(dev_info_t *dip) argument
1896 ndi_hold_driver(dev_info_t *dip) argument
1906 ndi_rele_driver(dev_info_t *dip) argument
1917 ndi_devi_enter(dev_info_t *dip, int *circular) argument
1947 ndi_devi_exit(dev_info_t *dip, int circular) argument
1989 ndi_devi_exit_and_wait(dev_info_t *dip, int circular, clock_t end_time) argument
2019 ndi_devi_tryenter(dev_info_t *dip, int *circular) argument
2085 ndi_devi_free(dev_info_t *dip) argument
2106 ndi_devi_bind_driver(dev_info_t *dip, uint_t flags) argument
2129 ndi_devi_unbind_driver(dev_info_t *dip) argument
2144 i_ddi_node_state(dev_info_t *dip) argument
2153 i_ddi_set_node_state(dev_info_t *dip, ddi_node_state_t state) argument
2166 i_ddi_devi_attached(dev_info_t *dip) argument
2206 dev_info_t *dip; local
2281 find_duplicate_child(dev_info_t *pdip, dev_info_t *dip) argument
2322 dev_info_t *dip; local
2341 dev_info_t *dip; local
2368 dev_info_t *dip; local
2502 i_ddi_get_exported_classes(dev_info_t *dip, char ***classes) argument
2628 ndi_merge_node(dev_info_t *dip, int (*make_ua)(dev_info_t *, char *, int)) argument
2709 ndi_merge_wildcard_node(dev_info_t *dip) argument
2771 ddi_compatible_driver_major(dev_info_t *dip, char **formp) argument
2851 lookup_compatible(dev_info_t *dip, uint_t flag) argument
2947 link_to_driver_list(dev_info_t *dip) argument
2970 unlink_from_driver_list(dev_info_t *dip) argument
2996 in_dn_list(struct devnames *dnp, dev_info_t *dip) argument
3019 add_to_ordered_dn_list(struct devnames *dnp, dev_info_t *dip) argument
3058 add_to_dn_list(struct devnames *dnp, dev_info_t *dip) argument
3074 remove_from_dn_list(struct devnames *dnp, dev_info_t *dip) argument
3102 add_global_props(dev_info_t *dip) argument
3126 remove_global_props(dev_info_t *dip) argument
3303 da_log_enter(dev_info_t *dip) argument
3437 dev_info_t *dip; member in struct:walk_elem
3451 append_node(struct walk_elem **list, dev_info_t *dip) argument
3475 walk_devs(dev_info_t *dip, int (*f)(dev_info_t *, void *), void *arg, int do_locking) argument
3566 ddi_walk_devs(dev_info_t *dip, int (*f)(dev_info_t *, void *), void *arg) argument
3589 dev_info_t *dip; local
3618 preroot_walk_block_devices_walker(dev_info_t *dip, void *arg) argument
3701 dev_info_t *dip; /* result */ member in struct:match_info
3708 i_find_devi(dev_info_t *dip, void *arg) argument
3850 ddi_is_pci_dip(dev_info_t *dip) argument
4108 dev_info_t *dip = NULL; local
4155 should_implement_quiesce(dev_info_t *dip) argument
4207 check_driver_quiesce(dev_info_t *dip, void *arg) argument
4239 quiesce_one_device(dev_info_t *dip, void *arg) argument
4287 quiesce_devices(dev_info_t *dip, void *arg) argument
4306 reset_leaf_device(dev_info_t *dip, void *arg) argument
4400 bind_dip(dev_info_t *dip, void *arg) argument
4462 unbind_alias_dev_in_use(dev_info_t *dip, char *alias) argument
4476 unbind_children_by_alias(dev_info_t *dip, void *arg) argument
4546 unbind_children_by_driver(dev_info_t *dip, void *arg) argument
4671 dev_info_t *dip; local
4690 i_ndi_devi_report_status_change(dev_info_t *dip, char *path) argument
4740 i_log_devfs_add_devinfo(dev_info_t *dip, uint_t flags) argument
4935 i_ddi_log_devfs_device_remove(dev_info_t *dip) argument
4960 i_ddi_log_devfs_device_insert(dev_info_t *dip) argument
5027 i_log_devfs_branch_add(dev_info_t *dip) argument
5053 brevq_enqueue(struct brevq_node **brevqp, dev_info_t *dip, struct brevq_node *child) argument
5115 log_and_free_brevq_dip(dev_info_t *dip, struct brevq_node *brevq) argument
5130 log_and_free_br_events_on_grand_children(dev_info_t *dip, struct brevq_node *brevq) argument
5155 cleanup_br_events_on_grand_children(dev_info_t *dip, struct brevq_node **brevqp) argument
5219 need_remove_event(dev_info_t *dip, int flags) argument
5238 devi_unconfig_branch(dev_info_t *dip, dev_info_t **dipp, int flags, struct brevq_node **brevqp) argument
5270 init_bound_node_ev(dev_info_t *pdip, dev_info_t *dip, int flags) argument
5282 devi_attach_node(dev_info_t *dip, uint_t flags) argument
5406 devi_config_common(dev_info_t *dip, int flags, major_t major) argument
5453 ndi_devi_config(dev_info_t *dip, int flags) argument
5466 ndi_devi_config_driver(dev_info_t *dip, int flags, major_t major) argument
5797 e_ddi_offline_notify(dev_info_t *dip) argument
5898 e_ddi_offline_finalize(dev_info_t *dip, int result) argument
5916 e_ddi_degrade_finalize(dev_info_t *dip) argument
5932 e_ddi_undegrade_finalize(dev_info_t *dip) argument
5948 devi_detach_node(dev_info_t *dip, uint_t flags) argument
6101 unconfig_immediate_children( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major) argument
6189 unconfig_grand_children( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major, struct brevq_node **brevqp) argument
6215 devi_unconfig_common( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major, struct brevq_node **brevqp) argument
6301 ndi_devi_unconfig_driver(dev_info_t *dip, int flags, major_t major) argument
6311 ndi_devi_unconfig(dev_info_t *dip, int flags) argument
6321 e_ddi_devi_unconfig(dev_info_t *dip, dev_info_t **dipp, int flags) argument
6475 dev_info_t *dip; member in struct:async_arg
6485 i_ndi_devi_async_common(dev_info_t *dip, uint_t flags, void (*func)()) argument
6532 ndi_devi_bind_driver_async(dev_info_t *dip, uint_t flags) argument
6542 ndi_devi_online(dev_info_t *dip, uint_t flags) argument
6633 ndi_devi_online_async(dev_info_t *dip, uint_t flags) argument
6657 ndi_devi_offline(dev_info_t *dip, uint_t flags) argument
6799 reset_nexus_flags(dev_info_t *dip, void *arg) argument
6842 dev_info_t *dip; local
6908 dev_info_t *dip; local
7009 dev_info_t *dip; local
7063 dev_info_t *dip = NULL; local
7091 dev_info_t *dip; local
7100 e_ddi_hold_devi(dev_info_t *dip) argument
7106 ddi_release_devi(dev_info_t *dip) argument
7117 ddi_assoc_queue_with_devi(queue_t *q, dev_info_t *dip) argument
7175 i_ddi_attach_node_hierarchy(dev_info_t *dip) argument
7206 dev_info_t *dip; local
7277 dev_info_t *dip; local
7296 dev_info_t *dip, *pdip; local
7339 dev_info_t *dip; local
7566 impl_rem_dev_props(dev_info_t *dip) argument
7576 is_leaf_node(dev_info_t *dip) argument
7680 dev_info_t *dip = mcd->mtc_dip; local
7757 dev_info_t *dip; local
7870 dev_info_t *dip; local
7946 dev_info_t *dip = NULL; local
8072 i_bind_vhci_node(dev_info_t *dip) argument
8081 i_init_vhci_node(dev_info_t *dip) argument
8097 i_link_vhci_node(dev_info_t *dip) argument
8134 dev_info_t *dip; local
8214 ndi_devi_device_isremoved(dev_info_t *dip) argument
8220 ndi_devi_device_remove(dev_info_t *dip) argument
8257 ndi_devi_device_insert(dev_info_t *dip) argument
8309 e_ddi_mark_retiring(dev_info_t *dip, void *arg) argument
8368 e_ddi_retire_notify(dev_info_t *dip, void *arg) argument
8403 e_ddi_retire_finalize(dev_info_t *dip, void *arg) argument
8485 dev_info_t *dip; local
8583 unmark_and_unfence(dev_info_t *dip, void *arg) argument
8615 find_dip_fcn(dev_info_t *dip, void *arg) argument
8637 dev_info_t *dip; local
8705 mark_and_fence(dev_info_t *dip, void *arg) argument
8743 i_ddi_check_retire(dev_info_t *dip) argument
[all...]
H A Dsunpm.c46 * 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
1035 dev_info_t *dip = (dev_info_t *)arg; local
1112 pm_get_timestamps(dev_info_t *dip, time_t *valuep) argument
1133 pm_noinvol(dev_info_t *dip) argument
1191 pm_scan_dev(dev_info_t *dip) argument
1350 pm_scan_stop(dev_info_t *dip) argument
1386 pm_scan_stop_walk(dev_info_t *dip, void *arg) argument
1438 pm_ppm_claimed(dev_info_t *dip) argument
1448 pm_clear_volpm_dip(dev_info_t *dip) argument
1468 pm_clear_volpm_list(dev_info_t *dip) argument
1501 power_dev(dev_info_t *dip, int comp, int level, int old_level, pm_canblock_t canblock, pm_ppm_devlist_t **devlist) argument
1654 pm_devi_lock_held(dev_info_t *dip) argument
1693 pm_set_power(dev_info_t *dip, int comp, int level, int direction, pm_canblock_t canblock, int scan, int *retp) argument
1866 dev_info_t *dip; local
2069 e_pm_hold_rele_power(dev_info_t *dip, int cnt) argument
2108 pm_ppm_notify_all_lowest(dev_info_t *dip, int mode) argument
2143 pm_set_pm_info(dev_info_t *dip, void *value) argument
2154 pm_rsvp_lookup(dev_info_t *dip, int comp) argument
2172 pm_proceed(dev_info_t *dip, int cmd, int comp, int newlevel) argument
2289 pm_rem_info(dev_info_t *dip) argument
2355 pm_get_norm_pwrs(dev_info_t *dip, int **valuep, size_t *length) argument
2379 pm_reset_timestamps(dev_info_t *dip, void *arg) argument
2410 pm_level_to_index(dev_info_t *dip, pm_component_t *cp, int level) argument
2437 e_pm_set_cur_pwr(dev_info_t *dip, pm_component_t *cp, int level) argument
2470 pm_power(dev_info_t *dip, int comp, int level) argument
2523 pm_unmanage(dev_info_t *dip) argument
2548 pm_raise_power(dev_info_t *dip, int comp, int level) argument
2560 pm_lower_power(dev_info_t *dip, int comp, int level) argument
2603 pm_psc_dip_to_direct(dev_info_t *dip, pscc_t **psccp) argument
2633 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
2727 pm_enqueue_notify(ushort_t cmd, dev_info_t *dip, int comp, int newlevel, int oldlevel, pm_canblock_t canblock) argument
2814 pm_try_parent_child_locks(dev_info_t *pdip, dev_info_t *dip, int *pcircp, int *circp) argument
2839 pm_blocked_by_us(dev_info_t *dip) argument
2876 pm_notify_parent(dev_info_t *dip, dev_info_t *pdip, int comp, int old_level, int level) argument
2901 pm_check_and_resume(dev_info_t *dip, int comp, int old_level, int level) argument
2939 pm_power_has_changed(dev_info_t *dip, int comp, int level) argument
3061 calc_cfb_comps_incr(dev_info_t *dip, int cmpt, int old, int new) argument
3079 update_comps_off(int incr, dev_info_t *dip) argument
3092 pm_phc_impl(dev_info_t *dip, int comp, int level, int notify) argument
3223 pm_register_ppm(int (*func)(dev_info_t *), dev_info_t *dip) argument
3288 pm_ppm_claim(dev_info_t *dip) argument
3313 pm_detaching(dev_info_t *dip) argument
3357 pm_detach_failed(dev_info_t *dip) argument
3396 e_pm_default_levels(dev_info_t *dip, pm_component_t *cp, int norm) argument
3407 e_pm_default_components(dev_info_t *dip, int cmpts) argument
3434 pm_premanage(dev_info_t *dip, int style) argument
3534 e_pm_manage(dev_info_t *dip, int style) argument
3595 pm_get_normal_power(dev_info_t *dip, int comp) argument
3608 pm_get_current_power(dev_info_t *dip, int comp, int *levelp) argument
3621 cur_threshold(dev_info_t *dip, int comp) argument
3671 pm_update_maxpower(dev_info_t *dip, int comp, int level) argument
3700 pm_all_to_normal(dev_info_t *dip, pm_canblock_t canblock) argument
3738 pm_all_at_normal(dev_info_t *dip) argument
3895 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
6555 pm_forget_power_level(dev_info_t *dip) argument
6810 pm_init_child(dev_info_t *dip) argument
6841 pm_pre_probe(dev_info_t *dip, pm_ppm_cookie_t *cp) argument
6854 (void) pm_ctlops(PPM(dip), dip, local
6870 pm_pre_config(dev_info_t *dip, char *devnm) argument
6897 pm_pre_unconfig(dev_info_t *dip, int flags, int *held, char *devnm) argument
6941 pm_pre_attach(dev_info_t *dip, pm_ppm_cookie_t *cp, ddi_attach_cmd_t cmd) argument
7016 pm_uninit_child(dev_info_t *dip) argument
7070 pm_post_config(dev_info_t *dip, char *devnm) argument
7086 pm_post_unconfig(dev_info_t *dip, int held, char *devnm) argument
7116 dev_info_t *dip; local
7160 pm_pre_detach(dev_info_t *dip, ddi_detach_cmd_t cmd, pm_ppm_cookie_t *cp) argument
7176 (void) pm_ctlops(PPM(dip), dip, DDI_CTLOPS_POWER, local
7275 pm_record_invol(dev_info_t *dip) argument
7302 dev_info_t *dip = cp->ppc_dip; local
7385 pm_adjust_timestamps(dev_info_t *dip, void *arg) argument
7411 pm_noinvol_specd(dev_info_t *dip) argument
7510 pm_all_components_off(dev_info_t *dip) argument
7535 dev_info_t *dip; local
7625 dev_info_t *dip; local
8001 pm_save_direct_lvl_walk(dev_info_t *dip, void *arg) argument
8049 pm_restore_direct_lvl_walk(dev_info_t *dip, void *arg) argument
8235 dev_info_t *dip; local
8387 pm_is_cfb(dev_info_t *dip) argument
8410 pm_hold_power(dev_info_t *dip) argument
8420 pm_rele_power(dev_info_t *dip) argument
8430 pm_powerup(dev_info_t *dip) argument
8453 pm_rescan_walk(dev_info_t *dip, void *arg) argument
8473 pm_get_next_descendent(dev_info_t *dip, dev_info_t *tdip) argument
8486 pm_busop_bus_power(dev_info_t *dip, void *impl_arg, pm_bus_power_op_t op, void *arg, void *result) argument
8647 pm_busop_set_power(dev_info_t *dip, void *impl_arg, pm_bus_power_op_t op, void *arg, void *resultp) argument
9021 pm_busop_match_request(dev_info_t *dip, void *arg) argument
9077 pm_all_to_normal_nexus(dev_info_t *dip, pm_canblock_t canblock) argument
9143 pm_noinvol_update_node(dev_info_t *dip, pm_bp_noinvol_t *req) argument
9239 pm_desc_pwrchk_walk(dev_info_t *dip, void *arg) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Ddma_engine.c83 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/sun4v/os/
H A Dmach_ddi_impl.c85 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 Dcardbus_hp.h44 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 Dusba10_calls.c52 dev_info_t *dip,
59 dip, version, dev_data, parse_level, flags));
65 dev_info_t *dip,
68 usb_unregister_client(dip, dev_data);
74 dev_info_t *dip,
77 usb_free_descr_tree(dip, dev_data);
95 dev_info_t *dip,
103 dip, dev_datap, interface, alternate, type, direction));
109 dev_info_t *dip,
115 return (usb_get_string_descr(dip, langi
51 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
64 usba10_usb_unregister_client( dev_info_t *dip, usb_client_dev_data_t *dev_data) argument
73 usba10_usb_free_descr_tree( dev_info_t *dip, usb_client_dev_data_t *dev_data) argument
94 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
108 usba10_usb_get_string_descr( dev_info_t *dip, uint16_t langid, uint8_t index, char *buf, size_t buflen) argument
120 usba10_usb_get_addr(dev_info_t *dip) argument
127 usba10_usb_get_if_number(dev_info_t *dip) argument
134 usba10_usb_owns_device(dev_info_t *dip) argument
158 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
170 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
186 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
220 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
236 usba10_usb_alloc_ctrl_req( dev_info_t *dip, size_t len, usb_flags_t flags) argument
263 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
276 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
303 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
319 usba10_usb_get_cfg( dev_info_t *dip, uint_t *cfgval, usb_flags_t usb_flags) argument
329 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
347 usba10_usb_get_alt_if( dev_info_t *dip, uint_t if_number, uint_t *alt_number, usb_flags_t flags) argument
358 usba10_usb_alloc_bulk_req( dev_info_t *dip, size_t len, usb_flags_t flags) argument
385 usba10_usb_pipe_bulk_transfer_size( dev_info_t *dip, size_t *size) argument
394 usba10_usb_alloc_intr_req( dev_info_t *dip, size_t len, usb_flags_t flags) argument
430 usba10_usb_alloc_isoc_req( dev_info_t *dip, uint_t isoc_pkts_count, size_t len, usb_flags_t flags) argument
448 usba10_usb_get_current_frame_number(dev_info_t *dip) argument
455 usba10_usb_get_max_isoc_pkts(dev_info_t *dip) argument
481 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
494 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
507 usba10_usb_is_pm_enabled(dev_info_t *dip) argument
513 usba10_usb_handle_remote_wakeup( dev_info_t *dip, int cmd) argument
522 usba10_usb_create_pm_components( dev_info_t *dip, uint_t *pwrstates) argument
531 usba10_usb_set_device_pwrlvl0(dev_info_t *dip) argument
538 usba10_usb_set_device_pwrlvl1(dev_info_t *dip) argument
545 usba10_usb_set_device_pwrlvl2(dev_info_t *dip) argument
552 usba10_usb_set_device_pwrlvl3(dev_info_t *dip) argument
559 usba10_usb_async_req( dev_info_t *dip, void (*func)(void *), void *arg, usb_flags_t flag) argument
570 usba10_usb_register_event_cbs( dev_info_t *dip, usb_event_t *usb_evt_data, usb_flags_t flags) argument
580 usba10_usb_unregister_event_cbs( dev_info_t *dip, usb_event_t *usb_evt_data) argument
589 usba10_usb_fail_checkpoint( dev_info_t *dip, usb_flags_t flags) argument
610 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
643 usba10_usb_print_descr_tree( dev_info_t *dip, usb_client_dev_data_t *dev_data) argument
652 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 Dpcie_sparc.c33 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 Dpcmu_util.h83 #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 Dsunpm.h111 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 Dddi_impldefs.h86 typedef int (*ddi_cb_func_t)(dev_info_t *dip, ddi_cb_action_t action,
255 /* For device contracts that have this dip's minor node as resource */
259 int devi_ct_neg; /* neg. occurred on dip */
363 #define DEVI_IS_DEVICE_OFFLINE(dip) \
364 ((DEVI(dip)->devi_state & DEVI_DEVICE_OFFLINE) == DEVI_DEVICE_OFFLINE)
366 #define DEVI_SET_DEVICE_ONLINE(dip) { \
367 ASSERT(mutex_owned(&DEVI(dip)->devi_lock)); \
368 if (DEVI(dip)->devi_state & DEVI_DEVICE_DEGRADED) { \
369 mutex_exit(&DEVI(dip)->devi_lock); \
370 e_ddi_undegrade_finalize(dip); \
753 dev_info_t *dip; /* pointer to devinfo node */ member in struct:ddi_minor_data
[all...]
/illumos-gate/usr/src/uts/i86pc/io/vmm/intel/
H A Dvtd_sol.c22 dev_info_t *dip; local
31 dip = ddi_find_devinfo("vtd", unit, 0);
34 if (dip != NULL)
35 return (dip);
40 dip = ddi_add_child(ddi_root_node(), "vtd",
61 dip, "reg", (int *)&reg,
69 ddi_set_driver(dip, ddi_get_driver(ddi_root_node()));
70 DEVI(dip)->devi_bus_dma_allochdl =
80 ddi_set_parent_data(dip, pdptr);
82 return (dip);
[all...]
/illumos-gate/usr/src/uts/intel/sys/
H A Diommulib.h62 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);
68 int (*ilops_dma_bindhdl)(iommulib_handle_t handle, dev_info_t *dip,
74 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
76 int (*ilops_dma_sync)(iommulib_handle_t handle, dev_info_t *dip,
80 int (*ilops_dma_win)(iommulib_handle_t handle, dev_info_t *dip,
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,
111 #define IOMMU_USED(dip) \
112 (DEVI(dip)
[all...]

Completed in 70 milliseconds

1234567891011>>