Searched defs:devfs_path (Results 1 - 25 of 32) sorted by relevance

12

/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_ieee1394.c36 HalDevice *devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
37 static HalDevice *devinfo_scsa1394_add(HalDevice *d, di_node_t node, gchar *devfs_path);
49 devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
69 d = devinfo_scsa1394_add (parent, node, devfs_path);
76 devinfo_scsa1394_add(HalDevice *parent, di_node_t node, gchar *devfs_path) argument
82 devinfo_set_default_properties (d, parent, node, devfs_path);
86 devinfo_add_enqueue (d, devfs_path, &devinfo_ieee1394_handler);
H A Dhotplug.h45 char devfs_path[HAL_PATH_MAX]; member in struct:__anon42::__anon43::__anon44
H A Ddevinfo_misc.c73 devinfo_computer_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
78 if (strcmp (devfs_path, "/") != 0) {
88 hal_device_property_set_string (d, "solaris.devfs_path", devfs_path);
109 devinfo_add_enqueue (d, devfs_path, &devinfo_computer_handler);
119 hal_device_property_set_string (local_d, "solaris.devfs_path", "/local");
127 devinfo_keyboard_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
139 devinfo_set_default_properties(d, parent, node, devfs_path);
158 devinfo_add_enqueue(d, devfs_path, &devinfo_keyboard_handler);
164 devinfo_mouse_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
199 devinfo_default_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
[all...]
H A Ddevinfo_pci.c31 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
42 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
63 devinfo_set_default_properties (d, parent, node, devfs_path);
118 devinfo_add_enqueue (d, devfs_path, &devinfo_pci_handler);
H A Ddevinfo_cpu.c61 devinfo_cpu_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
220 * If cpu driver is not installed, then devfs_path returned by
222 * Since HAL stores the devices in its tree based on the devfs_path,
223 * To make it unique, will be concatenating devfs_path with cpu_id
227 devfs_path, cpu_id);
229 snprintf (cpu_devfs_path, HAL_PATH_MAX, "%s", devfs_path);
244 hal_device_property_set_string (d, "solaris.devfs_path",
H A Ddevinfo_acpi.c39 char *devfs_path, char *device_type);
62 devinfo_acpi_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
90 devinfo_set_default_properties(d, parent, node, devfs_path);
91 devinfo_add_enqueue(d, devfs_path, &devinfo_acpi_handler);
108 "solaris.devfs_path", minor_path) == NULL) {
131 devinfo_power_button_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
144 devinfo_set_default_properties(d, parent, node, devfs_path);
151 devinfo_add_enqueue(d, devfs_path, &devinfo_power_button_handler);
H A Dosspec.c90 * @param devfs_path Path into devfs, e.g. /pci@0,0/pci1025,57@10,2/storage@1
94 hal_util_find_closest_ancestor (const gchar *devfs_path, gchar **ancestor_devfs_path, gchar **hotplug_devfs_path) argument
102 strncpy (buf, devfs_path, sizeof (buf));
113 "solaris.devfs_path",
H A Ddevinfo.c85 devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path) argument
99 devfs_path, local
110 hal_device_property_set_string (d, "solaris.devfs_path", devfs_path);
153 char *devfs_path; local
158 devfs_path = di_devfs_path (node);
165 d = handler->add (parent, node, devfs_path, device_type);
168 di_devfs_path_free(devfs_path);
175 devinfo_hotplug_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler, int action, int front) argument
183 strlcpy (hotplug_event->un.devfs.devfs_path, devfs_pat
191 devinfo_add_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler) argument
197 devinfo_add_enqueue_at_front(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler) argument
203 devinfo_remove_enqueue(gchar *devfs_path, DevinfoDevHandler *handler) argument
335 devinfo_remove(gchar *devfs_path) argument
342 devinfo_remove_branch(gchar *devfs_path, HalDevice *d) argument
390 hotplug_event_begin_remove_devinfo(HalDevice *d, gchar *devfs_path, void *end_token) argument
[all...]
H A Ddevinfo_usb.c36 static HalDevice *devinfo_usb_if_add(HalDevice *d, di_node_t node, gchar *devfs_path,
44 static void set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name);
95 get_usb_devlink(char *devfs_path, const char *dir_name) argument
110 (strstr(lpath, devfs_path) != NULL)) {
123 devinfo_usb_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
144 devinfo_set_default_properties (d, parent, node, devfs_path);
172 set_usb_properties (d, node, devfs_path, driver_name);
177 if (hdl = di_devlink_init (devfs_path, DI_MAKE_LINK)) {
183 devinfo_add_enqueue (d, devfs_path, &devinfo_usb_handler);
192 devfs_path,
253 set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name) argument
383 devinfo_usb_if_add(HalDevice *parent, di_node_t node, gchar *devfs_path, gchar *if_devfs_path, int ifnum) argument
[all...]
H A Dsysevent.c341 sysevent_dev_add(gchar *devfs_path, gchar *name) argument
346 HAL_INFO (("dev_add: %s %s", name, devfs_path));
348 parent = hal_util_find_closest_ancestor (devfs_path, &parent_devfs_path, &hotplug_devfs_path);
365 sysevent_dev_remove(gchar *devfs_path, gchar *name) argument
367 HAL_INFO (("dev_remove: %s %s", name, devfs_path));
369 devinfo_remove_branch (devfs_path, NULL);
374 sysevent_dev_branch(gchar *devfs_path) argument
376 HAL_INFO (("branch_remove: %s", devfs_path));
378 devinfo_remove_branch (devfs_path, NULL);
383 sysevent_lofi_add(gchar *devfs_path, gcha argument
428 lookup_parent(char *devfs_path) argument
460 sysevent_devfs_add(gchar *devfs_path) argument
621 char *devfs_path; local
[all...]
/osnet-11/usr/src/cmd/hal/probing/acpi/
H A Dprobe-acpi.c38 char *devfs_path; local
44 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL)
46 strlcat(device_file, devfs_path, HAL_PATH_MAX);
/osnet-11/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-get-brightness-sunos.c37 char *devfs_path; local
42 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) {
46 strlcat(device_file, devfs_path, HAL_PATH_MAX);
H A Dhal-system-lcd-set-brightness-sunos.c38 char *devfs_path; local
43 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) {
46 strlcat(device_file, devfs_path, HAL_PATH_MAX);
/osnet-11/usr/src/cmd/hal/probing/printer/
H A Dprobe-printer.c79 char *devfs_path; local
82 if (((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) != NULL) &&
93 (strstr(lpath, devfs_path) != NULL)) {
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay.h93 char *devfs_path; member in struct:tw_pcie_cbs
H A Dbay_fac.c124 char *devfs_path = NULL; local
154 devfs_path = di_devfs_path(dnode);
156 "%s: hba name(%s) phy(%d) devfs_path(%s)\n", f,
157 di_driver_name(dnode), bp->phy, devfs_path);
164 devfs_path, ":devctl");
166 di_devfs_path_free(devfs_path);
H A Dbay_subr.c169 char *devfs_path = di_devfs_minor_path(minor); local
172 (void) snprintf(path, MAXPATHLEN, "%s%s", DEVICES, devfs_path);
173 di_devfs_path_free(devfs_path);
252 char *devfs_path = NULL; local
259 devfs_path = di_path_devfs_path(pnode);
260 bcopy(devfs_path, path, strlen(devfs_path) + 1);
261 di_devfs_path_free(devfs_path);
267 devfs_path = di_devfs_path(dnode);
269 devfs_path);
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_pciexrc.c450 char *devfs_path; local
452 devfs_path = di_devfs_path(dnode);
453 if (devfs_path != NULL) {
454 if (strncmp(devfs_path, path, strlen(path)) == 0) {
456 di_devfs_path_free(devfs_path);
459 di_devfs_path_free(devfs_path);
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_bay.c117 char *devfs_path = di_devfs_path(*dnp); local
139 devfs_path, minor_name ? minor_name : "NULL");
141 di_devfs_path_free(devfs_path);
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c432 char *devfs_path; local
450 if ((devfs_path = di_devfs_path(node)) == NULL)
452 (void) snprintf(disk_path, MAXPATHLEN, "%s%s", DEVICES, devfs_path);
453 di_devfs_path_free(devfs_path);
H A Dcfga_cvt.c363 * state then check the devfs_path to
459 * the devfs_path since it is not
712 char *devfs_path, path_name[MAXPATHLEN], *lun_guid, *port_wwn; local
717 devfs_path = di_devfs_path(node);
718 strcpy(path_name, devfs_path);
719 di_devfs_path_free(devfs_path);
726 * state then check the devfs_path to
/osnet-11/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c41 static char *devfs_path; variable
120 if (strncmp (path, devfs_path, len) != 0)
335 if ((devfs_path = getenv ("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL)
/osnet-11/usr/src/cmd/hal/utils/
H A Dacpi.c723 char *devfs_path; local
727 devfs_path = libhal_device_get_property_string(ctx, udi,
728 "solaris.devfs_path", &error);
730 if (devfs_path == NULL) {
733 strlcat(path, devfs_path, HAL_PATH_MAX);
734 libhal_free_string(devfs_path);
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dio.c752 char *devfs_path = NULL; local
793 if ((devfs_path = di_devfs_path(node)) != NULL) {
794 if (strcmp(rootpath, devfs_path) == 0) {
796 di_devfs_path_free(devfs_path);
799 di_devfs_path_free(devfs_path);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/xaui/common/
H A Dxaui.c208 char *devfs_path; local
244 devfs_path = di_devfs_path(dnode);
245 if (devfs_path == NULL || strstr(devfs_path, "/network@") == NULL) {
246 topo_mod_dprintf(mod, "BAD devfs_path: (%s)\n",
247 devfs_path != NULL ? devfs_path : "null");
250 topo_mod_dprintf(mod, "devfs_path (%s)\n", devfs_path);
251 dev_path_len = strlen(devfs_path)
[all...]

Completed in 69 milliseconds

12