/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | central.c | 59 central_attach(dev_info_t *devi, ddi_attach_cmd_t cmd); 62 central_detach(dev_info_t *devi, ddi_detach_cmd_t cmd); 156 central_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 170 (void) ddi_prop_update_string(DDI_DEV_T_NONE, devi, 173 ddi_report_dev(devi); 179 central_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument
|
H A D | simmstat.c | 160 simmstat_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 176 instance = ddi_get_instance(devi); 184 softsp->dip = devi; 195 DPRINTF(SIMMSTAT_ATTACH_DEBUG, ("simmstat%d: devi= 0x%p\n, " 196 " softsp=0x%p\n", instance, (void *)devi, (void *)softsp)); 207 (void) ddi_prop_update_string(DDI_DEV_T_NONE, devi, 213 ddi_report_dev(devi); 224 simmstat_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 229 /* get the instance of this devi */ 230 instance = ddi_get_instance(devi); [all...] |
H A D | sram.c | 154 sram_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 170 instance = ddi_get_instance(devi); 178 softsp->dip = devi; 189 DPRINTF(SRAM_ATTACH_DEBUG, ("sram%d: devi= 0x%p\n, " 190 " softsp=0x%p\n", instance, (void *)devi, (void *)softsp)); 201 (void) ddi_prop_update_string(DDI_DEV_T_NONE, devi, 207 ddi_report_dev(devi); 218 sram_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 223 /* get the instance of this devi */ 224 instance = ddi_get_instance(devi); [all...] |
H A D | environ.c | 56 static int environ_attach(dev_info_t *devi, ddi_attach_cmd_t cmd); 58 static int environ_detach(dev_info_t *devi, ddi_detach_cmd_t cmd); 178 environ_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 194 instance = ddi_get_instance(devi); 202 softsp->dip = devi; 220 DPRINTF(ENVIRON_ATTACH_DEBUG, ("environ: devi= 0x%p\n, softsp=0x%p,", 221 (void *)devi, (void *)softsp)); 231 (void) ddi_prop_update_string(DDI_DEV_T_NONE, devi, 234 ddi_report_dev(devi); 263 environ_detach(dev_info_t *devi, ddi_detach_cmd_ argument [all...] |
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_driver.c | 238 devi_string(dev_info_t *devi, char *buf) argument 244 name = ddi_node_name(devi); 245 address = ddi_get_name_addr(devi);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | options.c | 40 static int options_attach(dev_info_t *devi, ddi_attach_cmd_t cmd); 41 static int options_detach(dev_info_t *devi, ddi_detach_cmd_t cmd); 127 options_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 131 options_devi = devi; 144 options_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument
|
H A D | cpuid_drv.c | 55 cpuid_getinfo(dev_info_t *devi, ddi_info_cmd_t cmd, void *arg, void **result) argument 80 cpuid_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 84 cpuid_devi = devi; 86 return (ddi_create_minor_node(devi, CPUID_DRIVER_SELF_NODE, S_IFCHR, 91 cpuid_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 95 ddi_remove_minor_node(devi, NULL);
|
H A D | dump.c | 53 dump_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 57 if (ddi_create_minor_node(devi, "dump", S_IFCHR, 0, DDI_PSEUDO, NULL) == 59 ddi_remove_minor_node(devi, NULL); 62 dump_devi = devi; 67 dump_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 71 ddi_remove_minor_node(devi, NULL);
|
H A D | clone.c | 118 cln_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 120 cln_dip = devi;
|
H A D | cons.c | 204 cn_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 209 if (ddi_create_minor_node(devi, "syscon", S_IFCHR, 213 if (ddi_create_minor_node(devi, "systty", S_IFCHR, 215 ddi_remove_minor_node(devi, NULL); 218 if (ddi_create_minor_node(devi, "console", S_IFCHR, 220 ddi_remove_minor_node(devi, NULL); 224 cn_dip = devi; 229 cn_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 233 ddi_remove_minor_node(devi, NULL);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | ndievents.c | 112 struct dev_info devi; local 128 if (mdb_vread(&devi, sizeof (struct dev_info), 135 if (dip_to_pathname(&devi, device_path, sizeof (device_path)) 210 struct dev_info devi; local 224 if (mdb_vread(&devi, sizeof (struct dev_info), 232 if (dip_to_pathname(&devi, path, sizeof (path)) == -1) {
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | inetddi.c | 128 inet_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 135 inet_dev_info = devi; 140 if (drv == NULL || strcmp(drv, ddi_driver_name(devi)) == 0) 144 return (ddi_create_priv_minor_node(devi, INET_NAME, S_IFCHR, 151 inet_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 156 ASSERT(devi == inet_dev_info); 158 ddi_remove_minor_node(devi, NULL);
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | balloon_drv.c | 51 balloon_getinfo(dev_info_t *devi, ddi_info_cmd_t cmd, void *arg, void **result) argument 71 balloon_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 76 if (ddi_create_minor_node(devi, ddi_get_name(devi), S_IFCHR, 77 ddi_get_instance(devi), DDI_PSEUDO, 0) != DDI_SUCCESS) 80 balloon_devi = devi; 81 ddi_report_dev(devi); 86 balloon_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 90 ddi_remove_minor_node(devi, NULL);
|
H A D | domcaps.c | 51 domcaps_getinfo(dev_info_t *devi, ddi_info_cmd_t cmd, void *arg, void **result) argument 71 domcaps_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 76 if (ddi_create_minor_node(devi, ddi_get_name(devi), S_IFCHR, 77 ddi_get_instance(devi), DDI_PSEUDO, 0) != DDI_SUCCESS) 80 domcaps_devi = devi; 81 ddi_report_dev(devi); 86 domcaps_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 90 ddi_remove_minor_node(devi, NULL);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | biosdisk.c | 82 dev_info_t *devi; local 115 devi = ddi_root_node(); 117 devi, (char *)name,
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_memory.c | 103 drm_get_pci_index_reg(dev_info_t *devi, uint_t physical, uint_t size, argument 114 if (ddi_dev_nregs(devi, &n_reg) == DDI_FAILURE) { 120 if (ddi_getlongprop(DDI_DEV_T_ANY, devi, DDI_PROP_DONTPASS, 153 do_ioremap(dev_info_t *devi, drm_device_iomap_t *iomap) argument 159 regnum = drm_get_pci_index_reg(devi, iomap->physical, 169 ret = ddi_regs_map_setup(devi, iomap->drm_regnum,
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | autoconf.c | 321 di_dfs(dev_info_t *devi, int (*f)(dev_info_t *, int), caddr_t arg) argument 323 (void) (*f)(devi, 0); 324 if (devi) { 325 di_dfs((dev_info_t *)DEVI(devi)->devi_child, f, arg); 326 di_dfs((dev_info_t *)DEVI(devi)->devi_sibling, f, arg);
|
H A D | dacf_clnt.c | 215 dacfc_postattach(dev_info_t *devi) argument 225 opsp = &DEVI(devi)->devi_dacf_tasks; 249 if ((pathp = ddi_pathname(devi, path)) == NULL) 268 dacfc_predetach(dev_info_t *devi) argument 278 opsp = &DEVI(devi)->devi_dacf_tasks; 303 if ((pathp = ddi_pathname(devi, path)) == NULL) 310 pa_err = dacfc_postattach(devi); 314 if ((pathp = ddi_pathname(devi, path)) == NULL)
|
/illumos-gate/usr/src/uts/common/io/ib/clients/sdp/ |
H A D | sdpddi.c | 86 sdp_gen_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 93 sdp_dev_info = devi; 95 ret = ddi_create_minor_node(devi, SDP_NAME, S_IFCHR, 104 sdp_gen_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 109 ASSERT(devi == sdp_dev_info); 111 ddi_remove_minor_node(devi, NULL);
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | cvcredir.c | 146 cvcr_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 153 if (ddi_create_minor_node(devi, "cvcredir", S_IFCHR, 155 ddi_remove_minor_node(devi, NULL); 158 cvcr_dip = devi;
|
/illumos-gate/usr/src/uts/sun4u/starfire/cvcredir/ |
H A D | cvcredir.c | 142 cvcr_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 150 if (ddi_create_minor_node(devi, "cvcredir", S_IFCHR, 152 ddi_remove_minor_node(devi, NULL); 155 cvcr_dip = devi;
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | cnex.h | 93 dev_info_t *devi; member in struct:cnex_soft_state
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | ucode_drv.c | 52 ucode_getinfo(dev_info_t *devi, ddi_info_cmd_t cmd, void *arg, void **result) argument 77 ucode_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 86 ucode_devi = devi; 89 if (ddi_create_minor_node(devi, UCODE_NODE_NAME, S_IFCHR, 95 ddi_report_dev(devi); 104 ucode_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 120 ddi_remove_minor_node(devi, NULL);
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | lockstat.c | 235 lockstat_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 246 if (ddi_create_minor_node(devi, "lockstat", S_IFCHR, 0, 250 ddi_remove_minor_node(devi, NULL); 257 ddi_report_dev(devi); 258 lockstat_devi = devi; 263 lockstat_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 277 ddi_remove_minor_node(devi, NULL);
|
H A D | systrace.c | 233 systrace_attach(dev_info_t *devi, ddi_attach_cmd_t cmd) argument 247 if (ddi_create_minor_node(devi, "systrace", S_IFCHR, 0, 252 ddi_remove_minor_node(devi, NULL); 256 ddi_report_dev(devi); 257 systrace_devi = devi; 263 systrace_detach(dev_info_t *devi, ddi_detach_cmd_t cmd) argument 277 ddi_remove_minor_node(devi, NULL);
|