Searched refs:device (Results 1 - 25 of 434) sorted by last modified time

1234567891011>>

/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dosl.c101 /* 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/test/zfs-tests/tests/functional/cache/
H A Dcache.kshlib72 # Verify the given cache device have correct type and status
75 # $2 device name
76 # $3 device status
77 # $4 device type
82 typeset device=$2
86 if [[ -z $pool || -z $device || -z $status ]]; then
87 log_fail "Usage: verify_cache_device <pool> <device> " \
115 stripe:$device)
128 mirror:$device)
145 log_note "Can not find device
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_missing_001_pos.ksh49 # 1. Create test pool upon device files using the various combinations.
56 # 5. Verify 'zpool import' will handle d/m device successfully.
60 # It should be succeed with single d/m device upon 'raidz' & 'mirror',
99 log_assert "Verify that import could handle damaged or missing device."
131 # Restore all device files.
136 for device in $DEVICE_FILES ; do
137 log_must rm -f $device
143 # Backup all device files while filesystem prepared.
203 log_pass "Import could handle damaged or missing device."
H A Dzpool_import_missing_002_pos.ksh49 # 1. Create test pool upon device files using the various combinations.
55 # 4. Move one or more device files to other directory
108 log_assert "Verify that import could handle moving device."
145 # Restore all device files.
152 for device in $DEVICE_FILES ; do
158 # Backup all device files while filesystem prepared.
165 log_must mv $device $BACKUP_DEVICE_DIR
197 log_pass "Import could handle moving device."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog.kshlib73 # Verify the give slog device have correct type and status
76 # $2 device name
77 # $3 device status
78 # $4 device type
83 typeset device=$2
87 if [[ -z $pool || -z $device || -z $status ]]; then
88 log_fail "Usage: verify_slog_device <pool> <device> " \
116 stripe:$device)
129 mirror:$device)
147 log_note "Can not find device
[all...]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_chip2.c305 * + Read the vendor/device/revision/subsystem/cache-line-size registers,
345 * chip, specifically vendor/device/revision/subsystem vendor
346 * and subsystem device id. We expect (but don't check) that
347 * (vendor == VENDOR_ID_BROADCOM) && (device == DEVICE_ID_5704)
367 cidp->device = pci_config_get16(handle, PCI_CONF_DEVID);
398 cidp->device = DEVICE_ID_5720;
406 BGE_DEBUG(("bge_chip_cfg_init: vendor 0x%x device 0x%x revision 0x%x",
407 cidp->vendor, cidp->device, cidp->revision));
518 if (((cidp->device == DEVICE_ID_5714C) ||
519 (cidp->device
[all...]
H A Dbge_main2.c516 bge_t *bgep = arg; /* private device info */
565 bge_t *bgep = arg; /* private device info */
646 bge_t *bgep = arg; /* private device info */
738 * the device is in any sort of loopback mode ...
776 * while the device is in any sort of loopback mode.
1327 bge_t *bgep = arg; /* private device info */
3384 if (chipid.device != cidp->device)
3510 } else if ((bgep->chipid.device == DEVICE_ID_5725) ||
3511 (bgep->chipid.device
[all...]
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg_lex.l178 <TSTATE>device { return DEVICE; }
/illumos-gate/usr/src/man/man1m/
H A DMakefile165 hal-device.1m \
/illumos-gate/usr/src/uts/common/os/
H A Dpriv_defs173 privileged graphics device mappings.
178 graphics device.
369 device, a process must also have sufficient privileges to read from
370 and write to the swap device.
377 Allows a process to open the real console device directly.
398 appropriate access to the device being mounted (read-write for
/illumos-gate/usr/src/uts/common/sys/
H A DMakefile917 device.h
1017 device.h \
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Dpsm_common.c153 * If the interrupt link device is already configured,
158 * ACPI_PSM_SUCCESS if the interrupt link device is already configured.
162 * When two devices share the same interrupt link device, and the
163 * link device is already configured (i.e. found in the irq cache)
165 * the link device.
176 * Convert the passed-in link device name to a handle
183 * Assume that the link device is invalid if no _CRS method
195 " for device %s, instance #%d, irq no %d\n",
230 get_bdf(dev_info_t *dip, int *bus, int *device, int *func) argument
245 if (device !
[all...]
/illumos-gate/usr/src/boot/sys/sys/
H A Dtypes.h105 typedef __dev_t dev_t; /* device number or struct cdev */
257 typedef struct device *device_t;
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c3899 bam_error(_("%s is on a ramdisk device\n"), bam_root);
5408 get_partition(char *device) argument
5421 slice = device + strlen(device) - 2;
5425 wholedisk = s_calloc(1, strlen(device) + 3);
5426 (void) snprintf(wholedisk, strlen(device) + 3, "%sp0", device);
6142 bam_error(_("NULL device: cannot determine pool name\n"));
6158 bam_error(_("invalid device %s: cannot determine pool name\n"),
6174 bam_error(_("fstyp -a on device
[all...]
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c122 static int read_bootblock_from_disk(ib_device_t *device, ib_bootblock_t *,
238 read_bootblock_from_disk(ib_device_t *device, ib_bootblock_t *bblock, argument
247 assert(device != NULL);
250 if (device->target.fstype == IG_FS_ZFS) {
251 dev_fd = device->target.fd;
253 *path = device->target.path;
255 dev_fd = device->stage.fd;
256 offset = device->stage.offset * SECTOR_SIZE;
257 *path = device->stage.path;
329 ib_device_t *device local
418 ib_device_t *device; local
463 ib_device_t *device; local
487 ib_device_t *device = &data->device; local
539 ib_device_t *device = &data->device; local
610 get_start_sector(ib_device_t *device) argument
856 get_boot_partition(ib_device_t *device, struct mboot *mbr) argument
911 get_boot_slice(ib_device_t *device, struct dk_gpt *vtoc) argument
946 init_device(ib_device_t *device, char *path) argument
1109 cleanup_device(ib_device_t *device) argument
1301 ib_device_t *device = &data.device; local
[all...]
H A Dinstallboot.h39 /* partitioning type for device */
56 char *path; /* device name */
66 /* boot device data */
90 ib_device_t device; /* boot device */ member in struct:_ib_data
/illumos-gate/usr/src/cmd/boot/installboot/sparc/
H A Dinstallboot.c90 ib_device_t *device = &data->device; local
117 if (!is_zfs(device->type)) {
152 if (!is_zfs(device->type)) {
268 ib_device_t *device = &data->device; local
269 int dev_fd = device->fd;
272 assert(device->fd != -1);
275 if (!is_zfs(device->type))
281 BOOT_DEBUG("Unable to read bootblock from %s\n", device
338 ib_device_t *device = &data->device; local
386 ib_device_t *device = &data->device; local
426 ib_device_t *device = &data->device; local
452 open_device(ib_device_t *device) argument
480 init_device(ib_device_t *device, char *path) argument
499 cleanup_device(ib_device_t *device) argument
675 ib_device_t *device = &data.device; local
[all...]
H A Dinstallboot.h60 ib_device_t device; member in struct:_ib_data
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c392 * xVM virtual block device
394 * Xen passes device number in next format:
421 decode_xen_device(uint_t device, uint_t *disk, uint_t *plun) argument
426 if ((device >> XEN_EXT_SHIFT) > 1)
429 if (device < HD_BASE) {
430 /* legacy device address */
431 dsk = device;
436 if (device & (1 << XEN_EXT_SHIFT)) {
438 dsk = device & (~0xff);
439 lun = device
[all...]
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c906 * the path can have device provided, check for it
1592 /* If there's no path on the device, assume '/' */
1731 bf_vm->sourceId.i = fd+1; /* 0 is user input 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/nfs/
H A Dnfs.h127 NFSERR_NXIO = 6, /* No such device or address */
130 NFSERR_XDEV = 18, /* Cross-device link */
131 NFSERR_NODEV = 19, /* No such device */
136 NFSERR_NOSPC = 28, /* No space left on device */
163 * Macros for converting device numbers to and from the format
172 #define SO4_BITSMAJOR 8 /* # of SunOS 4.x major device bits */
173 #define SO4_BITSMINOR 8 /* # of SunOS 4.x minor device bits */
178 * Convert to over-the-wire device number format
186 * Convert from over-the-wire format to SVR4 device number format
195 * so the over-the-wire representation is VCHR with a '-1' device numbe
1663 devicedata3 device; member in union:mknoddata3::__anon593
[all...]
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dam335x.dtsi125 uart-device-id = < 0 >;
135 uart-device-id = < 1 >;
146 uart-device-id = < 2 >;
157 uart-device-id = < 3 >;
168 uart-device-id = < 4 >;
179 uart-device-id = < 5 >;
198 mmchs-device-id = <0>;
208 mmchs-device-id = <1>;
238 i2c-device-id = <0>;
248 i2c-device
[all...]
H A Ddb88f5182.dts88 device-width = <1>;
104 device-width = <1>;
H A Ddb88f5281.dts88 device-width = <1>;
104 device-width = <1>;

Completed in 175 milliseconds

1234567891011>>