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

1234567891011>>

/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-kernel.man9p.inc18 file path=usr/share/man/man9p/inquiry-device-type.9p
27 link path=usr/share/man/man9p/device-blksize.9p target=size.9p
28 link path=usr/share/man/man9p/device-nblocks.9p target=size.9p
30 target=inquiry-device-type.9p
32 target=inquiry-device-type.9p
34 target=inquiry-device-type.9p
36 target=inquiry-device-type.9p
/illumos-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:__anon2
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);
H A Ddevice_store.h4 * device.c : HalDevice methods
32 #include "device.h"
48 HalDevice *device,
52 HalDevice *device,
58 HalDevice *device,
76 HalDevice *device,
81 HalDevice *device,
89 HalDevice *device);
91 HalDevice *device);
/illumos-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...]
/illumos-gate/usr/src/lib/libsecdb/
H A Dpolicy.conf30 AUTHS_GRANTED=solaris.device.cdrw
/illumos-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,
H A Dneptune_xfp.esc48 event error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn;
49 event ereport.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn {within(10s)};
53 * Events ereport.io.device.nxge.xfp-err and ereport.io.service.lost are
55 * generating the xfp-err ereport. A internal error.io.device.nxge.xfp-err
56 * is generated only after the FMD has received both ereport.io.device.
60 * (associated with ereport.io.device.nxge.xfp-err and ereport.io.service.lost
64 error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn;
66 prop error.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn (2) ->
67 ereport.io.device.nxge.xfp-err@pciexbus/pciexdev/pciexfn,
H A Dsca1000.esc61 event error.io.sca1000.hw.device@P; /* DMA device errors */
67 event ereport.io.sca1000.hw.device@P;
74 -> error.io.sca1000.hw.device@P,
77 prop error.io.sca1000.hw.device@P
78 -> ereport.io.sca1000.hw.device@P;
H A Dsca500.esc62 event error.io.sca500.hw.device@P; /* DMA device errors */
68 event ereport.io.sca500.hw.device@P;
75 -> error.io.sca500.hw.device@P,
78 prop error.io.sca500.hw.device@P
79 -> ereport.io.sca500.hw.device@P;
/illumos-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...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dports.c160 char *device; local
185 device = pp->device;
186 if (is_printer_uri(device) == 0) {
188 * if it's a device uri and the endpoint contains a valid
191 * local device, so use /dev/null.
193 device = strstr(device, "://");
194 if (device != NULL)
195 device
324 push_module(int fd, char *device, char *module) argument
[all...]
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c103 static int get_disk_fd(ig_device_t *device);
267 * Install a new stage1/stage2 pair on the specified device. handle_install()
269 * the target device).
299 BOOT_DEBUG("stage1 path: %s, stage2 path: %s, device: %s\n",
302 if (init_device(&install_data.device, device_path) != BC_SUCCESS) {
303 (void) fprintf(stderr, gettext("Unable to gather device "
322 if (is_bootpar(install_data.device.type) && do_version)
349 cleanup_device(&install_data.device);
358 * Retrieves from a device the extended information (einfo) associated to the
360 * Expects one parameter, the device pat
371 ig_device_t *device = &data.device; local
634 init_device(ig_device_t *device, char *path) argument
700 cleanup_device(ig_device_t *device) argument
726 get_start_sector(ig_device_t *device) argument
889 get_disk_fd(ig_device_t *device) argument
982 ig_device_t *device = &install->device; local
1040 ig_device_t *device = &install->device; local
1106 ig_device_t *device = &dest->device; local
1177 ig_device_t *device = &install->device; local
1297 ig_device_t *device = &data->device; local
1350 ig_device_t *device = &install->device; local
1479 get_raw_partition_path(ig_device_t *device) argument
1530 get_raw_partition_fd(ig_device_t *device) argument
[all...]
/illumos-gate/usr/src/man/man9p/
H A DMakefile22 inquiry-device-type.9p \
32 device-blksize.9p \
33 device-nblocks.9p \
41 inquiry-product-id.9p := LINKSRC = inquiry-device-type.9p
42 inquiry-revision-id.9p := LINKSRC = inquiry-device-type.9p
43 inquiry-serial-no.9p := LINKSRC = inquiry-device-type.9p
44 inquiry-vendor-id.9p := LINKSRC = inquiry-device-type.9p
48 device-blksize.9p := LINKSRC = size.9p
49 device-nblocks.9p := LINKSRC = size.9p
/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/uts/common/sys/ib/clients/of/sol_ofs/
H A Dsol_kverb_impl.h37 * if the device state is IB_DEV_CLOSE, the device is about to be closed
43 qpp->device->reg_state == IB_DEV_OPEN) { \
44 ib_event.device = qpp->device; \
54 cqp->device->reg_state == IB_DEV_OPEN) { \
55 ib_event.device = cqp->device; \
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4v/
H A Dn2niu_xaui.esc41 event error.io.device.nxge.xaui-err@niufn;
42 event ereport.io.device.nxge.xaui-err@niufn {within(10s)};
46 error.io.device.nxge.xaui-err@niufn;
48 prop error.io.device.nxge.xaui-err@niufn (2) ->
49 ereport.io.device.nxge.xaui-err@niufn,
H A Dn2niu_xfp.esc42 event error.io.device.nxge.xfp-err@niufn;
43 event ereport.io.device.nxge.xfp-err@niufn {within(10s)};
48 error.io.device.nxge.xfp-err@niufn;
50 prop error.io.device.nxge.xfp-err@niufn (2) ->
51 ereport.io.device.nxge.xfp-err@niufn,
H A Dn2piu.esc145 event ereport.io.device.inval_state@niu/niufn{within(5s)};
146 event ereport.io.device.no_response@niu/niufn{within(5s)};
147 event ereport.io.device.stall@niu/niufn{within(5s)};
148 event ereport.io.device.badint_limit@niu/niufn{within(5s)};
149 event ereport.io.device.intern_corr@niu/niufn{within(5s)};
150 event ereport.io.device.intern_uncorr@niu/niufn{within(5s)};
151 event ereport.io.device.nf-device@niu/niufn;
225 event error.io.device.f-device
[all...]
/illumos-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c31 * convert device to linename (as in /dev/linename)
33 * device must be character device
48 dev_t tdev; /* device */
66 devtolin(dev_t device) argument
74 if (device == tp->tdev)
85 found = srch_dir(device, srch_dirs[dirno],
97 found = srch_dir(device, dev_dir, 0, srch_dirs);
106 tp->tdev = device;
113 * if not found put "?" in the tlist structure for that device
134 srch_dir(dev_t device, char *path, int depth, char *skip_dirs[]) 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...]

Completed in 281 milliseconds

1234567891011>>