Searched refs:dip (Results 1 - 25 of 1152) 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,
H A Dpx.c52 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 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.c84 dev_info_t *mtc_pdip; /* parent dip for mt_config_children */
85 dev_info_t **mtc_fdip; /* "a" dip where unconfigure failed */
100 dev_info_t *dip; member in struct:devi_nodeid
128 dev_info_t *scsi_vhci_dip; /* MPXIO dip */
222 static void ndi_devi_exit_and_wait(dev_info_t *dip,
224 static int ndi_devi_unbind_driver(dev_info_t *dip);
226 static int i_ddi_check_retire(dev_info_t *dip);
390 "dip=%p, name=%s", (void *)devi, node_name));
419 i_ddi_free_node(dev_info_t *dip) argument
421 struct dev_info *devi = DEVI(dip);
505 ndi_devi_set_nodename(dev_info_t *dip, char *name, int flags) argument
541 i_ddi_add_devimap(dev_info_t *dip) argument
571 i_ddi_remove_devimap(dev_info_t *dip) argument
631 link_node(dev_info_t *dip) argument
706 unlink_node(dev_info_t *dip) argument
777 bind_node(dev_info_t *dip) argument
828 unbind_node(dev_info_t *dip) argument
854 init_node(dev_info_t *dip) argument
1081 uninit_node(dev_info_t *dip) argument
1194 probe_node(dev_info_t *dip) argument
1253 unprobe_node(dev_info_t *dip) argument
1272 attach_node(dev_info_t *dip) argument
1355 detach_node(dev_info_t *dip, uint_t flag) argument
1462 postattach_node(dev_info_t *dip) argument
1504 predetach_node(dev_info_t *dip, uint_t flag) argument
1550 i_ndi_config_node(dev_info_t *dip, ddi_node_state_t state, uint_t flag) argument
1642 i_ndi_unconfig_node(dev_info_t *dip, ddi_node_state_t state, uint_t flag) argument
1733 ddi_uninitchild(dev_info_t *dip) argument
1750 i_ddi_attachchild(dev_info_t *dip) argument
1783 i_ddi_detachchild(dev_info_t *dip, uint_t flags) argument
1806 dev_info_t *dip; local
1821 ddi_remove_child(dev_info_t *dip, int dummy) argument
1863 ndi_hold_devi(dev_info_t *dip) argument
1873 ndi_rele_devi(dev_info_t *dip) argument
1884 e_ddi_devi_holdcnt(dev_info_t *dip) argument
1893 ndi_hold_driver(dev_info_t *dip) argument
1903 ndi_rele_driver(dev_info_t *dip) argument
1914 ndi_devi_enter(dev_info_t *dip, int *circular) argument
1944 ndi_devi_exit(dev_info_t *dip, int circular) argument
1986 ndi_devi_exit_and_wait(dev_info_t *dip, int circular, clock_t end_time) argument
2016 ndi_devi_tryenter(dev_info_t *dip, int *circular) argument
2082 ndi_devi_free(dev_info_t *dip) argument
2103 ndi_devi_bind_driver(dev_info_t *dip, uint_t flags) argument
2126 ndi_devi_unbind_driver(dev_info_t *dip) argument
2141 i_ddi_node_state(dev_info_t *dip) argument
2150 i_ddi_set_node_state(dev_info_t *dip, ddi_node_state_t state) argument
2163 i_ddi_devi_attached(dev_info_t *dip) argument
2203 dev_info_t *dip; local
2277 find_duplicate_child(dev_info_t *pdip, dev_info_t *dip) argument
2318 dev_info_t *dip; local
2337 dev_info_t *dip; local
2364 dev_info_t *dip; local
2498 i_ddi_get_exported_classes(dev_info_t *dip, char ***classes) argument
2624 ndi_merge_node(dev_info_t *dip, int (*make_ua)(dev_info_t *, char *, int)) argument
2705 ndi_merge_wildcard_node(dev_info_t *dip) argument
2767 ddi_compatible_driver_major(dev_info_t *dip, char **formp) argument
2847 lookup_compatible(dev_info_t *dip, uint_t flag) argument
2943 link_to_driver_list(dev_info_t *dip) argument
2966 unlink_from_driver_list(dev_info_t *dip) argument
2992 in_dn_list(struct devnames *dnp, dev_info_t *dip) argument
3015 add_to_ordered_dn_list(struct devnames *dnp, dev_info_t *dip) argument
3054 add_to_dn_list(struct devnames *dnp, dev_info_t *dip) argument
3070 remove_from_dn_list(struct devnames *dnp, dev_info_t *dip) argument
3098 add_global_props(dev_info_t *dip) argument
3122 remove_global_props(dev_info_t *dip) argument
3299 da_log_enter(dev_info_t *dip) argument
3433 dev_info_t *dip; member in struct:walk_elem
3447 append_node(struct walk_elem **list, dev_info_t *dip) argument
3471 walk_devs(dev_info_t *dip, int (*f)(dev_info_t *, void *), void *arg, int do_locking) argument
3563 ddi_walk_devs(dev_info_t *dip, int (*f)(dev_info_t *, void *), void *arg) argument
3587 dev_info_t *dip; local
3614 dev_info_t *dip; /* result */ member in struct:match_info
3621 i_find_devi(dev_info_t *dip, void *arg) argument
3763 ddi_is_pci_dip(dev_info_t *dip) argument
4021 dev_info_t *dip = NULL; local
4068 should_implement_quiesce(dev_info_t *dip) argument
4120 check_driver_quiesce(dev_info_t *dip, void *arg) argument
4152 quiesce_one_device(dev_info_t *dip, void *arg) argument
4200 quiesce_devices(dev_info_t *dip, void *arg) argument
4219 reset_leaf_device(dev_info_t *dip, void *arg) argument
4313 bind_dip(dev_info_t *dip, void *arg) argument
4375 unbind_alias_dev_in_use(dev_info_t *dip, char *alias) argument
4389 unbind_children_by_alias(dev_info_t *dip, void *arg) argument
4459 unbind_children_by_driver(dev_info_t *dip, void *arg) argument
4584 dev_info_t *dip; local
4603 i_ndi_devi_report_status_change(dev_info_t *dip, char *path) argument
4653 i_log_devfs_add_devinfo(dev_info_t *dip, uint_t flags) argument
4848 i_ddi_log_devfs_device_remove(dev_info_t *dip) argument
4873 i_ddi_log_devfs_device_insert(dev_info_t *dip) argument
4940 i_log_devfs_branch_add(dev_info_t *dip) argument
4966 brevq_enqueue(struct brevq_node **brevqp, dev_info_t *dip, struct brevq_node *child) argument
5028 log_and_free_brevq_dip(dev_info_t *dip, struct brevq_node *brevq) argument
5043 log_and_free_br_events_on_grand_children(dev_info_t *dip, struct brevq_node *brevq) argument
5068 cleanup_br_events_on_grand_children(dev_info_t *dip, struct brevq_node **brevqp) argument
5132 need_remove_event(dev_info_t *dip, int flags) argument
5151 devi_unconfig_branch(dev_info_t *dip, dev_info_t **dipp, int flags, struct brevq_node **brevqp) argument
5183 init_bound_node_ev(dev_info_t *pdip, dev_info_t *dip, int flags) argument
5195 devi_attach_node(dev_info_t *dip, uint_t flags) argument
5319 devi_config_common(dev_info_t *dip, int flags, major_t major) argument
5366 ndi_devi_config(dev_info_t *dip, int flags) argument
5379 ndi_devi_config_driver(dev_info_t *dip, int flags, major_t major) argument
5710 e_ddi_offline_notify(dev_info_t *dip) argument
5811 e_ddi_offline_finalize(dev_info_t *dip, int result) argument
5829 e_ddi_degrade_finalize(dev_info_t *dip) argument
5845 e_ddi_undegrade_finalize(dev_info_t *dip) argument
5861 devi_detach_node(dev_info_t *dip, uint_t flags) argument
6014 unconfig_immediate_children( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major) argument
6102 unconfig_grand_children( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major, struct brevq_node **brevqp) argument
6128 devi_unconfig_common( dev_info_t *dip, dev_info_t **dipp, int flags, major_t major, struct brevq_node **brevqp) argument
6214 ndi_devi_unconfig_driver(dev_info_t *dip, int flags, major_t major) argument
6224 ndi_devi_unconfig(dev_info_t *dip, int flags) argument
6234 e_ddi_devi_unconfig(dev_info_t *dip, dev_info_t **dipp, int flags) argument
6388 dev_info_t *dip; member in struct:async_arg
6398 i_ndi_devi_async_common(dev_info_t *dip, uint_t flags, void (*func)()) argument
6445 ndi_devi_bind_driver_async(dev_info_t *dip, uint_t flags) argument
6455 ndi_devi_online(dev_info_t *dip, uint_t flags) argument
6546 ndi_devi_online_async(dev_info_t *dip, uint_t flags) argument
6570 ndi_devi_offline(dev_info_t *dip, uint_t flags) argument
6712 reset_nexus_flags(dev_info_t *dip, void *arg) argument
6755 dev_info_t *dip; local
6821 dev_info_t *dip; local
6922 dev_info_t *dip; local
6976 dev_info_t *dip = NULL; local
7004 dev_info_t *dip; local
7013 e_ddi_hold_devi(dev_info_t *dip) argument
7019 ddi_release_devi(dev_info_t *dip) argument
7030 ddi_assoc_queue_with_devi(queue_t *q, dev_info_t *dip) argument
7088 i_ddi_attach_node_hierarchy(dev_info_t *dip) argument
7119 dev_info_t *dip; local
7190 dev_info_t *dip; local
7209 dev_info_t *dip, *pdip; local
7252 dev_info_t *dip; local
7479 impl_rem_dev_props(dev_info_t *dip) argument
7489 is_leaf_node(dev_info_t *dip) argument
7593 dev_info_t *dip = mcd->mtc_dip; local
7670 dev_info_t *dip; local
7783 dev_info_t *dip; local
7859 dev_info_t *dip = NULL; local
7985 i_bind_vhci_node(dev_info_t *dip) argument
7994 i_init_vhci_node(dev_info_t *dip) argument
8010 i_link_vhci_node(dev_info_t *dip) argument
8047 dev_info_t *dip; local
8127 ndi_devi_device_isremoved(dev_info_t *dip) argument
8133 ndi_devi_device_remove(dev_info_t *dip) argument
8170 ndi_devi_device_insert(dev_info_t *dip) argument
8222 e_ddi_mark_retiring(dev_info_t *dip, void *arg) argument
8281 e_ddi_retire_notify(dev_info_t *dip, void *arg) argument
8316 e_ddi_retire_finalize(dev_info_t *dip, void *arg) argument
8398 dev_info_t *dip; local
8496 unmark_and_unfence(dev_info_t *dip, void *arg) argument
8528 find_dip_fcn(dev_info_t *dip, void *arg) argument
8550 dev_info_t *dip; local
8618 mark_and_fence(dev_info_t *dip, void *arg) argument
8656 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
2071 e_pm_hold_rele_power(dev_info_t *dip, int cnt) argument
2110 pm_ppm_notify_all_lowest(dev_info_t *dip, int mode) argument
2145 pm_set_pm_info(dev_info_t *dip, void *value) argument
2156 pm_rsvp_lookup(dev_info_t *dip, int comp) argument
2174 pm_proceed(dev_info_t *dip, int cmd, int comp, int newlevel) argument
2291 pm_rem_info(dev_info_t *dip) argument
2357 pm_get_norm_pwrs(dev_info_t *dip, int **valuep, size_t *length) argument
2381 pm_reset_timestamps(dev_info_t *dip, void *arg) argument
2412 pm_level_to_index(dev_info_t *dip, pm_component_t *cp, int level) argument
2439 e_pm_set_cur_pwr(dev_info_t *dip, pm_component_t *cp, int level) argument
2472 pm_power(dev_info_t *dip, int comp, int level) argument
2525 pm_unmanage(dev_info_t *dip) argument
2550 pm_raise_power(dev_info_t *dip, int comp, int level) argument
2562 pm_lower_power(dev_info_t *dip, int comp, int level) argument
2605 pm_psc_dip_to_direct(dev_info_t *dip, pscc_t **psccp) argument
2635 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
2729 pm_enqueue_notify(ushort_t cmd, dev_info_t *dip, int comp, int newlevel, int oldlevel, pm_canblock_t canblock) argument
2816 pm_try_parent_child_locks(dev_info_t *pdip, dev_info_t *dip, int *pcircp, int *circp) argument
2841 pm_blocked_by_us(dev_info_t *dip) argument
2878 pm_notify_parent(dev_info_t *dip, dev_info_t *pdip, int comp, int old_level, int level) argument
2903 pm_check_and_resume(dev_info_t *dip, int comp, int old_level, int level) argument
2941 pm_power_has_changed(dev_info_t *dip, int comp, int level) argument
3063 calc_cfb_comps_incr(dev_info_t *dip, int cmpt, int old, int new) argument
3081 update_comps_off(int incr, dev_info_t *dip) argument
3094 pm_phc_impl(dev_info_t *dip, int comp, int level, int notify) argument
3225 pm_register_ppm(int (*func)(dev_info_t *), dev_info_t *dip) argument
3290 pm_ppm_claim(dev_info_t *dip) argument
3315 pm_detaching(dev_info_t *dip) argument
3359 pm_detach_failed(dev_info_t *dip) argument
3398 e_pm_default_levels(dev_info_t *dip, pm_component_t *cp, int norm) argument
3409 e_pm_default_components(dev_info_t *dip, int cmpts) argument
3436 pm_premanage(dev_info_t *dip, int style) argument
3536 e_pm_manage(dev_info_t *dip, int style) argument
3597 pm_get_normal_power(dev_info_t *dip, int comp) argument
3610 pm_get_current_power(dev_info_t *dip, int comp, int *levelp) argument
3623 cur_threshold(dev_info_t *dip, int comp) argument
3673 pm_update_maxpower(dev_info_t *dip, int comp, int level) argument
3702 pm_all_to_normal(dev_info_t *dip, pm_canblock_t canblock) argument
3740 pm_all_at_normal(dev_info_t *dip) argument
3897 e_pm_create_components(dev_info_t *dip, int num_components) argument
3989 e_pm_set_max_power(dev_info_t *dip, int component_number, int level) argument
3998 e_pm_get_max_power(dev_info_t *dip, int component_number) argument
4008 e_pm_destroy_components(dev_info_t *dip) argument
4047 pm_autoconfig(dev_info_t *dip, int *errp) argument
4277 pm_set_device_threshold(dev_info_t *dip, int base, int flag) argument
4455 ddi_dev_is_needed(dev_info_t *dip, int cmpt, int level) argument
4465 ddi_power(dev_info_t *dip, int pm_cmpt, int pm_level) argument
4483 ddi_removing_power(dev_info_t *dip) argument
4494 e_ddi_parental_suspend_resume(dev_info_t *dip) argument
4504 e_ddi_suspend(dev_info_t *dip, ddi_detach_cmd_t cmd) argument
4518 e_ddi_resume(dev_info_t *dip, ddi_attach_cmd_t cmd) argument
4532 pm_create_components(dev_info_t *dip, int num_components) argument
4561 pm_destroy_components(dev_info_t *dip) argument
4616 pm_busy_component(dev_info_t *dip, int cmpt) argument
4634 pm_idle_component(dev_info_t *dip, int cmpt) argument
4682 pm_set_normal_power(dev_info_t *dip, int comp, int level) argument
4703 pm_stop(dev_info_t *dip) argument
4750 e_new_pm_props(dev_info_t *dip) argument
4767 e_pm_props(dev_info_t *dip) argument
4832 pm_default_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, void *arg, void *result) argument
5013 pm_start(dev_info_t *dip) argument
5178 pm_thresh_specd(dev_info_t *dip) argument
5264 dev_info_t *dip; local
5505 pm_valid_power(dev_info_t *dip, int comp, int level) argument
5525 pm_block(dev_info_t *dip, int comp, int newpower, int oldpower) argument
5587 pm_register_watcher(int clone, dev_info_t *dip) argument
5718 pm_deregister_watcher(int clone, dev_info_t *dip) argument
5853 pm_set_dev_thr_walk(dev_info_t *dip, void *arg) argument
5867 pm_current_threshold(dev_info_t *dip, int comp, int *threshp) argument
5885 pm_lock_power(dev_info_t *dip, int *circp) argument
5893 (void) pm_ctlops(PPM(dip), dip, DDI_CTLOPS_POWER, &power_req, &result); local
5901 pm_unlock_power(dev_info_t *dip, int circ) argument
5909 (void) pm_ctlops(PPM(dip), dip, DDI_CTLOPS_POWER, &power_req, &result); local
5920 pm_try_locking_power(dev_info_t *dip, int *circp) argument
5928 (void) pm_ctlops(PPM(dip), dip, DDI_CTLOPS_POWER, &power_req, &result); local
5956 pm_lock_power_single(dev_info_t *dip, int *circp) argument
5992 pm_unlock_power_single(dev_info_t *dip, int circ) argument
6020 pm_try_locking_power_single(dev_info_t *dip, int *circp) argument
6073 pm_apply_recorded_thresh(dev_info_t *dip, pm_thresh_rec_t *rp) argument
6133 pm_valid_thresh(dev_info_t *dip, pm_thresh_rec_t *rp) argument
6262 pm_discard_dep_walk(dev_info_t *dip, void *arg) argument
6277 pm_kept_walk(dev_info_t *dip, void *arg) argument
6291 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/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 275 milliseconds

1234567891011>>