/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/ |
H A D | pcf8584.c | 56 static void pcf8584_resume(dev_info_t *dip); 57 static void pcf8584_suspend(dev_info_t *dip); 58 static int pcf8584_bus_ctl(dev_info_t *dip, dev_info_t *rdip, 60 static void pcf8584_acquire(pcf8584_t *, dev_info_t *dip, 63 static int pcf8584_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 64 static int pcf8584_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 82 static int pcf8584_setup_regs(dev_info_t *dip, pcf8584_t *i2c); 84 static void pcf8584_reportdev(dev_info_t *dip, dev_info_t *rdip); 85 static int pcf8584_dip_to_addr(dev_info_t *dip); 88 int pcf8584_transfer(dev_info_t *dip, i2c_transfer_ 277 pcf8584_dodetach(dev_info_t *dip) argument 312 pcf8584_doattach(dev_info_t *dip) argument 427 pcf8584_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 444 pcf8584_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 560 pcf8584_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument 601 pcf8584_suspend(dev_info_t *dip) argument 618 pcf8584_resume(dev_info_t *dip) argument 637 pcf8584_acquire(pcf8584_t *i2c, dev_info_t *dip, i2c_transfer_t *tp, boolean_t force) argument 1044 pcf8584_setup_regs(dev_info_t *dip, pcf8584_t *i2c) argument 1110 pcf8584_reportdev(dev_info_t *dip, dev_info_t *rdip) argument 1126 pcf8584_dip_to_addr(dev_info_t *dip) argument 1390 pcf8584_transfer(dev_info_t *dip, i2c_transfer_t *tp) argument 1515 pcf8584_take_over(pcf8584_t *i2c, dev_info_t *dip, i2c_transfer_t *tp, kcondvar_t **waiter, int *saved_mode) argument [all...] |
H A D | smbus.c | 55 static void smbus_resume(dev_info_t *dip); 56 static void smbus_suspend(dev_info_t *dip); 57 static int smbus_bus_ctl(dev_info_t *dip, dev_info_t *rdip, 59 static int smbus_acquire(smbus_t *, dev_info_t *dip, 62 static int smbus_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 63 static int smbus_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 65 static int smbus_setup_regs(dev_info_t *dip, smbus_t *smbus); 66 static void smbus_reportdev(dev_info_t *dip, dev_info_t *rdip); 73 static int smbus_dip_to_addr(dev_info_t *dip); 283 smbus_dodetach(dev_info_t *dip) argument 325 smbus_doattach(dev_info_t *dip) argument 419 smbus_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 436 smbus_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 454 smbus_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument 558 smbus_reportdev(dev_info_t *dip, dev_info_t *rdip) argument 575 smbus_setup_regs(dev_info_t *dip, smbus_t *smbus) argument 653 smbus_suspend(dev_info_t *dip) argument 670 smbus_resume(dev_info_t *dip) argument 686 smbus_acquire(smbus_t *smbus, dev_info_t *dip, i2c_transfer_t *tp) argument 802 smbus_transfer(dev_info_t *dip, i2c_transfer_t *tp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mem_cache.c | 136 dev_info_t *dip; member in struct:mem_cache_softc 197 mem_cache_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **result) argument 211 *result = (void *)softc->dip; 226 mem_cache_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 234 inst = ddi_get_instance(dip); 240 if (ddi_create_priv_minor_node(dip, name, 246 ddi_remove_minor_node(dip, NULL); 259 softc->dip = dip; 263 ddi_report_dev(dip); 286 mem_cache_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument [all...] |
H A D | pmubus.c | 76 static int pmubus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 78 static int pmubus_ctlops(dev_info_t *dip, dev_info_t *rdip, 84 static int pmubus_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 85 static int pmubus_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 217 * create soft state structure (dip, reg, nreg and state fields) 223 pmubus_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 233 instance = ddi_get_instance(dip); 242 pmubusp->pmubus_dip = dip; 245 if (ddi_getlongprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, 254 if (ddi_getlongprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPAS 303 pmubus_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 654 pmubus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t off, off_t len, caddr_t *addrp) argument 852 pmubus_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument [all...] |
H A D | sbbc.c | 87 #define getprop(dip, name, addr, intp) \ 88 ddi_getlongprop(DDI_DEV_T_ANY, (dip), DDI_PROP_DONTPASS, \ 113 static int sbbc_busmap(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 115 static int sbbc_ctlops(dev_info_t *dip, dev_info_t *rdip, 118 static int sbbc_intr_ops(dev_info_t *dip, dev_info_t *rdip, 120 static int sbbc_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, 122 static int sbbc_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, 124 static int sbbc_update_intr_state(dev_info_t *dip, dev_info_t *rdip, 143 static void sbbc_dbg(uint32_t flag, dev_info_t *dip, char *fmt, 289 sbbc_attach(dev_info_t *dip, ddi_attach_cmd_ argument 453 sbbc_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 512 sbbc_busmap(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t off, off_t len, caddr_t *addrp) argument 610 sbbc_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 668 sbbc_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument 722 sbbc_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument 770 sbbc_update_intr_state(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument 819 sbbc_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument 1026 sbbc_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument 1260 sbbc_initchild(dev_info_t *dip, dev_info_t *rdip, dev_info_t *child) argument 1417 sbbc_dbg(uint32_t flag, dev_info_t *dip, char *fmt, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5) argument 1480 sbbc_dump_devid(dev_info_t *dip, struct sbbcsoft *sbbcsoftp, int instance) argument [all...] |
H A D | todds1287.c | 257 ds1287_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, argument 270 *result = (void *)softsp->dip; 283 ds1287_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 303 instance = ddi_get_instance(dip); 323 softsp->dip = dip; 325 if (ddi_prop_create(DDI_DEV_T_NONE, dip, DDI_PROP_CANSLEEP, 337 if (ddi_add_softintr(dip, DDI_SOFTINT_FIXED, &ds1287_softintr_id, 345 if (ddi_add_intr(dip, 0, NULL, (ddi_idevice_cookie_t *) 356 if (ddi_create_minor_node(dip, "power_butto 379 ds1287_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument [all...] |
H A D | upa64s.c | 54 upa64s_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 57 upa64s_ctlops(dev_info_t *dip, dev_info_t *rdip, 60 upa64_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, 63 upa64s_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, 66 upa64s_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, 72 static int upa64s_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 73 static int upa64s_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 74 static int upa64s_power(dev_info_t *dip, int component, int level); 183 static int report_dev(dev_info_t *dip); 184 static int get_properties(upa64s_devstate_t *upa64s_p, dev_info_t *dip); 201 upa64s_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 330 upa64s_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 374 upa64s_power(dev_info_t *dip, int component, int level) argument 492 upa64s_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t off, off_t len, caddr_t *addrp) argument 603 upa64s_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument 667 upa64s_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument 710 upa64_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 786 upa64s_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument 848 get_properties(upa64s_devstate_t *upa64s_p, dev_info_t *dip) argument 924 get_reg_set(dev_info_t *dip, dev_info_t *child, int rnumber, off_t off, off_t len, struct regspec *rp) argument 968 xlate_reg_prop(dev_info_t *dip, upa64s_regspec_t *child_rp, off_t off, off_t len, struct regspec *rp) argument 1042 report_dev(dev_info_t *dip) argument 1173 dev_info_t *dip = (dev_info_t *)arg; local 1207 upa64s_debug(uint_t flag, dev_info_t *dip, char *fmt, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci.c | 58 static int pci_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 59 static int pci_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 60 static int pci_info(dev_info_t *dip, ddi_info_cmd_t infocmd, 145 extern void pci_child_cfg_save(dev_info_t *dip); 146 extern void pci_child_cfg_restore(dev_info_t *dip); 245 pci_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument 252 return (pcihp_info(dip, infocmd, arg, result)); 277 pci_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 280 int instance = ddi_get_instance(dip); 284 DEBUG0(DBG_ATTACH, dip, "DDI_ATTAC 402 pci_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 481 pci_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t off, off_t len, caddr_t *addrp) argument 569 pci_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep) argument 635 pci_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 674 pci_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument 692 pci_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 767 pci_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument 819 pci_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 913 pci_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 1207 pci_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument 1281 pci_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 1359 dev_info_t *dip; local [all...] |
H A D | pci_tools.c | 115 static int pcitool_get_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p); 116 static int pcitool_set_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p); 253 pcitool_intr_info(dev_info_t *dip, void *arg, int mode) argument 290 pcitool_get_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p) argument 412 pcitool_set_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p) argument 515 dev_info_t *dip = pci_p->pci_dip; local 522 rval = pcitool_intr_info(dip, arg, mode); 527 rval = pcitool_get_intr(dip, arg, mode, pci_p); 532 rval = pcitool_set_intr(dip, arg, mode, pci_p); 562 dev_info_t *dip local 626 dev_info_t *dip = pci_p->pci_dip; local 729 dev_info_t *dip = pci_p->pci_dip; local 813 dev_info_t *dip = pci_p->pci_dip; local 837 dev_info_t *dip = pci_p->pci_dip; local 986 pcitool_init(dev_info_t *dip) argument 1006 pcitool_uninit(dev_info_t *dip) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ |
H A D | acebus.c | 64 acebus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, 67 acebus_ctlops(dev_info_t *dip, dev_info_t *rdip, 70 acebus_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, 76 static int acebus_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 77 static int acebus_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 88 static int acebus_set_imap(dev_info_t *dip); 91 #define getprop(dip, name, addr, intp) \ 92 ddi_getlongprop(DDI_DEV_T_ANY, (dip), DDI_PROP_DONTPASS, \ 220 * create soft state structure (dip, reg, nreg and state fields) 226 acebus_attach(dev_info_t *dip, ddi_attach_cmd_ argument 296 acebus_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 374 acebus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t off, off_t len, caddr_t *addrp) argument 562 acebus_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument 676 acebus_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 926 dev_info_t *dip = ebus_p->dip; local 1052 acebus_set_imap(dev_info_t *dip) argument [all...] |
H A D | pcf8574_nct.c | 130 static int pcf8574_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 131 static int pcf8574_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 352 pcf8574_do_resume(dev_info_t *dip) argument 354 int instance = ddi_get_instance(dip); 368 pcf8574_do_detach(dev_info_t *dip) argument 374 instance = ddi_get_instance(dip); 411 ddi_remove_minor_node(dip, NULL); 419 (void) ddi_prop_remove(DDI_DEV_T_NONE, dip, 447 pcf8574_do_attach(dev_info_t *dip) argument 456 instance = ddi_get_instance(dip); 654 pcf8574_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 667 pcf8574_do_suspend(dev_info_t *dip) argument 687 pcf8574_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 1599 dev_info_t *dip = unitp->dip; local [all...] |
H A D | pcf8591_nct.c | 131 static int pcf8591_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, 133 static int pcf8591_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 134 static int pcf8591_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 660 pcf8591_do_detach(dev_info_t *dip) argument 666 instance = ddi_get_instance(dip); 695 ddi_remove_minor_node(dip, NULL); 720 pcf8591_do_suspend(dev_info_t *dip) argument 722 int instance = ddi_get_instance(dip); 750 pcf8591_do_resume(dev_info_t *dip) argument 752 int instance = ddi_get_instance(dip); 768 pcf8591_do_attach(dev_info_t *dip) argument 891 pcf8591_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument 906 pcf8591_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 919 pcf8591_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 1076 dev_info_t *dip = unitp->dip; local [all...] |
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 245 dev_info_t *dip; local 254 if ((dip = e_ddi_hold_devi_by_dev(dev, 0)) == NULL) { 255 ttymux_dprintf(DPRINT_L2, "No dip for %d:%d\n", 263 ndi_devi_enter(dip, &circ); 264 for (dmdp = DEVI(dip)->devi_minor; dmdp != NULL; dmdp = dmdp->next) { 275 if (ddi_prop_op(DDI_DEV_T_ANY, dip, 295 ndi_devi_exit(dip, circ); 296 ddi_release_devi(dip); 742 find_consoles(sm_mux_state_t *ms, dev_info_t *dip, dev_t dev) argument 768 if ((propval = platform_consoles(ms, dip, de 793 validate_reservation(dacf_infohdl_t di, dev_info_t **dip, dev_t *dev, io_mode_t *mode) argument 847 dev_info_t *dip; local [all...] |
/illumos-gate/usr/src/uts/sun4u/montecarlo/sys/ |
H A D | acebus.h | 82 dev_info_t *dip; member in struct:__anon9842 134 #define getprop(dip, name, addr, intp) \ 135 ddi_getlongprop(DDI_DEV_T_ANY, (dip), DDI_PROP_DONTPASS, \
|
H A D | pcf8591_nct.h | 200 dev_info_t *dip; member in struct:pcf8591_unit
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_quiesce.c | 65 extern int is_pseudo_device(dev_info_t *dip); 70 static int dr_is_real_device(dev_info_t *dip); 73 static int dr_check_dip(dev_info_t *dip, void *arg, uint_t ref); 74 static int dr_resolve_devname(dev_info_t *dip, char *buffer, 172 dr_is_real_device(dev_info_t *dip) argument 178 if (ddi_get_driver(dip) == NULL) 181 if (DEVI(dip)->devi_pm_flags & (PMC_NEEDS_SR|PMC_PARENTAL_SR)) 183 if (DEVI(dip)->devi_pm_flags & PMC_NO_SR) 189 rc = ddi_getlongprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, "reg", 238 dr_resolve_devname(dev_info_t *dip, cha argument 276 dr_check_dip(dev_info_t *dip, void *arg, uint_t ref) argument 315 dr_check_unsafe_major(dev_info_t *dip, void *arg) argument 323 dr_check_devices(dev_info_t *dip, int *refcount, dr_handle_t *handle, uint64_t *arr, int *idx, int len, int *refcount_non_gldv3) argument 345 dr_suspend_devices(dev_info_t *dip, dr_sr_handle_t *srh) argument 427 dev_info_t *dip, *next, *last = NULL; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | dm2s.c | 104 int dm2s_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 105 int dm2s_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 106 int dm2s_info(dev_info_t *dip, ddi_info_cmd_t infocmd, 245 dm2s_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 252 instance = ddi_get_instance(dip); 273 dm2sp->ms_dip = dip; 274 dm2sp->ms_major = ddi_driver_major(dip); 285 if (ddi_get_soft_iblock_cookie(dip, SCF_EVENT_PRI, 298 if (ddi_create_minor_node(dip, name, S_IFCHR, instance, 300 ddi_remove_minor_node(dip, NUL 319 dm2s_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument 353 dm2s_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_cmn_func.c | 1831 oplmsu_cmn_prt_pathname(dev_info_t *dip) argument 1836 (void) ddi_pathname(dip, wrkbuf); 1839 'a'+ ddi_get_instance(dip));
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | fillsysinfo.c | 613 get_portid_ddi(dev_info_t *dip, dev_info_t **cmpp) argument 624 if ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 627 if ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 630 if (ddi_prop_op(DDI_DEV_T_ANY, dip, PROP_LEN_AND_VAL_BUF, 643 cpu_parent = dip = ddi_get_parent(dip); 644 for (i = 0; dip != NULL && i < 2; i++) { 645 if ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 651 dip = ddi_get_parent(dip); 665 fill_cpu_ddi(dev_info_t *dip) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp.c | 206 sbdp_get_board_num(sbdp_handle_t *hp, dev_info_t *dip) argument 216 if (dip == NULL) 219 nodeid = ddi_get_nodeid(dip); 248 sbdp_get_unit_num(sbdp_handle_t *hp, dev_info_t *dip) argument 261 if (dip == NULL) 264 nodeid = ddi_get_nodeid(dip); 282 if ((cpuid = sbdp_get_cpuid(hp, dip)) != -1) { 346 dev_info_t *dip; member in struct:sbdp_mem_dip 367 * We need to find the dip only for the first nodeid 370 ASSERT(smdp->dip 783 sbdp_release_component(sbdp_handle_t *hp, dev_info_t *dip) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/heci/ |
H A D | heci_main.c | 102 static int heci_attach(dev_info_t *dip, ddi_attach_cmd_t cmd); 103 static int heci_initialize(dev_info_t *dip, struct iamt_heci_device *device); 104 static int heci_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, 106 static int heci_detach(dev_info_t *dip, ddi_detach_cmd_t cmd); 107 static int heci_quiesce(dev_info_t *dip); 122 static void heci_resume(dev_info_t *dip); 123 static int heci_suspend(dev_info_t *dip); 218 heci_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument 227 heci_resume(dip); 236 instance = ddi_get_instance(dip); /* fin 270 heci_initialize(dev_info_t *dip, struct iamt_heci_device *device) argument 363 heci_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument 479 heci_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **result) argument 1415 heci_quiesce(dev_info_t *dip) argument 1441 heci_suspend(dev_info_t *dip) argument 1509 heci_resume(dev_info_t *dip) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/ |
H A D | iommulib.c | 36 /* 1 per IOMMU unit. There may be more than one per dip */ 124 iommulib_nexus_register(dev_info_t *dip, iommulib_nexops_t *nexops, argument 128 int instance = ddi_get_instance(dip); 129 const char *driver = ddi_driver_name(dip); 130 dev_info_t *pdip = ddi_get_parent(dip); 141 if (dip != ddi_root_node() && (i_ddi_node_state(dip) < DS_PROBED || 264 ndi_hold_devi(dip); 265 nexp->nex_dip = dip; 281 DEVI(dip) 300 dev_info_t *dip; local 342 iommulib_iommu_register(dev_info_t *dip, iommulib_ops_t *ops, iommulib_handle_t *handle) argument 494 dev_info_t *dip; local 547 iommulib_nex_open(dev_info_t *dip, dev_info_t *rdip) argument 641 iommulib_nexdma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep) argument 656 iommulib_nexdma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument 673 iommulib_nexdma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 688 iommulib_nexdma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument 702 iommulib_nexdma_sync(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cache_flags) argument 717 iommulib_nexdma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 732 iommulib_nexdma_mapobject(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument 744 iommulib_nexdma_unmapobject(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument 756 iommulib_iommu_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument 768 iommulib_iommu_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument 779 iommulib_iommu_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 791 iommulib_iommu_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument 801 iommulib_iommu_dma_reset_cookies(dev_info_t *dip, ddi_dma_handle_t handle) argument 810 iommulib_iommu_dma_get_cookies(dev_info_t *dip, ddi_dma_handle_t handle, ddi_dma_cookie_t **cookiepp, uint_t *ccountp) argument 820 iommulib_iommu_dma_set_cookies(dev_info_t *dip, ddi_dma_handle_t handle, ddi_dma_cookie_t *cookiep, uint_t ccount) argument 830 iommulib_iommu_dma_clear_cookies(dev_info_t *dip, ddi_dma_handle_t handle) argument 839 iommulib_iommu_dma_get_sleep_flags(dev_info_t *dip, ddi_dma_handle_t handle) argument 848 iommulib_iommu_dma_sync(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags) argument 859 iommulib_iommu_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 871 iommulib_iommu_dmahdl_setprivate(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, void *priv) argument 881 iommulib_iommu_dmahdl_getprivate(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument 915 dev_info_t *dip; local [all...] |
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 200 dev_info_t *dip; member in struct:__anon9568 212 dev_info_t *dip; member in struct:__anon9568::__anon9569 304 ppb->dip = devi; 450 ppb_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument 455 ddi_get_instance(dip)); 457 if (strcmp(ddi_driver_name(ddi_get_parent(dip)), "npe") == 0 && 463 hdlp->ahi_scan_dip = dip; 466 pdip = (dev_info_t *)DEVI(dip)->devi_parent; 473 ppb_ctlops(dev_info_t *dip, dev_info_t *rdip, argument 481 ddi_get_instance(dip)); 727 ppb_removechild(dev_info_t *dip) argument 766 dev_info_t *dip; local 804 dev_info_t *dip; local 1003 ppb_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op, int flags, char *name, caddr_t valuep, int *lengthp) argument 1021 ppb_info(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **result) argument 1049 ppb_peekpoke_cb(dev_info_t *dip, ddi_fm_error_t *derr) argument 1055 ppb_fm_init(dev_info_t *dip, dev_info_t *tdip, int cap, ddi_iblock_cookie_t *ibc) argument 1069 ppb_fm_callback(dev_info_t *dip, ddi_fm_error_t *derr, const void *no_used) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcieb_x86.c | 46 pcieb_peekpoke_cb(dev_info_t *dip, ddi_fm_error_t *derr) { argument 47 pf_eh_enter(PCIE_DIP2BUS(dip)); 48 (void) pf_scan_fabric(dip, derr, NULL); 49 pf_eh_exit(PCIE_DIP2BUS(dip)); 53 pcieb_set_prot_scan(dev_info_t *dip, ddi_acc_impl_t *hdlp) argument 56 ddi_get_instance(dip)); 60 hdlp->ahi_scan_dip = dip; 65 pcieb_plat_peekpoke(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, argument 69 ddi_get_instance(dip)); 71 if (!PCIE_IS_RP(PCIE_DIP2BUS(dip))) 82 pcieb_plat_attach_workaround(dev_info_t *dip) argument 92 pcieb_intel_error_workaround(dev_info_t *dip) argument 103 pcieb_plat_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 112 pcieb_plat_pcishpc_probe(dev_info_t *dip, ddi_acc_handle_t config_handle) argument 123 pcishpc_init(dev_info_t *dip) argument 130 pcishpc_uninit(dev_info_t *dip) argument 137 pcishpc_intr(dev_info_t *dip) argument 144 pcieb_plat_pwr_disable(dev_info_t *dip) argument 151 pcieb_plat_msi_supported(dev_info_t *dip) argument 458 pcieb_intel_serr_workaround(dev_info_t *dip, boolean_t mcheck) argument 549 pcieb_intel_rber_workaround(dev_info_t *dip) argument 580 pcieb_intel_mps_workaround(dev_info_t *dip) argument 608 pcieb_intel_sw_workaround(dev_info_t *dip) argument [all...] |
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | sdt.c | 428 sdt_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
|