Searched refs:device (Results 326 - 350 of 434) sorted by relevance

<<1112131415161718

/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.c69 4, /* granularity of device */
1101 uint16_t pci_command, vendor, device; local
1126 device = pci_config_get16(pcih, PCI_CONF_DEVID);
1131 device != PCI_DEVICE_ID_CREATIVE_AUDIGYLS) {
1133 "(vendor=%x, dev=%x)", vendor, device);
/illumos-gate/usr/src/uts/common/io/audio/drv/audiopci/
H A Daudiopci.c1179 uint16_t pci_command, vendor, device; local
1197 device = pci_config_get16(pcih, PCI_CONF_DEVID);
1200 (device != ENSONIQ_ES1370))
1203 dev->devid = device;
1214 /* activate the device */
1229 audio_dev_warn(dev->adev, "can't init device");
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_mii.c209 * (for the device capabilities) and at least one clear (one of
673 BGE_DEBUG(("bge_eee: eee not supported (device 0x%x)",
674 bgep->chipid.device));
722 if (bgep->chipid.device != DEVICE_ID_5717)
782 switch (bgep->chipid.device) {
1102 switch (bgep->chipid.device) {
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.h61 * MegaRAID device id conversion definitions.
328 /* PCI device information */
414 /* Logical and physical device counts */
1296 #define CFLAG_DMASEND 0x0002 /* Transfer from the device */
1309 #define SCP2HOST(scp) (scp)->device->host /* to host */
1311 #define SCP2CHANNEL(scp) (scp)->device->channel /* to channel */
1312 #define SCP2TARGET(scp) (scp)->device->id /* to target */
1313 #define SCP2LUN(scp) (scp)->device->lun /* to LUN */
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfakebop.c700 v_len = do_bsys_getproplen(NULL, "input-device");
702 (void) do_bsys_getprop(NULL, "input-device", inputdev);
708 v_len = do_bsys_getproplen(NULL, "output-device");
710 (void) do_bsys_getprop(NULL, "output-device",
1253 * Xen puts a lot of device information in front of the kernel name
1435 * set the BIOS boot device from GRUB
1457 bsetprops("bios-boot-device", str);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c234 msg(gettext("Bad output device name\n"));
239 msg(gettext("Missing output device name\n"));
609 * NB: we attempt to avoid dumping the block device
692 msg(gettext("Cannot open dump device `%s': %s\n"),
711 "Warning - super-block on device `%s' is corrupt - run fsck\n"),
737 * device, but if we can use it, things go somewhat faster. If
1275 * writing to the tape device. it always returns the amount of time
1389 * Safely open a file or device.
1392 safe_open_common(const char *filename, int mode, int perms, int device) argument
1480 * If inode, device, o
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu.c121 * Check if the device has mobile 4 chipset
127 int vendor, device; local
132 device = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS,
133 "device-id", -1);
135 if (vendor == 0x8086 && device == 0x2a40) {
151 * Make sure the domain for the device is set up before
247 * Check if the device is USB controller
283 * Check if the device is a LPC device
293 ddi_err(DER_LOG, dip, "iommu: Found LPC device");
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c579 if (is_printer_uri(printer->printer->device) == 0)
581 printer->printer->device);
584 printer->printer->device);
/illumos-gate/usr/src/common/ficl/
H A Dloader.c849 * pcibios-device-count (devid -- count)
852 * in the system. devid is the 32-bit vendor + device.
871 * Locator is bus << 8 | device << 3 | fuction
893 * Locator is bus << 8 | device << 3 | fuction
920 * Locator is bus << 8 | device << 3 | fuction (or -1 on error)
937 * pcibios-find-device(devid index -- locator)
944 * Locator is bus << 8 | device << 3 | fuction (or -1 on error)
961 * pcibios-find-device(bus device function -- locator)
963 * converts bus, device, functio
970 uint32_t bus, device, function, locator; local
[all...]
/illumos-gate/usr/src/uts/common/io/rtls/
H A Drtls.c331 * attach(9E) -- Attach a device to the system
338 rtls_t *rtlsp; /* Our private device info */
343 uint32_t device; local
407 * Make sure we support this particular vendor/device
411 device = vendorid;
412 device = (device << 16) | deviceid; /* combine two id together */
415 * See if we support this device
416 * We do not return for wrong device id. It's user risk.
418 switch (device) {
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_names.c198 * Deal with the device id name space
397 * We are dealing with the device id name space.
594 * We don't keep track of keys in the device id nonshared namespace
1235 char *filenm, /* device filename to be stored */
1302 * is legal for a metadevice and a physical device to have
1653 /* Tack the directory and device strings together */
1747 * md_setdevname - Allows putting a device name into the database
1756 char *devname, /* device name to be stored */
1794 cmn_err(CE_WARN, "Unknown device with minor number of %d",
1885 * Check to see if it has a device i
4269 md_resolve_bydevid(minor_t mnum, md_dev64_t device, mdkey_t key) argument
[all...]
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c31 * This module basically implements "devctl" and Attachment Point device
33 * to these device nodes are also implemented. For hotplug operations
169 int pci_dev; /* PCI device number for the slot */
203 * We process ENUM# event one device at a time ie. as soon as we detect
204 * that a device has the right ENUM# conditions, we return. If the following
528 * If the pci_dev is valid then the minor device is an
529 * AP. Otherwise it is ":devctl" minor device.
545 * Handle the open by tracking the device state.
613 * Get the PCI device number information from the devinfo
626 /* get the pci device i
3115 uint_t device; member in struct:pcihp_find_ctrl
3121 pcihp_devi_find(dev_info_t *dip, uint_t device, uint_t function) argument
3602 pcihp_add_dummy_reg_property(dev_info_t *dip, uint_t bus, uint_t device, uint_t func) argument
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c334 * balancing trees which are allocated for each device nodes.
353 dev_t dev; /* device */
1083 "To continue, type device/file name when "
1664 * device here as we need to be able to match on
1665 * the original device id from the file that was
7511 * Having trouble representing the device/inode pair. We can't
7522 "device number - linked "
7822 /* character device or FIFO */
7854 #define G_FILE 28 /* file, not a device */
7855 #define G_NO_DEV 29 /* device doe
9074 sl_insert(dev_t device, ino_t inode, int ftype) argument
9271 sl_numlinks(dev_t device, ino_t inode, int ftype) argument
9534 dev_t device; local
9610 sl_search(dev_t device, ino_t inode, int ftype) argument
9636 sl_devhash_lookup(dev_t device) argument
9657 sl_devhash_insert(dev_t device, sl_info_t *head) argument
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_main.c1120 nge_t *ngep = arg; /* private device info */
1524 * the device is in any sort of loopback mode ...
1563 * while the device is in any sort of loopback mode.
2260 if (ngep->chipinfo.device == DEVICE_ID_MCP55_373 ||
2261 ngep->chipinfo.device == DEVICE_ID_MCP55_372) {
2370 * attach(9E) -- Attach a device to the system
2467 if (ngep->chipinfo.device == DEVICE_ID_MCP55_373 ||
2468 ngep->chipinfo.device == DEVICE_ID_MCP55_372) {
2582 * detach(9E) -- Detach a device from the system
2823 if (ngep->chipinfo.device
[all...]
/illumos-gate/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c228 * indicates the underlying DLPI device does not support Native mode
229 * (pre-GLDV3 device drivers).
1010 * This function attempts to open a device under the following namespaces:
1034 * a known device name or its VLAN PPA hack name. (for example, assuming
1035 * device bge0 is renamed to net0, opening /dev/net/bge1000 would return
1037 * as VLAN 1 over the bge0 device should be named as net1000.
1061 char device[DLPI_LINKNAME_MAX]; local
1087 * the given name is a device name or its VLAN PPA hack name
1095 (void) snprintf(device, DLPI_LINKNAME_MAX, "%s%d", driver,
1102 if (dladm_dev2linkid(handle, device,
[all...]
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c134 gettext("Unable to take device tree snapshot "
216 * necessarily have a writable root device (ZFSroot; ufs root is
217 * different in that we _do_ have a writable root device.
327 "device mappings. If <ctrl>\n"));
339 (void) fprintf(stderr, gettext("\t-N\tprint the device aliases of "
345 (void) fprintf(stderr, gettext("\t\ta specific device (devname). Used "
348 (void) fprintf(stderr, gettext("\t-u\ttranslates device mappings in "
373 * list non-STMS to STMS device name mappings for the specific
375 * -L list non-STMS to STMS device name mappings for all controllers
378 * prints the device pat
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/
H A Dsystem-board.info260 * _fru_parent temperature device
262 _class:/PLATFORM_CLASS/pci/ebus/i2c?UnitAddress=1,30/temperature-device?UnitAddress=0,30
265 _class:/PLATFORM_CLASS/pci/ebus/i2c?UnitAddress=1,30/temperature-device?UnitAddress=0,98
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/frutree/
H A Dsystem-board.info304 * _fru_parent temperature device
306 name:/platform/pci@8,700000/ebus/i2c@1,30/temperature-device@0,30
309 name:/platform/pci@8,700000/ebus/i2c@1,30/temperature-device@0,98
313 * add led device nodes to relevant pcf8574 card
/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c35 #include <sys/contract/device.h>
250 * Display the minor device
267 * Display the state of the device
430 "device", verb_minor,
481 { "device", vdevice },
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmihd/
H A Daudiocmihd.c1534 uint16_t pci_command, vendor, device, subvendor, subdevice; local
1557 device = pci_config_get16(pcih, PCI_CONF_DEVID);
1561 device != PCI_DEVICE_ID_CMEDIAHD) {
1563 "(vendor=%x, dev=%x)", vendor, device);
1580 /* Detect Xonar device */
1623 /* Add the AC97 Mixer if there is an onboard AC97 device */
1633 /* Add the front panel AC97 device if one exists */
/illumos-gate/usr/src/uts/common/xen/public/
H A Ddomctl.h442 /* 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/io/nxge/npi/
H A Dnpi_mac.c3099 npi_mac_mif_mdio_read(npi_handle_t handle, uint8_t portn, uint8_t device, argument
3109 frame.bits.w0.regad = device; /* Device number */
3133 frame.bits.w0.regad = device; /* Device Number */
3190 npi_mac_mif_mdio_write(npi_handle_t handle, uint8_t portn, uint8_t device, argument
3200 frame.bits.w0.regad = device; /* Device Number */
3224 frame.bits.w0.regad = device; /* Device number */
3440 uint8_t device, uint16_t xcvr_reg, uint16_t mask)
3451 frame.bits.w0.regad = device; /* Device number */
3466 mif_cfg.bits.w0.reg_addr = device; /* Register address */
3439 npi_mac_mif_mdio_link_intr_enable(npi_handle_t handle, uint8_t portn, uint8_t device, uint16_t xcvr_reg, uint16_t mask) argument
/illumos-gate/usr/src/uts/common/io/vr/
H A Dvr.h365 uint16_t device; member in struct:__anon6576
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dputprinter.c364 print_str(fdout, HEAD, prbufp->device);
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h76 * MegaRAID SAS2.0 device id conversion definitions.
704 #define CFLAG_DMASEND 0x0002 /* Transfer from the device */
717 #define SCP2HOST(scp) (scp)->device->host /* to host */
719 #define SCP2CHANNEL(scp) (scp)->device->channel /* to channel */
720 #define SCP2TARGET(scp) (scp)->device->id /* to target */
721 #define SCP2LUN(scp) (scp)->device->lun /* to LUN */
878 /* PCI device information */
964 /* Logical and physical device counts */

Completed in 205 milliseconds

<<1112131415161718