/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.h | 149 uint16_t device; /* PCI Device ID */ member in struct:aac_card_type 160 #define AAC_DEV_LD 0 /* logical device */ 161 #define AAC_DEV_PD 1 /* physical device */ 175 AAC_CFG_NULL_NOEXIST = 0, /* No change with no device */ 176 AAC_CFG_NULL_EXIST, /* No change but have device */ 187 int ncmds[AAC_CMDQ_NUM]; /* outstanding cmds of the device */ 188 int throttle[AAC_CMDQ_NUM]; /* hold IO cmds for the device */ 203 /* Non-DASD phys. device descrption, eg. CDROM or tape */ 294 struct aac_device *dvp; /* target device */ 339 #define AAC_FLAGS_NONDASD (1 << 10) /* non-DASD device supporte [all...] |
H A D | aac.c | 126 /* 00b - peripheral device addressing method */ 164 /* Write host data at valp to device mem[off] repeatedly count times */ 169 /* Read device data at mem[off] to host addr valp repeatedly count times */ 479 * ordered in vendor id, subvendor id, subdevice id, and device id 663 AAC_BLK_SIZE, /* granularity of device */ 848 /* Check for legacy device naming support */ 1102 * won't allow shutdown if any device is open. 1221 uint32_t index, device; local 1230 device = index; 1231 PCI_MEM_PUT32(softs, device, [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | gld.c | 213 * The device is of DL_ETHER type and is able to support VLAN by itself. 412 /* initialize device driver (per-major) list */ 503 * gld_register -- called once per device instance (PPA) 505 * During its attach routine, a real device driver will register with GLD 507 * devinfo pointer, the device name, and a macinfo structure describing the 508 * physical device instance. 574 /* first occurrence of this device name (major number) */ 625 * Set up interface pointer. These are device class specific pointers 754 /* add ourselves to this major device's linked list of instances */ 910 /* We now have one fewer instance for this major device */ 1342 glddev_t *device; local 5629 gld_findminor(glddev_t *device) argument [all...] |
H A D | pcic.c | 28 * PCIC device/interrupt handler 273 * in the memory and I/O windows for that device. 465 * provide instance/device information about driver 508 * find a PCIC device (any vendor) 883 pcic_err(dip, 8, "Is Cardbus device\n"); 2727 * dip pcic driver's device information 5269 uint32_t vend, device; local 5274 device = ddi_getprop(DDI_DEV_T_ANY, pcic->dip, 5276 "device-id", -1); 5278 device [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_mac.c | 271 * Figure out nxgep->mac.portmode from nxge.conf, OBP's device properties, 865 * Get the actual device ID value returned by MDIO read. 5522 * Perform write to Clause45 serdes / transceiver device 5528 * device: With each PHYAD, the driver can use MDIO to control 5529 * multiple devices inside the PHY, here "device" is an 5530 * MMD (MDIO managable device). 5531 * xcvr_reg: Each device has multiple registers. xcvr_reg specifies 5536 nxge_mdio_read(p_nxge_t nxgep, uint8_t xcvr_portn, uint8_t device, argument 5547 xcvr_portn, device, xcvr_reg, value)) != NPI_SUCCESS) 5564 /* Perform write to Clause45 serdes / transceiver device */ 5567 nxge_mdio_write(p_nxge_t nxgep, uint8_t xcvr_portn, uint8_t device, uint16_t xcvr_reg, uint16_t value) argument [all...] |
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge.h | 344 uint16_t device; /* device-id */ member in struct:__anon6476 379 dev_info_t *devinfo; /* device instance */
|
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/ |
H A D | ahci.c | 543 * During DDI_RESUME, the hardware state of the device 544 * (power may have been removed from the device) must be 1104 * the underlying device into a quiescent state so that it 1204 /* Support ATAPI device */ 1219 * QUEUED commands when the HBA and device support native command 1321 * port status registers and an attached device type via sata_device 1374 * SATA_ADDR_PMULT - check the status of all its device ports. 1406 /* Update port state and device type */ 1455 * HBA driver only knows it's an ATAPI device, and don't know 1456 * it's CD/DVD, tape or ATAPI disk because the ATAPI device 3332 ahci_selftest(dev_info_t *dip, sata_device_t *device) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/ |
H A D | scsi_vhci.h | 317 * to prevent unnecessary failover when a device is 438 * scsi device associated with this 550 * vectors for device specific failover related operations 573 * identify device 746 char ret_ct[MAXPATHLEN]; /* client device */ 747 char ret_phci[MAXPATHLEN]; /* pHCI device */ 748 } device; member in struct:sv_path_info32 750 char ret_addr[MAXNAMELEN]; /* device address */ 759 caddr32_t addr; /* device address */ 766 caddr32_t client; /* client device devf 809 } device; member in struct:sv_path_info [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid.c | 143 int nv_available = 0; /* presence of nv-ram support in device */ 305 * Close the broken device and clear the open flag on 306 * it. We have to check that the device is open, 914 * Setup un_orig_dev from device id info if the device 1040 * int removing - a flag to imply removing device name from 1279 * for the entire raid device. It is called from 1282 * On error the entire device is marked as in error by 1283 * placing the erroring device in error and all other 2066 * Open by device i 3800 mr_column_t *device; local 3830 mr_column_t *device; local 4094 mr_column_t *device; local 4119 mr_column_t *device; local 4309 mr_column32_od_t *device; local 4330 mr_column_t *device; local [all...] |
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 145 uint_t device; member in struct:pcicfg_find_ctrl 152 * design is to look for a device in this list during the configure 153 * operation, and if the device is listed here, then it is a nontransparent 538 * opens on the nexus which is in the device tree path above the node 543 * This entry point is called to configure a device (and 545 * a new device is added to the PCI domain. This routine 546 * will create the device tree and program the devices 550 pcicfg_configure(dev_info_t *devi, uint_t device, uint_t function, argument 571 * Start probing at the device specified in "device" o 786 pcicfg_configure_ntbridge(dev_info_t *new_device, uint_t bus, uint_t device) argument 1453 pcicfg_unconfigure(dev_info_t *devi, uint_t device, uint_t function, pcicfg_flags_t flags) argument 2847 pcicfg_devi_find(dev_info_t *dip, uint_t device, uint_t function) argument 3673 pcicfg_probe_children(dev_info_t *parent, uint_t bus, uint_t device, uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie) argument 5075 pcicfg_add_config_reg(dev_info_t *dip, uint_t bus, uint_t device, uint_t func) argument [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_cots.c | 298 dev_t x_rdev; /* device number of transport */ 329 { "device", KSTAT_DATA_UINT32 }, 358 dev_t cku_device; /* device to use */ 1544 * call time, as cots creates the transport at call time - device, 1810 dev_t device, 1883 cm_entry->x_rdev == device && 1983 device != cm_entry->x_rdev || 2100 cm_entry->x_rdev = device; 2140 i = t_kopen(NULL, device, FREAD|FWRITE|FNDELAY, &tiptr, zone_kcred()); 2142 RPCLOG(1, "connmgr_get: can't open cots device, erro 1803 connmgr_get( struct netbuf *retryaddr, const struct timeval *waitp, struct netbuf *destaddr, int addrfmly, struct netbuf *srcaddr, struct rpc_err *rpcerr, dev_t device, bool_t nosignal, int useresvport, cred_t *cr) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | osl.c | 101 /* features supported by ACPICA and ACPI device configuration. */ 1017 * OpRegion and (what ACPI CA thinks is) the PCI device 1021 * values for bus, segment, device and function; anything ACPI CA 1041 int bus, device, func, devfn; local 1060 (acpica_get_bdf(dip, &bus, &device, &func) >= 0)) { 1062 (*PciId)->Device = device; 1267 /* Check whether device exists. */ 1271 * Skip object if device doesn't exist. 1273 * 1) setting either bit 0 or bit 3 means that device exists. 1345 /* Check whether device exist 1786 acpica_get_bdf(dev_info_t *dip, int *bus, int *device, int *func) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_impl.h | 290 * I/O device can see them *as though they were*. 586 * the device type. 618 uint16_t device; /* device-id */ member in struct:__anon4962 743 dev_info_t *devinfo; /* device instance */
|
/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 32 * in the device tree. 153 * Mapping of the device "type" to names acceptable to 175 * in some cases there will need to be device class dependent names. 398 ddi_report_dev(dip); /* directory/device naming */ 589 * pseudo device form. It is acceptable to have 1421 * is present. It would also be the time where a device information 1554 * follows so we match same class of device (modem == modem) and don't 1909 * device information structures. 1924 cmn_err(CE_CONT, "CSInitDev: initialize device\n"); 2649 cistpl_device_t device; local 3904 struct pcm_make_dev device; local [all...] |
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | domctl.h | 442 /* Assign PCI device to HVM guest. Sets up IOMMU structures. */ 447 uint32_t machine_bdf; /* machine PCI ID of assigned device */ 483 uint8_t device; member in struct:xen_domctl_bind_pt_irq::__anon9293::__anon9295
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | ib_verbs.h | 280 struct ib_device *device; member in struct:ib_event 291 struct ib_device *device; member in struct:ib_event_handler 582 struct ib_device *device; member in struct:ib_pd 589 struct ib_device *device; member in struct:ib_cq 599 struct ib_device *device; member in struct:ib_srq 607 struct ib_device *device; member in struct:ib_qp 656 void *ib_get_client_data(struct ib_device *device, struct ib_client *client); 657 void ib_set_client_data(struct ib_device *device, struct ib_client *client, 660 int ib_query_device(struct ib_device *device, 665 * @device [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_subr.c | 192 * problems in some underlying device drivers. This problem seems to have been 1135 * no other readers on this device. 1160 * if we are not in upgrade just return the input device 1907 * So the input device will be a md_dev64_t, because all SVM modules internally 1908 * work with that device type. 1910 * routines from here we first have to convert that device into a dev_t. 1943 * As open() may change the device, 1960 * Open regular device, since open() may change dev_t give new dev_t 1970 * So the input device will be a md_dev64_t, because all SVM modules internally 1971 * work with that device typ 2340 dev_t device = md_dev64_to_dev(dev); local [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | drmach.c | 709 * dp and err are initialized here to yield nothing (no device or 738 * dp and err are initialized here to yield nothing (no device or 1288 drmach_device_t *device; local 1316 device = d_id; 1317 i = device->unum; 1319 DRMACH_PR("\t\t%s\n", device->cm.name); 1353 device = d_id; 1354 i = device->unum; 1356 DRMACH_PR("\t\t%s\n", device->cm.name); 2102 int d_idx; /* device inde 2161 drmach_device_t *device; local [all...] |
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 177 uint_t device; member in struct:pcicfg_find_ctrl 192 * design is to look for a device in this list during the configure 193 * operation, and if the device is listed here, then it is a nontransparent 628 /* get parent device's device_type property */ 679 DEBUG1("device port_type = %x\n", port_type); 698 * opens on the nexus which is in the device tree path above the node 703 * This entry point is called to configure a device (and 705 * a new device is added to the PCI domain. This routine 706 * will create the device tree and program the devices 711 pcicfg_configure(dev_info_t *devi, uint_t device, uint_ argument 907 pcicfg_configure_ntbridge(dev_info_t *new_device, uint_t bus, uint_t device) argument 1548 pcicfg_unconfigure(dev_info_t *devi, uint_t device, uint_t function, pcicfg_flags_t flags) argument 3014 pcicfg_devi_find(dev_info_t *dip, uint_t device, uint_t function) argument 4006 pcicfg_probe_children(dev_info_t *parent, uint_t bus, uint_t device, uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie) argument 4277 pcicfg_fcode_probe(dev_info_t *parent, uint_t bus, uint_t device, uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie) argument 5743 pcicfg_add_config_reg(dev_info_t *dip, uint_t bus, uint_t device, uint_t func) argument 5785 pcicfg_load_fcode(dev_info_t *dip, uint_t bus, uint_t device, uint_t func, uint16_t vendor_id, uint16_t device_id, uchar_t **fcode_addr, int *fcode_size, int rom_paddr, int rom_size) argument 5999 pcicfg_fcode_assign_bars(ddi_acc_handle_t h, dev_info_t *dip, uint_t bus, uint_t device, uint_t func, int32_t fc_request, pci_regspec_t *rom_regspec) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 647 * rest of the code from the device tree and OBP. This is necessary 991 err = drerr_new(1, EOPL_GETPROP, "device node %s: property %s", 999 * dp and err are initialized here to yield nothing (no device or 1010 /* device specific new function will set unum */ 1053 * IKP sets up the device nodes in drmach_board_connect(). 1194 * device nodes that are interesting to IKP. 1537 * Formal Parameter : The name of a device node. 1578 * That does not work either. So for these specific device, 1593 drmach_device_t *device; local 1630 * Create a device dat [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drmP.h | 334 int device; member in struct:drm_pci_id_list 421 caddr_t dev_addr; /* base device address */ 439 /* Related drm device */ 520 * This structure, in drm_device_t, is always initialized while the device 522 * when set marks that no further bufs may be allocated until device teardown 523 * occurs (when the last open of the device has closed). The high/low 616 /* used for clone device */ 636 /* DRM device structure */ 729 uint32_t pci_device; /* PCI device id */
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 206 return (gettext("\tattach [-f] <pool> <device> " 207 "<new-device>\n")); 209 return (gettext("\tclear [-nF] <pool> [device]\n")); 217 return (gettext("\tdetach <pool> <device>\n")); 241 return (gettext("\toffline [-t] <pool> <device> ...\n")); 243 return (gettext("\tonline <pool> <device> ...\n")); 245 return (gettext("\treplace [-f] <pool> <device> " 246 "[new-device]\n")); 248 return (gettext("\tremove <pool> <device> ...\n")); 268 "[<device> 3639 char *pool, *device; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | builtins.c | 41 # include <device.h> 56 /* The boot device. */ 219 /* Print the device name. */ 400 "Initialize a network device via BOOTP. If the option `--with-configfile'" 843 /* device */ 848 char *device; 854 /* Get the device argument. */ 855 device = skip_to (0, drive); 858 nul_terminate (device); 860 if (! *device || ! check_devic 838 char *device; local 1397 char *device; local 1596 static char device[32]; local 1805 char *device = arg; local 2525 unsigned long device = 0xFFFFFFFF; local 2545 unsigned long device; local 4524 char device[16]; local [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/ |
H A D | audiohd.h | 46 * specific audiohd controller device id 750 enum audiohda_device_type device; member in struct:audiohd_pin 775 uint32_t vid; /* vendor id and device id */
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis_handlers.h | 83 #define CISTPL_DEVSPEED_TABLE 0x000000001 /* use the device speed table */ 106 #define CISTPL_DEVICE_DTYPE_NULL 0x00 /* a NULL device (hole) */ 107 #define CISTPL_DEVICE_DTYPE_ROM 0x01 /* device is of type ROM */ 108 #define CISTPL_DEVICE_DTYPE_OTPROM 0x02 /* device is of type OTPROM */ 109 #define CISTPL_DEVICE_DTYPE_EPROM 0x03 /* device is of type EPROM */ 110 #define CISTPL_DEVICE_DTYPE_EEPROM 0x04 /* device is of type EEPROM */ 111 #define CISTPL_DEVICE_DTYPE_FLASH 0x05 /* device is of type FLASH */ 112 #define CISTPL_DEVICE_DTYPE_SRAM 0x06 /* device is of type SRAM */ 113 #define CISTPL_DEVICE_DTYPE_DRAM 0x07 /* device is of type DRAM */ 119 #define CISTPL_DEVICE_DTYPE_FUNCSPEC 0x0d /* device i 1108 cistpl_device_t device; member in union:cisparse_t [all...] |