Searched defs:device (Results 101 - 125 of 236) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/common/io/audio/drv/audiovia823x/
H A Daudiovia823x.c76 8, /* granularity of device */
91 4, /* granularity of device */
544 uint16_t pci_command, vendor, device; local
565 device = pci_config_get16(pcih, PCI_CONF_DEVID);
566 if ((vendor != VIA_VENDOR_ID) || (device != VIA_8233_ID &&
567 device != VIA_8233A_ID)) {
569 "(vendor=%x, dev=%x)", vendor, device);
589 if ((device == VIA_8233A_ID) ||
590 (device == VIA_8233_ID && pci_revision == 0x40)) {
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Datapi7v3.h47 uint8_t device; member in struct:__anon8939
70 uint8_t device; member in struct:__anon8940
131 uint8_t device; member in struct:__anon8945
/illumos-gate/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c39 * MD_IOCGETDEVS - get the device the soft partition is built on.
232 md_dev64_t device; local
284 * underlying device is a mirror.
290 device = un->un_dev;
291 if ((md_getmajor(device) != md_major) &&
293 device = md_resolve_bydevid(mnum, device, un->un_key);
297 * underlying device so that it can take appropriate action if needed.
301 if (md_layered_open(mnum, &device, MD_OFLG_FROMIOCTL)) {
303 mnum, device);
374 md_dev64_t device; local
[all...]
/illumos-gate/usr/src/uts/intel/io/heci/
H A Dheci_init.c184 * heci_reset_iamthif_params - initializes heci device iamthif
185 * @dev: The heci device structure
204 fini_heci_device(struct iamt_heci_device *device) argument
206 mutex_destroy(&device->device_lock);
207 cv_destroy(&device->wait_recvd_msg);
208 cv_destroy(&device->wait_stop_wd);
209 if (device->work)
210 ddi_taskq_destroy(device->work);
211 if (device->reinit_tsk)
212 ddi_taskq_destroy(device
221 init_heci_device(dev_info_t *dip, struct iamt_heci_device *device) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dbiosdisk.h72 unsigned char device; member in struct:interface_path::__anon9416
/illumos-gate/usr/src/cmd/lp/include/
H A Dprinters.h96 char *device; /* printer port full path name */ member in struct:PRINTER
153 #define BAD_DEVDIAL 0x0004 /* no device or dial information */
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c41 static char *get_device_name(dm_descriptor_t device, int *error);
71 get_device_name(dm_descriptor_t device, int *error) argument
77 name = dm_get_name(device, error);
79 handle_error("could not determine name of device");
/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...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiospci.c182 {0x0, "device", subclass_old},
283 /* Read the device identifier from the nominated device */
288 /* We have the device ID, create a PnP object and save everything */
400 biospci_locator(int8_t bus, uint8_t device, uint8_t function) argument
403 return ((bus << 8) | ((device & 0x1f) << 3) | (function & 0x7));
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dopenfirm.c350 /* Convert a device specifier to a fully qualified pathname. */
352 OF_canon(const char *device, char *buf, int len) argument
358 cell_t device; member in struct:__anon345
368 args.device = (cell_t)device;
376 /* Return a package handle for the specified device. */
378 OF_finddevice(const char *device) argument
384 cell_t device; member in struct:__anon346
392 args.device = (cell_t)device;
496 OF_open(char *device) argument
502 cell_t device; member in struct:__anon350
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dpackage.c56 d = MYSELF->device;
91 ihandle->device = phandle;
219 check_my_self(env, "new-device");
221 parent = MYSELF->device;
243 check_my_self(env, "finish-device");
244 ASSERT(myself->device);
246 n = myself->device->data_size[INIT_DATA];
252 memcpy(mem, MYSELF->device->init_data, sizeof (fstack_t) * n);
253 FREE(myself->device->init_data);
254 my_dev = myself->device;
491 device_t *device; local
656 device_t *device; local
871 device_t *device; local
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Ddstream.c51 extern char *devattr(char *device, char *attribute);
54 extern int getvol(char *device, char *label, int options, char *prompt);
61 /* device types */
75 #define G_FILE 28 /* file, not a device */
76 #define G_NO_DEV 29 /* device does not require special treatment */
77 #define G_DEV_MAX 30 /* last valid device type */
95 int ds_next(char *device, char *instdir);
96 int ds_ginit(char *device);
100 static int ds_realfd = -1; /* file descriptor for real device */
111 static int ds_getnextvol(char *device);
183 ds_readbuf(char *device) argument
203 logerr(pkg_gt(MSG_OPEN), device, errno); local
292 ds_init(char *device, char **pkg, char *norewind) argument
307 logerr(pkg_gt(MSG_OPEN), device, errno); local
322 logerr(pkg_gt(MSG_OPEN), device, errno); local
361 logerr(pkg_gt(MSG_OPEN), device, errno); local
370 logerr(pkg_gt(MSG_OPEN), device, errno); local
519 ds_findpkg(char *device, char *pkg) argument
583 ds_getpkg(char *device, int n, char *dstdir) argument
615 ds_getnextvol(char *device) argument
642 ds_skip(char *device, int nskip) argument
670 ds_skiptoend(char *device) argument
677 ds_next(char *device, char *instdir) argument
734 BIO_ds_dump(PKG_ERR *err, char *device, BIO *bio) argument
793 ds_ginit(char *device) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dio.c112 * Find the PCI device number of this PCI device. If no device number can
129 * Find the PCI device number of this PCI device. If no device number can
243 * Find the sbus slot number of this Sbus device. If no slot number can
435 char device[MAXSTRLEN]; local
442 /* Find the device node using upa-portid/portid */
450 (void) sprintf(device, "
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Dworkfile.c298 * Do a depth-first walk of a device tree and
380 * Find the requested board struct in the system device tree.
464 picl_nodehdl_t *device)
495 err = picl_get_propval(reference_property, &(*device),
829 * a model, then we just describe what the device
836 "%s", "device on pci-bridge");
904 * children of something like a scsi device.
463 fill_device_from_id(picl_nodehdl_t device_id, char *assoc_id, picl_nodehdl_t *device) argument
/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/littleneck/common/
H A Dworkfile.c179 * Do a depth-first walk of a device tree and
288 picl_nodehdl_t *device)
319 err = picl_get_propval(reference_property, &(*device),
440 * Find the requested board struct in the system device tree.
523 * We call do_devinfo() in order to use the libdevinfo device tree
524 * instead of OBP's device tree.
849 * a model, then we just describe what the device
856 "%s", "device on pci-bridge");
923 * children of something like a scsi device.
287 fill_device_from_id(picl_nodehdl_t device_id, char *assoc_id, picl_nodehdl_t *device) argument
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpstat.c141 char *keys[] = { "device-uri", NULL };
149 "device-uri", &result);
206 char *device = NULL; local
229 device = get_device_uri(svc, name);
231 if (device != NULL) {
232 printf(gettext("device for %s: %s\n"), name, device);
1011 "output-device-assigned", &destination);
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DPrinter.java44 private String device = null; field in class:Printer
131 if (device == null) {
133 "Printer.addLocalPrinter(): device must be set");
341 device = arg;
417 return (device);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c56 int type; /* resource(device) type */
58 char device[MAXPATHLEN]; /* name of device or resource */ member in struct:__anon1311
175 find_req_entry(char *device, uint_t flag, int seq_num, req_list_t *list) argument
197 if ((strcmp(device, list->req[i].device) != 0) ||
254 (void) strcpy((*listp)->req[i].device, "");
266 if (((*listp)->req[i].device[0] == '\0') ||
290 char *device; local
296 device
365 check_lock(char *device, uint_t flag, int cflag, rcm_info_t **info) argument
441 char *device; local
478 dr_req_update_entry(char *device, pid_t pid, uint_t flag, int state, int seq_num, timespec_t *interval, rcm_info_t **infop) argument
675 char *device; local
759 char *device = resolve_name(rsrcname); local
824 char *device = resolve_name(rsrcname); local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c346 disk_split_ap_path_sata(const char *ap_path, char *device, int *target) argument
352 * /devices/rootnode/.../device:target
354 (void) strncpy(device, ap_path, MAXPATHLEN);
355 p = strrchr(device, ':');
363 disk_split_ap_path_scsi(const char *ap_path, char *device, int *target) argument
369 * /devices/rootnode/.../device:scsi::dsk/cXtXdX
372 (void) strncpy(device, ap_path, MAXPATHLEN);
373 p = strrchr(device, ':');
379 *strchr(device, ':') = '\0';
383 disk_split_ap_path(const char *ap_path, char *device, in argument
400 disk_split_device_path(const char *dev_path, char *device, int *target) argument
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c89 char *device; member in struct:tape
102 char *device; member in struct:audio
112 char *device; member in struct:cd
127 char *device; member in struct:rmdisk
137 char *device; member in struct:fp
214 * write device entries to device_allocate and device_maps.
237 char *nm; /* name/device of special device */
299 tape[i].device = nm;
301 /* get device numbe
[all...]
/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/cmd/busstat/
H A Dbusstat.c229 * Display all the events that can be set on a device.
238 char *device = NULL; local
248 * be the device instance number, if the user specified one. If
252 * the device number to be ignored during the search.
256 device = safe_malloc(sizeof (char) * i+1);
257 device[i] = '\0';
258 (void) strncpy(device, value, i);
267 if (device == NULL)
268 device = value;
275 if ((cnt_ksp = kstat_lookup(kc, device, inst_nu
429 char *device = NULL; local
[all...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice.c4 * device.c : HalDevice methods
35 #include "device.h"
59 HalDevice *device = HAL_DEVICE (obj); local
61 runner_device_finalized (device);
65 printf ("************* in finalize for udi=%s\n", device->udi);
69 g_slist_foreach (device->properties, (GFunc) hal_property_free, NULL);
71 g_slist_free (device->properties);
73 g_free (device->udi);
135 hal_device_init (HalDevice *device) argument
139 device
175 HalDevice *device; local
416 hal_device_get_udi(HalDevice *device) argument
422 hal_device_set_udi(HalDevice *device, const char *udi) argument
430 hal_device_add_capability(HalDevice *device, const char *capability) argument
437 hal_device_has_capability(HalDevice *device, const char *capability) argument
459 hal_device_has_property(HalDevice *device, const char *key) argument
468 hal_device_num_properties(HalDevice *device) argument
476 hal_device_property_find(HalDevice *device, const char *key) argument
494 hal_device_property_to_string(HalDevice *device, const char *key) argument
506 hal_device_property_foreach(HalDevice *device, HalDevicePropertyForeachFn callback, gpointer user_data) argument
527 hal_device_property_get_type(HalDevice *device, const char *key) argument
543 hal_device_property_get_string(HalDevice *device, const char *key) argument
559 hal_device_property_get_as_string(HalDevice *device, const char *key, char *buf, size_t bufsize) argument
623 hal_device_property_get_int(HalDevice *device, const char *key) argument
639 hal_device_property_get_uint64(HalDevice *device, const char *key) argument
655 hal_device_property_get_bool(HalDevice *device, const char *key) argument
671 hal_device_property_get_double(HalDevice *device, const char *key) argument
687 hal_device_property_set_string(HalDevice *device, const char *key, const char *value) argument
723 hal_device_property_set_int(HalDevice *device, const char *key, dbus_int32_t value) argument
757 hal_device_property_set_uint64(HalDevice *device, const char *key, dbus_uint64_t value) argument
791 hal_device_property_set_bool(HalDevice *device, const char *key, dbus_bool_t value) argument
825 hal_device_property_set_double(HalDevice *device, const char *key, double value) argument
894 hal_device_property_remove(HalDevice *device, const char *key) argument
914 hal_device_property_set_attribute(HalDevice *device, const char *key, enum PropertyAttribute attr, gboolean val) argument
930 hal_device_print(HalDevice *device) argument
984 HalDevice *device; member in struct:__anon610
1003 prop_changed_cb(HalDevice *device, const char *key, gboolean removed, gboolean added, gpointer user_data) argument
1036 hal_device_async_wait_property(HalDevice *device, const char *key, HalDeviceAsyncCallback callback, gpointer user_data, int timeout) argument
1068 hal_device_callouts_finished(HalDevice *device) argument
1076 hal_device_cancel(HalDevice *device) argument
1086 hal_device_property_get_strlist(HalDevice *device, const char *key) argument
1103 hal_device_property_get_strlist_elem(HalDevice *device, const char *key, guint index) argument
1122 hal_device_property_strlist_append(HalDevice *device, const char *key, const char *value) argument
1154 hal_device_property_strlist_prepend(HalDevice *device, const char *key, const char *value) argument
1186 hal_device_property_strlist_remove_elem(HalDevice *device, const char *key, guint index) argument
1211 hal_device_property_strlist_clear(HalDevice *device, const char *key) argument
1244 hal_device_property_strlist_add(HalDevice *device, const char *key, const char *value) argument
1283 hal_device_property_strlist_remove(HalDevice *device, const char *key, const char *value) argument
1307 hal_device_property_strlist_is_empty(HalDevice *device, const char *key) argument
1326 hal_device_inc_num_addons(HalDevice *device) argument
1332 hal_device_inc_num_ready_addons(HalDevice *device) argument
1345 hal_device_are_all_addons_ready(HalDevice *device) argument
[all...]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-mount.c83 permission_denied_volume_ignore (const char *device) argument
86 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
91 permission_denied_etc_fstab (const char *device) argument
94 fprintf (stderr, "Device %s is listed in /etc/fstab. Refusing to mount.\n", device);
99 already_mounted (const char *device) argument
102 fprintf (stderr, "Device %s is already mounted.\n", device);
140 cannot_remount (const char *device) argument
143 fprintf (stderr, "%s not mounted already\n", device);
299 bailout_if_in_fstab (LibHalContext *hal_ctx, const char *device, const char *label, const char *uuid) argument
307 /* check if /etc/fstab mentions this device
392 device_is_mounted(const char *device, char **mount_point) argument
445 handle_mount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, DBusConnection *system_bus) argument
1065 char *device; local
[all...]

Completed in 140 milliseconds

12345678910