Searched refs:device (Results 1 - 25 of 470) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/cmd/hal/hald/
H A Ddevice.h4 * device.c : HalDevice methods
53 void (*property_changed) (HalDevice *device,
58 void (*capability_added) (HalDevice *device,
61 void (*callouts_finished) (HalDevice *device);
63 void (*cancelled) (HalDevice *device);
76 typedef void (*HalDeviceAsyncCallback) (HalDevice *device,
81 typedef gboolean (*HalDevicePropertyForeachFn) (HalDevice *device,
101 const char *hal_device_get_udi (HalDevice *device);
102 void hal_device_set_udi (HalDevice *device,
105 void hal_device_add_capability (HalDevice *device,
[all...]
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:__anon647
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...]
H A Dhald_runner.h30 #include "device.h"
57 hald_runner_start (HalDevice *device, const gchar *command_line, char **extra_env,
63 hald_runner_run(HalDevice *device,
69 hald_runner_run_method(HalDevice *device,
76 void hald_runner_kill_device(HalDevice *device);
79 /* called by the core to tell the runner a device was finalized */
80 void runner_device_finalized (HalDevice *device);
/opensolaris-onvv-gate/usr/src/cmd/fm/dicts/
H A DPCIEX.dict29 fault.io.pciex.device-interr=0
30 fault.io.pciex.device-interr fault.io.pciex.device-invreq=1
31 fault.io.pciex.bus-noresp fault.io.pciex.device-noresp=2
32 fault.io.pciex.bus-linkerr fault.io.pciex.device-interr=3
33 fault.io.pci.bus-linkerr fault.io.pciex.device-interr=4
34 fault.io.pci.device-invreq=5
35 fault.io.pci.device-invreq fault.io.pciex.device-interr=6
36 fault.io.pci.device
[all...]
H A DPCI.dict32 fault.io.pci.device=3
33 defect.io.pci.driver fault.io.pci.device=4
34 fault.io.pci.bus fault.io.pci.device=5
35 defect.io.pci.driver fault.io.pci.bus fault.io.pci.device=6
36 fault.io.pci.device-interr=7
37 fault.io.pci.bus-linkerr fault.io.pci.device-interr=8
38 fault.io.pci.device-invreq fault.io.pci.device-noresp=9
39 fault.io.pci.device-interr fault.io.pci.device
[all...]
H A DSTORAGE.dict32 fault.device.controller.fail=4
33 fault.device.ethernet.fail=5
34 fault.device.fan.fail=6
35 fault.device.psu.fail=7
36 fault.device.sas-expander.fail=8
37 fault.device.unusable-chassis-id=9
H A DZFS.dict32 ereport.fs.zfs.device.missing_r=2
33 ereport.fs.zfs.device.missing_nr=3
34 ereport.fs.zfs.device.corrupt_label_r=4
35 ereport.fs.zfs.device.corrupt_label_nr=5
39 ereport.fs.zfs.device.failing=9
40 ereport.fs.zfs.device.version_mismatch=10
42 fault.fs.zfs.device=12
H A DSUN4.dict35 fault.io.fire.pciex.device=4
38 fault.io.fire.asic fault.io.fire.pciex.device=7
40 fault.io.fire.pci.device fault.io.fire.pciex.device=9
41 fault.io.fire.pci.device=10
43 fault.io.fire.asic fault.io.fire.pci.device fault.io.fire.pciex.device=12
44 fault.io.fire.asic fault.io.fire.pci.device=13
/opensolaris-onvv-gate/usr/src/uts/i86pc/os/
H A Dpci_mech1.c48 pci_mech1_getb(int bus, int device, int function, int reg) argument
51 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
57 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
64 pci_mech1_getw(int bus, int device, int function, int reg) argument
68 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
74 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
81 pci_mech1_getl(int bus, int device, int function, int reg) argument
85 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
91 outl(PCI_CONFADD, PCI_CADDR1(bus, device, function, reg));
98 pci_mech1_putb(int bus, int device, in argument
112 pci_mech1_putw(int bus, int device, int function, int reg, uint16_t val) argument
126 pci_mech1_putl(int bus, int device, int function, int reg, uint32_t val) argument
[all...]
H A Dpci_mech2.c39 * The "mechanism 2" interface only has 4 bits for device number. To
73 pci_mech2_getb(int bus, int device, int function, int reg) argument
78 if (device >= PCI_MAX_DEVS_2)
82 val = inb(PCI_CADDR2(device, reg));
89 pci_mech2_getw(int bus, int device, int function, int reg) argument
94 if (device >= PCI_MAX_DEVS_2)
98 val = inw(PCI_CADDR2(device, reg));
105 pci_mech2_getl(int bus, int device, int function, int reg) argument
110 if (device >= PCI_MAX_DEVS_2)
114 val = inl(PCI_CADDR2(device, re
121 pci_mech2_putb(int bus, int device, int function, int reg, uint8_t val) argument
134 pci_mech2_putw(int bus, int device, int function, int reg, uint16_t val) argument
147 pci_mech2_putl(int bus, int device, int function, int reg, uint32_t val) argument
[all...]
H A Dpci_mech1_amd.c95 pci_mech1_amd_getb(int bus, int device, int function, int reg) argument
99 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
105 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
112 pci_mech1_amd_getw(int bus, int device, int function, int reg) argument
116 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
122 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
129 pci_mech1_amd_getl(int bus, int device, int function, int reg) argument
133 if (device == PCI_MECH1_SPEC_CYCLE_DEV &&
139 outl(PCI_CONFADD, PCI_CADDR1_ECS(bus, device, function, reg));
146 pci_mech1_amd_putb(int bus, int device, in argument
160 pci_mech1_amd_putw(int bus, int device, int function, int reg, uint16_t val) argument
174 pci_mech1_amd_putl(int bus, int device, int function, int reg, uint32_t val) argument
[all...]
H A Dpci_neptune.c65 * First check the vendor and device ids of the Host to
67 * because the same device ID can refer to either
71 /* check the vendor id, the device id, and the revision id */
104 /* check the vendor and device id's of the Host to PCI bridge */
140 pci_neptune_getb(int bus, int device, int function, int reg) argument
146 val = pci_mech1_getb(bus, device, function, reg);
153 pci_neptune_getw(int bus, int device, int function, int reg) argument
159 val = pci_mech1_getw(bus, device, function, reg);
166 pci_neptune_getl(int bus, int device, int function, int reg) argument
172 val = pci_mech1_getl(bus, device, functio
179 pci_neptune_putb(int bus, int device, int function, int reg, uint8_t val) argument
189 pci_neptune_putw(int bus, int device, int function, int reg, uint16_t val) argument
199 pci_neptune_putl(int bus, int device, int function, int reg, uint32_t val) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/sshd/
H A Dauth-chall.c37 static KbdintDevice *device; variable
46 device = devices[0]; /* we always use the 1st device for protocol 1 */
47 if (device == NULL)
49 if ((authctxt->kbdintctxt = device->init_ctx(authctxt)) == NULL)
51 if (device->query(authctxt->kbdintctxt, &name, &info,
53 device->free_ctx(authctxt->kbdintctxt);
75 if (device == NULL)
80 res = device->respond(authctxt->kbdintctxt, 1, resp);
81 device
[all...]
/opensolaris-onvv-gate/usr/src/cmd/power/
H A Dpower.conf.i38632 device-dependency-property removable-media /dev/fb
H A Dpower.conf.sparc32 device-dependency-property removable-media /dev/fb
/opensolaris-onvv-gate/usr/src/lib/libsecdb/
H A Dpolicy.conf30 AUTHS_GRANTED=solaris.device.cdrw
/opensolaris-onvv-gate/usr/src/cmd/fm/eversholt/files/common/
H A Dneptune_xaui.esc38 event fault.io.pciex.device-interr@pciexbus/pciexdev/pciexfn,
42 event error.io.device.nxge.xaui-err@pciexbus/pciexdev/pciexfn;
43 event ereport.io.device.nxge.xaui-err@pciexbus/pciexdev/pciexfn {within(10s)};
46 prop fault.io.pciex.device-interr@pciexbus/pciexdev/pciexfn (0) ->
47 error.io.device.nxge.xaui-err@pciexbus/pciexdev/pciexfn;
49 prop error.io.device.nxge.xaui-err@pciexbus/pciexdev/pciexfn (2) ->
50 ereport.io.device.nxge.xaui-err@pciexbus/pciexdev/pciexfn,
/opensolaris-onvv-gate/usr/src/cmd/allocate/
H A Ddevalloc_defaults25 # Default device_allocation attributes for device types.
30 # device-type:\
33 # auths=<comma separated list of device authorizations>;\
37 # e.g.: minlabel="TS A B";maxlabel="TS AB";auths=solaris.device.allocate;\
40 audio:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/audio_clean
41 fd:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/disk_clean
42 sr:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/disk_clean
43 st:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/tape_clean
44 rmdisk:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/disk_clean
/opensolaris-onvv-gate/usr/src/cmd/devinfo/
H A Ddevinfo.c62 static void partinfo(int fd, char *device);
63 static void devinfo(struct dk_geom *geom, int fd, char *device);
73 char *device; local
82 device = optarg;
86 device = optarg;
101 if ((fd = open(device, O_RDONLY)) < 0) {
103 device, strerror(errno));
110 (void) warn(device,
113 (void) warn(device,
119 devinfo(&geom, fd, device);
128 partinfo(int fd, char *device) argument
166 devinfo(struct dk_geom *geom, int fd, char *device) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dports.c159 char *device; local
184 device = pp->device;
185 if (is_printer_uri(device) == 0) {
187 * if it's a device uri and the endpoint contains a valid
190 * local device, so use /dev/null.
192 device = strstr(device, "://");
193 if (device != NULL)
194 device
323 push_module(int fd, char *device, char *module) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/sys/agp/
H A Dagpdefs.h74 /* macros for device types */
81 /* AGP bridge device id */
190 #define IS_INTEL_915(device) ((device == INTEL_IGD_915) || \
191 (device == INTEL_IGD_915GM) || \
192 (device == INTEL_IGD_945) || \
193 (device == INTEL_IGD_945GM) || \
194 (device == INTEL_IGD_945GME))
197 #define IS_INTEL_965(device) ((device
[all...]
/opensolaris-onvv-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_devconfig.h101 * Enumeration defining physical or logical device types
139 * devconfig_t - struct to hold a device configuration hierarchy
143 /* Attributes of this device */
147 * Available devices for use in construction of this device
153 * Unavailable devices for use in construction of this device
159 * Subcomponents (devconfig_t) of this device
196 * Check the type of the given device.
198 * @param device
199 * the device whose type to check
202 * the type of the device agains
[all...]
/opensolaris-onvv-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c95 static int get_disk_fd(ig_device_t *device);
256 * Install a new stage1/stage2 pair on the specified device. handle_install()
258 * the target device).
288 BOOT_DEBUG("stage1 path: %s, stage2 path: %s, device: %s\n",
291 if (init_device(&install_data.device, device_path) != BC_SUCCESS) {
292 (void) fprintf(stderr, gettext("Unable to gather device "
311 if (is_bootpar(install_data.device.type) && do_version)
338 cleanup_device(&install_data.device);
347 * Retrieves from a device the extended information (einfo) associated to the
349 * Expects one parameter, the device pat
360 ig_device_t *device = &data.device; local
622 init_device(ig_device_t *device, char *path) argument
666 cleanup_device(ig_device_t *device) argument
692 get_start_sector(ig_device_t *device) argument
838 get_disk_fd(ig_device_t *device) argument
931 ig_device_t *device = &install->device; local
979 ig_device_t *device = &install->device; local
1045 ig_device_t *device = &dest->device; local
1116 ig_device_t *device = &install->device; local
1235 ig_device_t *device = &data->device; local
1287 ig_device_t *device = &install->device; local
1408 get_raw_partition_path(ig_device_t *device) argument
1456 get_raw_partition_fd(ig_device_t *device) argument
1498 ig_device_t *device = &install->device; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ntfsprogs/
H A Dntfscat.h32 char *device; /* Device/File to work with */ member in struct:options
/opensolaris-onvv-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c32 * convert device to linename (as in /dev/linename)
34 * device must be character device
49 dev_t tdev; /* device */
65 devtolin(device)
66 dev_t device;
74 if (device == tp->tdev)
83 found = srch_dir(device, srch_dirs[dirno],
94 found = srch_dir(device, dev_dir, 0, srch_dirs);
101 tp->tdev = device;
[all...]

Completed in 96 milliseconds

1234567891011>>