Home
last modified time | relevance | path

Searched refs:dev_info_t (Results 1 – 25 of 1372) sorted by relevance

12345678910>>...55

/titanic_41/usr/src/uts/common/sys/
H A Dsunndi.h64 ndi_prop_create_boolean(dev_t match_dev, dev_info_t *dip, char *name);
70 ndi_prop_update_int(dev_t match_dev, dev_info_t *dip, char *name, int data);
73 ndi_prop_update_int_array(dev_t match_dev, dev_info_t *dip, char *name,
77 ndi_prop_update_int64(dev_t match_dev, dev_info_t *dip, char *name,
81 ndi_prop_update_int64_array(dev_t match_dev, dev_info_t *dip, char *name,
88 ndi_prop_update_string(dev_t match_dev, dev_info_t *dip, char *name,
92 ndi_prop_update_string_array(dev_t match_dev, dev_info_t *dip,
99 ndi_prop_update_byte_array(dev_t match_dev, dev_info_t *dip,
106 ndi_prop_remove(dev_t dev, dev_info_t *dip, char *name);
109 ndi_prop_remove_all(dev_info_t *dip);
[all …]
H A Ddevops.h106 int (*cb_prop_op)(dev_t dev, dev_info_t *dip,
179 int (*bus_map)(dev_info_t *dip, dev_info_t *rdip,
188 ddi_intrspec_t (*bus_get_intrspec)(dev_info_t *dip, dev_info_t *rdip,
190 int (*bus_add_intrspec)(dev_info_t *dip,
191 dev_info_t *rdip, ddi_intrspec_t intrspec,
196 void (*bus_remove_intrspec)(dev_info_t *dip,
197 dev_info_t *rdip, ddi_intrspec_t intrspec,
200 int (*bus_map_fault)(dev_info_t *dip, dev_info_t *rdip,
204 int (*bus_dma_map)(dev_info_t *dip, dev_info_t *rdip,
207 int (*bus_dma_allochdl)(dev_info_t *dip, dev_info_t *rdip,
[all …]
H A Dsunmdi.h139 int mdi_devi_online(dev_info_t *, uint_t);
140 int mdi_devi_offline(dev_info_t *, uint_t);
145 void mdi_phci_mark_retiring(dev_info_t *dip, char **cons_array);
146 void mdi_phci_retire_notify(dev_info_t *dip, int *constraint);
147 void mdi_phci_retire_finalize(dev_info_t *dip, int phci_only, void *constraint);
148 void mdi_phci_unretire(dev_info_t *dip);
153 void mdi_devi_enter(dev_info_t *, int *);
154 int mdi_devi_tryenter(dev_info_t *, int *);
155 void mdi_devi_exit_phci(dev_info_t *, int);
156 void mdi_devi_enter_phci(dev_info_t *, int *);
[all …]
H A Desunddi.h47 e_ddi_prop_create(dev_t dev, dev_info_t *dip, int flag,
51 e_ddi_prop_modify(dev_t dev, dev_info_t *dip, int flag,
55 e_ddi_prop_update_int(dev_t match_dev, dev_info_t *dip,
59 e_ddi_prop_update_int64(dev_t match_dev, dev_info_t *dip,
63 e_ddi_prop_update_int_array(dev_t match_dev, dev_info_t *dip,
67 e_ddi_prop_update_int64_array(dev_t match_dev, dev_info_t *dip,
71 e_ddi_prop_update_string(dev_t match_dev, dev_info_t *dip,
75 e_ddi_prop_update_string_array(dev_t match_dev, dev_info_t *dip,
79 e_ddi_prop_update_byte_array(dev_t match_dev, dev_info_t *dip,
83 e_ddi_prop_remove(dev_t dev, dev_info_t *dip, char *name);
[all …]
H A Dpshot.h103 dev_info_t *dip;
138 static pshot_device_t *pshot_devices_from_props(dev_info_t *, size_t *, int);
140 static int pshot_devices_setup(dev_info_t *);
164 static int pshot_probe(dev_info_t *);
165 static int pshot_attach(dev_info_t *, ddi_attach_cmd_t);
166 static int pshot_detach(dev_info_t *, ddi_detach_cmd_t);
167 static int pshot_info(dev_info_t *, ddi_info_cmd_t, void *, void **);
168 static int pshot_power(dev_info_t *dip, int cmpt, int level);
196 dev_info_t *dip;
203 static void pshot_event_cb(dev_info_t *dip, ddi_eventcookie_t cookie,
[all …]
H A Dsunddi.h429 extern void ddi_err(ddi_err_t de, dev_info_t *rdip, const char *fmt, ...);
536 ddi_map_regs(dev_info_t *dip, uint_t rnumber, caddr_t *kaddrp,
556 ddi_unmap_regs(dev_info_t *dip, uint_t rnumber, caddr_t *kaddrp,
560 ddi_map(dev_info_t *dp, ddi_map_req_t *mp, off_t offset, off_t len,
564 ddi_apply_range(dev_info_t *dip, dev_info_t *rdip, struct regspec *rp);
570 ddi_rnumber_to_regspec(dev_info_t *dip, int rnumber);
573 ddi_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t offset,
577 nullbusmap(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t offset,
580 int ddi_peek8(dev_info_t *dip, int8_t *addr, int8_t *val_p);
581 int ddi_peek16(dev_info_t *dip, int16_t *addr, int16_t *val_p);
[all …]
H A Dddi_implfuncs.h52 i_ddi_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp,
56 i_ddi_apply_range(dev_info_t *dip, dev_info_t *rdip, struct regspec *rp);
59 i_ddi_rnumber_to_regspec(dev_info_t *dip, int rnumber);
63 i_ddi_map_fault(dev_info_t *dip, dev_info_t *rdip,
68 i_ddi_get_regspec(dev_info_t *dip, dev_info_t *rdip, uint_t rnumber,
75 i_ddi_mem_alloc(dev_info_t *dip, ddi_dma_attr_t *attributes,
84 i_ddi_devi_get_ppa(dev_info_t *dip);
87 i_ddi_devi_set_ppa(dev_info_t *dip, int ppa);
115 i_ddi_rootnex_init_events(dev_info_t *dip);
118 i_ddi_rootnex_get_eventcookie(dev_info_t *dip, dev_info_t *rdip,
[all …]
H A Dpci_intr_lib.h39 extern int pci_msi_get_cap(dev_info_t *rdip, int type, int *flagsp);
40 extern int pci_msi_configure(dev_info_t *rdip, int type, int count,
42 extern int pci_msi_unconfigure(dev_info_t *rdip, int type, int inum);
43 extern int pci_is_msi_enabled(dev_info_t *rdip, int type);
44 extern int pci_msi_enable_mode(dev_info_t *rdip, int type);
45 extern int pci_msi_disable_mode(dev_info_t *rdip, int type);
46 extern int pci_msi_set_mask(dev_info_t *rdip, int type, int inum);
47 extern int pci_msi_clr_mask(dev_info_t *rdip, int type, int inum);
48 extern int pci_msi_get_pending(dev_info_t *rdip, int type, int inum,
50 extern int pci_msi_get_nintrs(dev_info_t *rdip, int type, int *nintrs);
[all …]
H A Depm.h52 void e_pm_props(dev_info_t *);
53 int e_new_pm_props(dev_info_t *);
235 #define PPM(dip) ((dev_info_t *)DEVI(dip)->devi_pm_ppm)
290 dev_info_t *who;
298 dev_info_t *who;
305 dev_info_t *who;
312 dev_info_t *who;
321 dev_info_t *who;
331 dev_info_t *who;
342 dev_info_t *who;
[all …]
H A Dddi_intr_impl.h78 dev_info_t *ih_dip; /* dip associated with handle */
163 dev_info_t *ih_dip; /* dip associated with handle */
241 dev_info_t *ipool_owner; /* Device that created pool */
257 dev_info_t *ireq_dip; /* Requesting device */
309 int i_ddi_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t op,
317 void i_ddi_intr_devi_init(dev_info_t *dip);
318 void i_ddi_intr_devi_fini(dev_info_t *dip);
320 uint_t i_ddi_intr_get_supported_types(dev_info_t *dip);
321 void i_ddi_intr_set_supported_types(dev_info_t *dip, int sup_type);
322 uint_t i_ddi_intr_get_current_type(dev_info_t *dip);
[all …]
H A Ddma_engine.h55 dev_info_t *der_rdip; /* original requester's dev_info_t */
109 extern int i_dmae_init(dev_info_t *);
111 extern int i_dmae_acquire(dev_info_t *, int, int (*)(), caddr_t);
112 extern int i_dmae_free(dev_info_t *, int);
113 extern int i_dmae_prog(dev_info_t *, struct ddi_dmae_req *,
115 extern int i_dmae_swsetup(dev_info_t *, struct ddi_dmae_req *,
117 extern void i_dmae_swstart(dev_info_t *, int);
118 extern void i_dmae_stop(dev_info_t *, int);
119 extern void i_dmae_enable(dev_info_t *, int);
120 extern void i_dmae_disable(dev_info_t *, int);
[all …]
H A Dpcie_impl.h296 dev_info_t *bus_dip;
297 dev_info_t *bus_rp_dip;
444 dev_info_t *dip;
503 extern int pcie_init(dev_info_t *dip, caddr_t arg);
504 extern int pcie_uninit(dev_info_t *dip);
505 extern int pcie_hpintr_enable(dev_info_t *dip);
506 extern int pcie_hpintr_disable(dev_info_t *dip);
507 extern int pcie_intr(dev_info_t *dip);
508 extern int pcie_open(dev_info_t *dip, dev_t *devp, int flags, int otyp,
510 extern int pcie_close(dev_info_t *dip, dev_t dev, int flags, int otyp,
[all …]
H A Dndi_impldefs.h47 dev_info_t *ndi_evthdl_dip;
78 int ddi_prop_update_common(dev_t, dev_info_t *, int, char *, void *, uint_t,
81 int ddi_prop_lookup_common(dev_t, dev_info_t *, uint_t, char *, void *,
84 int ddi_prop_remove_common(dev_t, dev_info_t *, char *, int);
85 void ddi_prop_remove_all_common(dev_info_t *, int);
95 int i_ndi_config_node(dev_info_t *, ddi_node_state_t, uint_t);
96 int i_ndi_unconfig_node(dev_info_t *, ddi_node_state_t, uint_t);
110 int i_ndi_dev_is_auto_assigned_node(dev_info_t *);
116 ddi_node_class_t i_ndi_get_node_class(dev_info_t *);
117 void i_ndi_set_node_class(dev_info_t *, ddi_node_class_t);
[all …]
/titanic_41/usr/src/uts/intel/sys/
H A Diommulib.h59 int (*ilops_probe)(iommulib_handle_t handle, dev_info_t *rdip);
62 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,
69 dev_info_t *rdip, ddi_dma_handle_t dma_handle,
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,
77 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off,
80 int (*ilops_dma_win)(iommulib_handle_t handle, dev_info_t *dip,
81 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win,
[all …]
/titanic_41/usr/src/uts/sun4/io/px/
H A Dpx_lib.h57 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_t sysino,
73 extern int px_lib_intr_gettarget(dev_info_t *dip, sysino_t sysino,
75 extern int px_lib_intr_settarget(dev_info_t *dip, sysino_t sysino,
[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,
/titanic_41/usr/src/uts/common/xen/sys/
H A Dxendev.h181 void xendev_enum_class(dev_info_t *, xendev_devclass_t);
182 void xendev_enum_all(dev_info_t *, boolean_t);
185 struct intrspec *xendev_get_ispec(dev_info_t *, uint_t);
186 void xvdi_suspend(dev_info_t *);
187 int xvdi_resume(dev_info_t *);
188 int xvdi_alloc_evtchn(dev_info_t *);
189 int xvdi_bind_evtchn(dev_info_t *, evtchn_port_t);
190 void xvdi_free_evtchn(dev_info_t *);
191 int xvdi_add_event_handler(dev_info_t *, char *,
192 void (*)(dev_info_t *, ddi_eventcookie_t, void *, void *),
[all …]
/titanic_41/usr/src/uts/common/sys/usb/usba/
H A Dusba10.h50 dev_info_t *dip,
62 dev_info_t *dip,
71 dev_info_t *dip,
75 usb_get_max_isoc_pkts(dev_info_t *dip);
78 usb_is_pm_enabled(dev_info_t *dip);
88 dev_info_t *dip,
95 dev_info_t *dip,
100 dev_info_t *dip,
123 dev_info_t *dip,
131 dev_info_t *dip,
[all …]
H A Dhubdi.h44 int usba_hubdi_open(dev_info_t *, dev_t *, int, int, cred_t *);
45 int usba_hubdi_close(dev_info_t *, dev_t, int, int, cred_t *);
46 int usba_hubdi_ioctl(dev_info_t *, dev_t, int, intptr_t, int,
54 int usba_hubdi_info(dev_info_t *, ddi_info_cmd_t, void *, void **);
55 int usba_hubdi_attach(dev_info_t *, ddi_attach_cmd_t);
56 int usba_hubdi_probe(dev_info_t *);
57 int usba_hubdi_detach(dev_info_t *, ddi_detach_cmd_t);
58 int usba_hubdi_quiesce(dev_info_t *);
60 int usba_hubdi_bind_root_hub(dev_info_t *, uchar_t *, size_t,
62 int usba_hubdi_unbind_root_hub(dev_info_t *);
[all …]
H A Dusba_impl.h64 dev_info_t *dip;
74 int (*sync_func)(dev_info_t *,
90 dev_info_t *dip;
152 dev_info_t *wr_dip; /* owner */
233 dev_info_t *hubdi_dip; /* ptr to devinfo struct */
244 char *usba_get_mfg_prod_sn_str(dev_info_t *, char *, int);
267 int usba_hubdi_register(dev_info_t *, uint_t);
268 int usba_hubdi_unregister(dev_info_t *);
270 int usba_is_root_hub(dev_info_t *dip);
272 usba_device_t *usba_alloc_usba_device(dev_info_t *);
[all …]
/titanic_41/usr/src/uts/common/io/pciex/
H A Dpcieb.h34 extern void pcieb_dbg(uint_t bit, dev_info_t *dip, char *fmt, ...);
94 dev_info_t *pcieb_dip;
160 extern void pcieb_set_pci_perf_parameters(dev_info_t *dip,
162 extern void pcieb_plat_attach_workaround(dev_info_t *dip);
164 extern void pcieb_plat_initchild(dev_info_t *child);
165 extern void pcieb_plat_uninitchild(dev_info_t *child);
166 extern int pcieb_plat_ctlops(dev_info_t *rdip, ddi_ctl_enum_t ctlop,
168 extern int pcieb_plat_pcishpc_probe(dev_info_t *dip,
170 extern int pcieb_plat_peekpoke(dev_info_t *dip, dev_info_t *rdip,
172 extern void pcieb_set_prot_scan(dev_info_t *dip, ddi_acc_impl_t *hdlp);
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dtvhci.c46 static int tvhci_attach(dev_info_t *, ddi_attach_cmd_t);
47 static int tvhci_detach(dev_info_t *, ddi_detach_cmd_t);
48 static int tvhci_getinfo(dev_info_t *, ddi_info_cmd_t, void *, void **);
51 static int tvhci_ctl(dev_info_t *, dev_info_t *, ddi_ctl_enum_t, void *,
53 static int tvhci_initchild(dev_info_t *, dev_info_t *);
54 static int tvhci_uninitchild(dev_info_t *, dev_info_t *);
55 static int tvhci_bus_config(dev_info_t *, uint_t, ddi_bus_config_op_t, void *,
56 dev_info_t **);
57 static int tvhci_bus_unconfig(dev_info_t *, uint_t, ddi_bus_config_op_t,
59 static int tvhci_intr_op(dev_info_t *dip, dev_info_t *rdip,
[all …]
/titanic_41/usr/src/uts/sun4u/sys/
H A Dgp2cfg.h52 gptwocfg_cookie_t gptwocfg_configure(dev_info_t *, spcd_t *, uint_t);
53 gptwocfg_cookie_t gptwocfg_unconfigure(dev_info_t *, gptwo_aid_t);
54 int gptwocfg_next_node(gptwocfg_cookie_t, dev_info_t *, dev_info_t **);
55 void gptwocfg_save_handle(dev_info_t *, fco_handle_t);
56 fco_handle_t gptwocfg_get_handle(dev_info_t *);
81 dev_info_t *gptwo_nodes[1];
89 dev_info_t *gptwo_ap;
97 dev_info_t *dip;
108 (dev_info_t *ap, spcd_t *pcd, gptwo_aid_t id);
109 dev_info_t *(*gptwocfg_unconfigure)
[all …]
/titanic_41/usr/src/uts/common/xen/io/
H A Dxpvd.c78 static int xpvd_info(dev_info_t *, ddi_info_cmd_t, void *, void **);
79 static int xpvd_attach(dev_info_t *devi, ddi_attach_cmd_t cmd);
80 static int xpvd_detach(dev_info_t *devi, ddi_detach_cmd_t cmd);
86 static int xpvd_ctlops(dev_info_t *, dev_info_t *, ddi_ctl_enum_t, void *,
88 static int xpvd_intr_ops(dev_info_t *, dev_info_t *, ddi_intr_op_t,
90 static int xpvd_prop_op(dev_t, dev_info_t *, dev_info_t *, ddi_prop_op_t,
92 static int xpvd_bus_config(dev_info_t *, uint_t, ddi_bus_config_op_t,
93 void *, dev_info_t **);
94 static int xpvd_bus_unconfig(dev_info_t *, uint_t, ddi_bus_config_op_t,
96 static int xpvd_get_eventcookie(dev_info_t *, dev_info_t *,
[all …]
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dtransport.h67 dev_info_t *tran_hba_dip;
85 dev_info_t *hba_dip,
86 dev_info_t *tgt_dip,
95 dev_info_t *hba_dip,
96 dev_info_t *tgt_dip,
174 dev_info_t *hba_dip,
175 dev_info_t *tgt_dip,
180 dev_info_t *hba_dip,
181 dev_info_t *tgt_dip,
184 dev_info_t *tgt_dip,
[all …]

12345678910>>...55