/illumos-gate/usr/src/cmd/mdb/common/modules/usba/ |
H A D | usba.c | 44 * dip_addr is address of the devinfo struct in the core image (not local space) 79 * dip_addr is address of the devinfo struct in the core image (not local space) 91 * dip_addr is address of the devinfo struct in the core image (not local space) 96 struct dev_info devinfo; local 98 if (mdb_vread(&devinfo, sizeof (struct dev_info), dip_addr) == -1) { 111 if (mdb_usba_is_root_hub(&devinfo)) { 113 uintptr_t hcdi_addr = mdb_usba_hcdi_get_hcdi(&devinfo); 131 struct dev_info devinfo; local 133 if (mdb_vread(&devinfo, sizeof (struct dev_info), 141 return ((uintptr_t)devinfo [all...] |
H A D | usb.c | 141 * Walk all USB children of the root hub devinfo. 156 * Walk devinfo children starting with the root hub node, 443 struct dev_info devinfo; local 495 if (mdb_vread(&devinfo, sizeof (struct dev_info), 497 mdb_warn("failed to read devinfo"); 502 if (!(DDI_CF2(&devinfo))) { 507 mdb_printf("%-15s %2d %-?p %s\n", dname, devinfo.devi_instance,
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | dsr.h | 52 char *devinfo; member in struct:mnt_info
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | ufs_module.c | 43 static dev_info_t *devinfo; variable 52 lba = lba / (devinfo->dev->Media->BlockSize / DEV_BSIZE); 55 status = devinfo->dev->ReadBlocks(devinfo->dev, 56 devinfo->dev->Media->MediaId, lba, size, buf); 60 "status: %lu\n", devinfo->dev, 61 devinfo->dev->Media->MediaId, lba, size, 77 devinfo = dev;
|
H A D | zfs_module.c | 46 dev_info_t *devinfo; local 50 devinfo = (dev_info_t *)priv; 51 lba = off / devinfo->dev->Media->BlockSize; 53 status = devinfo->dev->ReadBlocks(devinfo->dev, 54 devinfo->dev->Media->MediaId, lba, bytes, buf); 57 " status: %lu\n", devinfo->dev, 58 devinfo->dev->Media->MediaId, lba, bytes, 94 load(const char *filepath, dev_info_t *devinfo, void **bufp, size_t *bufsize) argument 104 spa = devinfo [all...] |
H A D | boot1.c | 470 dev_info_t *devinfo; local 510 sizeof(*devinfo), (void **)&devinfo)) != 512 DPRINTF("\nFailed to allocate devinfo (%lu)\n", 516 devinfo->dev = blkio; 517 devinfo->devpath = devpath; 518 devinfo->devhandle = h; 519 devinfo->devdata = NULL; 520 devinfo->preferred = *preferred; 521 devinfo 691 add_device(dev_info_t **devinfop, dev_info_t *devinfo) argument [all...] |
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 63 static void devinfo(struct dk_geom *geom, int fd, char *device); 102 (void) fprintf(stderr, "devinfo: %s: %s\n", 119 devinfo(&geom, fd, device); 166 devinfo(struct dk_geom *geom, int fd, char *device) function 236 static char myname[] = "devinfo"; 252 (void) fprintf(stderr, "Usage: devinfo -p device\n" 253 " devinfo -i device \n");
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_buf.c | 315 dev_info_t *devinfo; local 319 devinfo = ixgbe->dip; 334 ret = ddi_dma_alloc_handle(devinfo, &ixgbe_desc_dma_attr, 444 dev_info_t *devinfo; local 448 devinfo = ixgbe->dip; 455 ret = ddi_dma_alloc_handle(devinfo, &ixgbe_desc_dma_attr, 560 dev_info_t *devinfo = ixgbe->dip; local 565 ret = ddi_dma_alloc_handle(devinfo, 663 dev_info_t *devinfo = ixgbe->dip; local 728 ret = ddi_dma_alloc_handle(devinfo, [all...] |
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_buf.c | 210 dev_info_t *devinfo; local 214 devinfo = igb->dip; 229 ret = ddi_dma_alloc_handle(devinfo, &igb_desc_dma_attr, 448 dev_info_t *devinfo; local 452 devinfo = igb->dip; 459 ret = ddi_dma_alloc_handle(devinfo, &igb_desc_dma_attr, 566 dev_info_t *devinfo = igb->dip; local 571 ret = ddi_dma_alloc_handle(devinfo, 669 dev_info_t *devinfo = igb->dip; local 734 ret = ddi_dma_alloc_handle(devinfo, [all...] |
/illumos-gate/usr/src/cmd/allocate/ |
H A D | add_allocatable.c | 73 devinfo_t devinfo; local 107 dargs.devinfo = &devinfo; 142 dargs.devinfo->devname, gettext("\n")); 175 devinfo_t *devinfo; local 177 devinfo = dargs->devinfo; 179 devinfo->devname = devinfo->devtype = devinfo 395 devinfo_t *devinfo; local [all...] |
H A D | allocate3.c | 1845 devinfo_t devinfo; local 1851 devinfo.devname = devinfo.devtype = devinfo.devauths = devinfo.devexec = 1852 devinfo.devlist = NULL; 1859 devinfo.devopts = optstr; 1861 dargs.devinfo = &devinfo;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 502 frutree_devinfo_t *devinfo; local 505 devinfo = *(frutree_devinfo_t **)arg; 506 frup = (frutree_frunode_t *)devinfo->arg; 511 if (devinfo->rnode == node) { /* skip the root node */ 514 bus_addr = devinfo->bus_addr; 549 (void) snprintf(devinfo->path, sizeof (devinfo->path), 580 (void) strncpy(devinfo->path, path, sizeof (devinfo->path)); 591 frutree_devinfo_t *devinfo local 672 frutree_devinfo_t *devinfo = NULL; local 730 frutree_devinfo_t *devinfo = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_alloc.c | 274 dev_info_t *devinfo; local 280 devinfo = Adapter->dip; 310 mystat = ddi_dma_alloc_handle(devinfo, &dma_attr, 371 mystat = ddi_dma_alloc_handle(devinfo, &dma_attr, 479 dev_info_t *devinfo; local 485 devinfo = Adapter->dip; 504 mystat = ddi_dma_alloc_handle(devinfo, &dma_attr, 560 mystat = ddi_dma_alloc_handle(devinfo, &dma_attr, 782 dev_info_t *devinfo; local 786 devinfo 855 dev_info_t *devinfo; local 953 dev_info_t *devinfo; local 1131 dev_info_t *devinfo; local [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | devalloc.h | 138 devinfo_t devinfo; member in struct:_deventry_t 154 devinfo_t *devinfo; member in struct:_da_optargs
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | qcn.c | 252 dev_info_t *devinfo = qcn_state->qcn_dip; local 258 rc = ddi_intr_get_nintrs(devinfo, DDI_INTR_TYPE_FIXED, &count); 268 rc = ddi_intr_alloc(devinfo, qcn_state->qcn_htable,
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | fiomp.h | 88 struct fiomp_devinfo *devinfo; /* device informations */ member in struct:fiomp_all_devinfo
|
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_main.c | 1052 atge_attach(dev_info_t *devinfo, ddi_attach_cmd_t cmd) argument 1062 instance = ddi_get_instance(devinfo); 1066 return (atge_resume(devinfo)); 1069 ddi_set_driver_private(devinfo, NULL); 1077 ddi_set_driver_private(devinfo, atgep); 1078 atgep->atge_dip = devinfo; 1091 err = pci_config_setup(devinfo, &atgep->atge_conf_handle); 1093 atge_error(devinfo, "pci_config_setup() failed"); 1102 err = ddi_regs_map_setup(devinfo, ATGE_PCI_REG_NUMBER, 1105 atge_error(devinfo, "ddi_regs_map_setu [all...] |
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 154 * to obtain the devinfo. 232 * instance to a devinfo instance. For dev_t's where the minor number 240 dev_info_t *devinfo; local 246 if ((devinfo = dld_finddevinfo((dev_t)arg)) != NULL) { 247 *(dev_info_t **)resp = devinfo; 256 (devinfo = dld_finddevinfo((dev_t)arg)) != NULL) { 257 *resp = (void *)(uintptr_t)ddi_get_instance(devinfo);
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_impl.h | 160 dev_info_t *devinfo; /* device instance */ member in struct:dmfe
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 144 err = ddi_dma_alloc_handle(rgep->devinfo, dma_attr_p, 1300 dev_info_t *dip = rgep->devinfo; 1493 ddi_remove_minor_node(rgep->devinfo, NULL); 1498 rge_resume(dev_info_t *devinfo) argument 1504 rgep = ddi_get_driver_private(devinfo); 1519 if (rgep->devinfo != devinfo) 1521 "rge: passed devinfo not the same as saved devinfo"); 1565 rge_attach(dev_info_t *devinfo, ddi_attach_cmd_ argument 1896 rge_quiesce(dev_info_t *devinfo) argument 1919 rge_detach(dev_info_t *devinfo, ddi_detach_cmd_t cmd) argument [all...] |
/illumos-gate/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 336 rtls_attach(dev_info_t *devinfo, ddi_attach_cmd_t cmd) argument 351 if ((rtlsp = ddi_get_driver_private(devinfo)) == NULL) { 362 if (pci_config_setup(devinfo, &pci_handle) != DDI_SUCCESS) { 393 if (ddi_intr_hilevel(devinfo, 0) != 0) { 401 if (pci_config_setup(devinfo, &pci_handle) != DDI_SUCCESS) { 449 ddi_set_driver_private(devinfo, rtlsp); 450 rtlsp->devinfo = devinfo; 451 rtlsp->instance = ddi_get_instance(devinfo); 456 err = ddi_regs_map_setup(devinfo, 567 rtls_detach(dev_info_t *devinfo, ddi_detach_cmd_t cmd) argument 632 rtls_quiesce(dev_info_t *devinfo) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | llc1.c | 67 static int llc1_attach(dev_info_t *devinfo, ddi_attach_cmd_t cmd); 241 llc1_attach(dev_info_t *devinfo, ddi_attach_cmd_t cmd) argument 268 ddi_set_driver_private(devinfo, &llc1_device_list); 273 if (ddi_create_minor_node(devinfo, "llc1", S_IFCHR, 275 llc1error(devinfo, "ddi_create_minor_node failed"); 276 ddi_remove_minor_node(devinfo, NULL); 280 devinfo, 0, "multisize", 0); 284 ddi_report_dev(devinfo); 308 * llc1_devinfo(dev, cmd, arg, result) standard kernel devinfo lookup
|
/illumos-gate/usr/src/uts/intel/io/amd8111s/ |
H A D | amd8111s_main.c | 666 ddi_get_instance(adapter->pOdl->devinfo)); 769 dev_info_t *devinfo = pOdl->devinfo; local 776 if (ddi_dma_alloc_handle(devinfo, &pcn_desc_dma_attr_t, DDI_DMA_SLEEP, 824 if (ddi_dma_alloc_handle(devinfo, &pcn_desc_dma_attr_t, DDI_DMA_SLEEP, 927 dev_info_t *devinfo = pLayerPointers->pOdl->devinfo; local 962 if (ddi_dma_alloc_handle(devinfo, &pcn_buff_dma_attr_t, 1670 amd8111s_attach(dev_info_t *devinfo, ddi_attach_cmd_t cmd) argument 1691 pLayerPointers->instance = ddi_get_instance(devinfo); 1823 amd8111s_detach(dev_info_t *devinfo, ddi_detach_cmd_t cmd) argument 1846 amd8111s_unattach(dev_info_t *devinfo, struct LayerPointers *pLayerPointers) argument [all...] |
H A D | amd8111s_main.h | 272 dev_info_t *devinfo; member in struct:odl
|
/illumos-gate/usr/src/uts/common/io/vioblk/ |
H A D | vioblk.c | 530 vioblk_devid_init(void *arg, dev_info_t *devinfo, ddi_devid_t *devid) argument 539 ret = ddi_devid_init(devinfo, DEVID_ATA_SERIAL, 542 dev_err(devinfo, CE_WARN, "Cannot build devid from the device"); 815 vioblk_attach(dev_info_t *devinfo, ddi_attach_cmd_t cmd) argument 823 instance = ddi_get_instance(devinfo); 831 dev_err(devinfo, CE_WARN, "resume not supported yet"); 836 dev_err(devinfo, CE_WARN, "cmd 0x%x not recognized", cmd); 842 ddi_set_driver_private(devinfo, sc); 847 sc->sc_dev = devinfo; 848 vsc->sc_dev = devinfo; 1037 vioblk_detach(dev_info_t *devinfo, ddi_detach_cmd_t cmd) argument 1068 vioblk_quiesce(dev_info_t *devinfo) argument [all...] |