Searched refs:device (Results 201 - 225 of 434) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c129 * The PROM device tree is read to obtain this information.
231 * thruogh the device tree, this routine will be silent.
440 * in the device tree. To get back to that level,
705 char device[MAXSTRLEN]; local
712 /* Find the device node using upa address */
717 (void) sprintf(device, "%s@%x", FFB_NAME,
723 if (strstr(direntp->d_name, device) != NULL) {
724 (void) sprintf(device, "/devices/%s",
726 fd = open(device, O_RDWR, 0666);
747 fmt_manf_id(fsi.dac_version, device),
1271 tazmo_physical_slot(Prom_node *slotd, Prom_node *parent, int device, char *str) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c132 * The PROM device tree is read to obtain this information.
234 * thruogh the device tree, this routine will be silent.
445 * in the device tree. To get back to that level,
708 char device[MAXSTRLEN]; local
715 /* Find the device node using upa address */
720 (void) sprintf(device, "%s@%x", FFB_NAME,
726 if (strstr(direntp->d_name, device) != NULL) {
727 (void) sprintf(device, "/devices/%s",
729 fd = open(device, O_RDWR, 0666);
749 fmt_manf_id(fsi.dac_version, device),
1478 tazmo_physical_slot(Prom_node *slotd, Prom_node *parent, int device, char *str) argument
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tape.c99 * This handler opens the specified tape device.
124 "Connection already has a tape or scsi device open");
134 "Adapter device opened: %s", request->device.name);
135 (void) strlcpy(adptnm, request->device.name, SCSI_MAX_NAME-2);
141 scsi_find_sid_lun(sa, request->device.name, &sid, &lun);
142 if (ndmp_open_list_find(request->device.name, sid, lun) == 0 &&
143 (devid = tape_open(request->device.name,
145 NDMP_LOG(LOG_ERR, "Failed to open device %s: %m.",
146 request->device
[all...]
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dscmadm.c291 (void) snprintf(key, sizeof (key), "cache_hint.set%d.device",
745 * takes either either a string containing the cd or the device name, and
746 * returns the device name.
752 char *device; local
754 /* if the arg has a leading '/', assume it's a valid device name */
759 /* treat the "all" keyword as a valid device name */
766 * subsequently convert that cd to its corresponding device name.
773 device = cd_to_device((int)cd);
776 if (device && (strcmp(device, ""))) {
786 remove_hint(char *device) argument
845 char device[NSC_MAXPATH]; local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.c298 /* set device information */
585 if (pin->device == DTYPE_SPDIF_OUT) {
616 if (pin->device == DTYPE_SPEAKER ||
617 pin->device == DTYPE_HP_OUT ||
685 * Since there is no SPDIF input device available for test,
689 if (pin->device == DTYPE_SPDIF_IN) {
708 if (pin->device == DTYPE_MIC_IN) {
715 if ((pin->device == DTYPE_LINE_IN) ||
716 (pin->device == DTYPE_CD) ||
717 (pin->device
[all...]
/illumos-gate/usr/src/cmd/listen/
H A Dnlps_serv.c659 char device[20]; local
684 *device = '\0';
693 sprintf(device, "%.9s%02.02d", prefix, minor(sbuf.st_rdev));
695 sprintf(device, "%.8s%03.03d", prefix, minor(sbuf.st_rdev));
696 DEBUG((9, "Device: %s", device));
701 strncpy(utline.ut_line, device, sizeof (utline.ut_line) - 1);
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_drv.c156 drm_find_description(int vendor, int device, drm_pci_id_list_t *idlist) argument
161 (idlist[i].device == device)) {
562 int vendor, device; local
565 device = pci_get_device(dev);
567 s = drm_find_description(vendor, device, idlist);
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c65 #include <device.h>
89 /* The map between BIOS drives and UNIX device file names. */
98 /* The file descriptor for a serial device. */
101 /* The file name of a serial device. */
105 /* The speed of a serial device. */
236 /* Assign DRIVE to a device name DEVICE. */
238 assign_device_name (int drive, const char *device) argument
252 if (! device)
255 device_map[drive] = strdup (device);
764 /* FIXME: this function is truly horrid. We try opening the device,
1239 serial_set_device(const char *device) argument
[all...]
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c341 static char device[LMAX + 6]; local
382 s = &device[0];
383 (void) snprintf(s, sizeof (device), "/dev/%.*s", LMAX, p->ut_line);
385 /* check if the device is really a tty */
395 "Cannot send to device %.*s %s\n",
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DTest.java41 * device=
102 String device = getToken(o, "device=");
210 p.setDevice(device);
248 if (device == null) {
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrsubr.c63 mounted(char *device) argument
74 for (s = target; i < NSC_MAXPATH && (*s = *device++); i++) {
75 if (*s == 'r' && rdsk == 0 && strncmp(device, "dsk/", 4) == 0)
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c168 char *device, char *community)
214 if ((uri != NULL) || (device != NULL))
216 "printer.device", (uri ? uri : device), &error);
167 add_network_printer(LibHalContext *ctx, char *base, char *hostaddr, char *device, char *community) argument
/illumos-gate/usr/src/lib/libcontract/common/
H A Ddevice.c30 #include <sys/contract/device.h>
101 * No device contract specific event routines
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dsysfiles.c40 * also manage new file Devconfig, allows per-device setup.
120 setdevcfg(char *service, char *device) argument
122 scancfg(service, device);
230 scancfg(char *service, char *device) argument
234 /* (re)initialize device-specific information */
247 if (namematch("device=", tok, device)) {
288 * given a label (e.g., "service=", "device="), a name ("cu", "uucico"),
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgmount.c47 extern int getvol(char *device, char *label, int options, char *prompt);
89 progerr(pkg_gt("unknown device <%s>"),
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c90 * Physical network device
93 char device[DLPI_LINKNAME_MAX]; member in struct:rarpdev
105 struct rarpdev *rdev; /* which device reply for */
227 * Load specified device as only element of the list.
252 (void) strlcpy(rarpdev_head->device, ifsp.ifsp_devnm,
253 sizeof (rarpdev_head->device));
278 * Start RARP processing for each device.
353 * Look for an existing device for logical interfaces.
360 (void) strlcpy(rdev->device, ifsp.ifsp_devnm,
361 sizeof (rdev->device));
[all...]
/illumos-gate/usr/src/cmd/rmformat/
H A Drmformat.h121 * Condition to be checked for a device
152 typedef struct device { struct
/illumos-gate/usr/src/cmd/hal/hald/
H A DMakefile29 OBJS = hald_marshal.o device.o device_info.o device_store.o hald.o \
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c92 #define ERR_BADDEV "unknown or invalid device specified <%s>"
94 #define ERR_DSTREAM "invalid device specified (datastream) <%s>"
99 #define ERR_UMOUNT "unable to unmount device <%s>"
106 "device <%s>"
107 #define ERR_DEVICE "unable to find info for device <%s>"
139 "\t-d device\n" \
147 struct pkgdev pkgdev; /* holds info about the installation device */
158 *device; variable
270 device = flex_device(optarg, 1);
325 if (device
345 progerr(gettext(ERR_BADDEV), device); local
350 progerr(gettext(ERR_DSTREAM), device); local
547 progerr(gettext(ERR_WHATVFS), device); local
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Drdma_cm.h48 * Upon receiving a device removal event, users must destroy the associated
49 * RDMA identifier and release all resources allocated with the device.
136 struct ib_device *device; member in struct:rdma_cm_id
184 * associated RDMA device, if needed.
191 * be bound to a local RDMA device.
198 * rdma_cm_id will be bound to a local device.
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_chip.c295 * ENODATA on access timeout (maybe retryable: device may just be busy)
435 switch (infop->device) {
575 * + Read the vendor/device/revision/subsystem/cache-line-size registers,
597 * chip, specifically vendor/device/revision/subsystem vendor
598 * and subsystem device id. We expect (but don't check) that
607 infop->device = pci_config_get16(handle,
626 if ((infop->device == DEVICE_ID_MCP55_373) ||
627 (infop->device == DEVICE_ID_MCP55_372))
633 if ((infop->device == DEVICE_ID_MCP55_373) ||
634 (infop->device
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioens/
H A Daudioens.c50 * of the device. This is necessary for audio playback to function, as
52 * emulated device. So we need to detect this platform, and conditionally
991 uint16_t pci_command, vendor, device; local
1009 device = pci_config_get16(pcih, PCI_CONF_DEVID);
1013 (device != ENSONIQ_ES1371 && device != ENSONIQ_ES5880 &&
1014 device != ENSONIQ_ES5880A && device != ECTIVA_ES1938 &&
1015 device != ENSONIQ_ES5880B)) {
1016 audio_dev_warn(dev->osdev, "unrecognized device");
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dlibi386.h30 * i386 fully-qualified device descriptor.
95 extern struct devdesc currdev; /* our current device */
108 int bc_bios2unit(int biosdev); /* xlate BIOS device -> bioscd unit */
109 int bc_unit2bios(int unit); /* xlate bioscd unit -> BIOS device */
111 int bd_bios2unit(int biosdev); /* xlate BIOS device -> biosdisk unit */
112 int bd_unit2bios(int unit); /* xlate biosdisk unit -> BIOS device */
140 uint32_t biospci_locator(int8_t bus, uint8_t device, uint8_t function);
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4/
H A Dfire.esc156 * Whenever a leaf device sends an error message (fatal, non-fatal, or CE) to
252 * PCI-E/PCI device fault and SW defects
256 event fault.io.fire.pciex.device@pciexbus/pciexdev/pciexfn,
263 event fault.io.fire.pci.device@pcibus/pcidev/pcifn,
445 * A non-compliant PCIe/PCI device sent a malformed MSI.
447 prop fault.io.fire.pciex.device@pciexbus[b]/pciexdev[d]/pciexfn[f] (0) ->
453 prop fault.io.fire.pci.device@pcibus[b]/pcidev[d]/pcifn[f] (0) ->
471 prop fault.io.fire.pciex.device@pciexbus[b]/pciexdev[d]/pciexfn[0] (0) ->
482 prop fault.io.fire.pci.device@pcibus[b]/pcidev[d]/pcifn[0] (0) ->
569 event fault.io.fire.pciex.device
[all...]
/illumos-gate/usr/src/uts/intel/io/heci/
H A Dheci_intr.c97 * heci_isr_interrupt - The ISR of the HECI device
100 * @dev_id: pointer to the device structure
107 struct iamt_heci_device *device = local
110 mutex_enter(&device->device_lock);
112 if (device->heci_state == HECI_POWER_DOWN) {
113 mutex_exit(&device->device_lock);
116 device->host_hw_state = read_heci_register(device, H_CSR);
118 if ((device->host_hw_state & H_IS) != H_IS) {
119 mutex_exit(&device
[all...]

Completed in 113 milliseconds

1234567891011>>