/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | osspec_solaris.h | 20 HalDevice *hal_util_find_closest_ancestor (const gchar *devfs_path, gchar **ancestor_devfs_path, gchar **hotplug_devfs_path);
|
H A D | devinfo_ieee1394.c | 36 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 D | devinfo_storage.h | 24 HalDevice *devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path, 28 void devinfo_volume_hotplug_begin_remove (HalDevice *d, char *devfs_path, void *end_token);
|
H A D | devinfo.c | 86 devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path) argument 100 devfs_path, local 111 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 D | devinfo_misc.c | 73 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 D | devinfo.h | 25 HalDevice *(*add) (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 28 void (*remove) (char *devfs_path); 56 void devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path); 65 void hotplug_event_begin_remove_devinfo (HalDevice *d, gchar *devfs_path, void *end_token); 66 void devinfo_hotplug_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler, int action, int front); 67 void devinfo_add_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler); 68 void devinfo_add_enqueue_at_front(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler); 69 void devinfo_remove_enqueue(gchar *devfs_path, DevinfoDevHandler *handler);
|
H A D | devinfo_usb.h | 23 HalDevice *devinfo_usb_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
|
H A D | hotplug.h | 45 char devfs_path[HAL_PATH_MAX]; member in struct:__anon628::__anon629::__anon630
|
H A D | sysevent.c | 325 sysevent_dev_add(gchar *devfs_path, gchar *name) argument 330 HAL_INFO (("dev_add: %s %s", name, devfs_path)); 332 parent = hal_util_find_closest_ancestor (devfs_path, &parent_devfs_path, &hotplug_devfs_path); 349 sysevent_dev_remove(gchar *devfs_path, gchar *name) argument 351 HAL_INFO (("dev_remove: %s %s", name, devfs_path)); 353 devinfo_remove_branch (devfs_path, NULL); 358 sysevent_dev_branch(gchar *devfs_path) argument 360 HAL_INFO (("branch_remove: %s", devfs_path)); 362 devinfo_remove_branch (devfs_path, NULL); 367 sysevent_lofi_add(gchar *devfs_path, gcha argument 412 lookup_parent(char *devfs_path) argument 444 sysevent_devfs_add(gchar *devfs_path) argument 586 char *devfs_path; local [all...] |
H A D | devinfo_pci.c | 31 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 D | hotplug.c | 66 HAL_ERROR (("devpath %s already present in store, ignore event", hotplug_event->un.devfs.devfs_path)); 80 if (strcmp(hotplug_event->un.devfs.devfs_path, "/") != 0) { 81 HAL_ERROR (("Parent is NULL devfs_path=%s parent_udi=%s", hotplug_event->un.devfs.devfs_path, parent_udi ? parent_udi : "<null>")); 116 HAL_ERROR (("devpath %s not present in store, ignore event", hotplug_event->un.devfs.devfs_path)); 123 hotplug_event->un.devfs.devfs_path, 132 HAL_INFO (("hotplug_event_begin_devfs: %s", hotplug_event->un.devfs.devfs_path)); 134 "solaris.devfs_path", 135 hotplug_event->un.devfs.devfs_path);
|
H A D | devinfo_storage.c | 58 HalDevice *devinfo_ide_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 59 static HalDevice *devinfo_ide_host_add(HalDevice *parent, di_node_t node, char *devfs_path); 60 static HalDevice *devinfo_ide_device_add(HalDevice *parent, di_node_t node, char *devfs_path); 61 static HalDevice *devinfo_ide_storage_add(HalDevice *parent, di_node_t node, char *devfs_path); 62 HalDevice *devinfo_scsi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 63 static HalDevice *devinfo_scsi_storage_add(HalDevice *parent, di_node_t node, char *devfs_path); 64 HalDevice *devinfo_blkdev_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 65 static HalDevice *devinfo_blkdev_storage_add(HalDevice *parent, di_node_t node, char *devfs_path); 66 HalDevice *devinfo_floppy_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type); 68 static HalDevice *devinfo_lofi_add(HalDevice *parent, di_node_t node, char *devfs_path, cha 149 devinfo_ide_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 166 devinfo_ide_host_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 183 devinfo_ide_device_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 201 devinfo_ide_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 247 devinfo_scsi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 282 devinfo_scsi_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 372 devinfo_blkdev_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 401 devinfo_blkdev_storage_add(HalDevice *parent, di_node_t node, char *devfs_path) argument 440 devinfo_floppy_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 526 char *devfs_path; local 550 const char *devfs_path; local 589 devinfo_lofi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 595 devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type, gboolean rescan, HalDevice *lofi_d) argument 724 const char *devfs_path; local 800 devinfo_storage_minors(HalDevice *parent, di_node_t node, gchar *devfs_path, gboolean rescan) argument 983 char *devfs_path = m->devpath; local 1262 char *devfs_path = NULL; local 1608 devinfo_volume_hotplug_begin_remove(HalDevice *d, char *devfs_path, void *end_token) argument [all...] |
H A D | devinfo_usb.c | 37 static HalDevice *devinfo_usb_if_add(HalDevice *d, di_node_t node, gchar *devfs_path, 45 static void set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name); 96 get_usb_devlink(char *devfs_path, const char *dir_name) argument 111 (strstr(lpath, devfs_path) != NULL)) { 124 devinfo_usb_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument 145 devinfo_set_default_properties (d, parent, node, devfs_path); 173 set_usb_properties (d, node, devfs_path, driver_name); 177 if (hdl = di_devlink_init (devfs_path, DI_MAKE_LINK)) { 182 devinfo_add_enqueue (d, devfs_path, &devinfo_usb_handler); 191 devfs_path, 248 set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name) argument 370 devinfo_usb_if_add(HalDevice *parent, di_node_t node, gchar *devfs_path, gchar *if_devfs_path, int ifnum) argument [all...] |
H A D | devinfo_acpi.c | 39 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 D | devinfo_acpi.h | 32 char *devfs_path, char *device_type, gboolean rescan, HalDevice *battery_d);
|
/illumos-gate/usr/src/cmd/hal/tools/sunos/ |
H A D | hal-system-lcd-get-brightness-sunos.c | 37 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 D | hal-system-lcd-set-brightness-sunos.c | 38 char *devfs_path; local 43 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) { 46 strlcat(device_file, devfs_path, HAL_PATH_MAX);
|
/illumos-gate/usr/src/cmd/hal/probing/acpi/ |
H A D | probe-acpi.c | 38 char *devfs_path; local 44 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) 46 strlcat(device_file, devfs_path, HAL_PATH_MAX);
|
/illumos-gate/usr/src/lib/libdevice/ |
H A D | libdevice.h | 48 devctl_device_acquire(char *devfs_path, uint_t flags); 51 devctl_bus_acquire(char *devfs_path, uint_t flags); 54 devctl_ap_acquire(char *devfs_path, uint_t flags); 57 devctl_pm_dev_acquire(char *devfs_path, uint_t flags); 60 devctl_pm_bus_acquire(char *devfs_path, uint_t flags);
|
H A D | devctl.c | 106 devctl_bus_acquire(char *devfs_path, uint_t flags) argument 112 ((devfs_path != NULL) ? devfs_path : nullptr), flags); 114 if ((devfs_path == NULL) || ((flags != 0) && (flags != DC_EXCL))) { 120 return (dc_mkhndl(DEVCTL_BUS, devfs_path, oflags, NULL)); 129 devctl_device_acquire(char *devfs_path, uint_t flags) argument 135 ((devfs_path != NULL) ? devfs_path : nullptr), flags); 137 if ((devfs_path == NULL) || ((flags != 0) && (flags != DC_EXCL))) { 143 return (dc_mkhndl(DEVCTL_DEVICE, devfs_path, oflag 153 devctl_ap_acquire(char *devfs_path, uint_t flags) argument 181 devctl_pm_bus_acquire(char *devfs_path, uint_t flags) argument 205 devctl_pm_dev_acquire(char *devfs_path, uint_t flags) argument [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.h | 223 int devfsadm_enumerate_int(char *devfs_path, int index, char **buf, 225 int devfsadm_enumerate_char(char *devfs_path, int index, char **buf, 236 int disk_enumerate_int(char *devfs_path, int index, char **buf, 241 int devfsadm_enumerate_char_start(char *devfs_path, int index, 243 int devfsadm_read_link(di_node_t node, char *link, char **devfs_path);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | envd.h | 128 char *devfs_path; /* sensor device devfs path */ member in struct:env_sensor 149 char *devfs_path; /* fan device devfs path */ member in struct:env_fan
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvsetup.c | 391 char *pname, *nodename, *devfs_path; local 433 * Add "devfs_path" property in child node 435 devfs_path = sensorp->devfs_path; 439 strlen(devfs_path)+1, (void *)devfs_path, &proph); 513 char *pname, *nodename, *devfs_path; local 559 * Add "devfs_path" property in child node 561 devfs_path = diskp->devfs_path; 656 char *pname, *nodename, *devfs_path; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvsetup.c | 401 char *pname, *nodename, *devfs_path; local 437 * Add "devfs_path" property in child node 439 devfs_path = sensorp->devfs_path; 443 strlen(devfs_path)+1, (void *)devfs_path, &proph); 518 char *pname, *nodename, *devfs_path; local 558 * Add "devfs_path" property in child node 560 devfs_path = diskp->devfs_path; 655 char *pname, *nodename, *devfs_path; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 66 char devfs_path[MAXPATHLEN]; member in struct:p_info 247 "r", port_info->devfs_path, 316 char *devfs_path = NULL; local 349 devfs_path = di_devfs_path(node); 350 if (devfs_path == NULL) { 358 di_devfs_path_free(devfs_path); 364 di_devfs_path_free(devfs_path); 368 (void) strncpy(port_info->devfs_path, devfs_path, 369 sizeof (port_info->devfs_path)); 786 char devfs_path[PICL_PROPNAMELEN_MAX]; local [all...] |