Home
last modified time | relevance | path

Searched refs:HalDevice (Results 1 – 25 of 31) sorted by relevance

12

/titanic_41/usr/src/cmd/hal/hald/
H A Ddevice.h35 typedef struct _HalDevice HalDevice; typedef
53 void (*property_changed) (HalDevice *device,
58 void (*capability_added) (HalDevice *device,
61 void (*callouts_finished) (HalDevice *device);
63 void (*cancelled) (HalDevice *device);
68 HAL_TYPE_DEVICE, HalDevice))
76 typedef void (*HalDeviceAsyncCallback) (HalDevice *device,
81 typedef gboolean (*HalDevicePropertyForeachFn) (HalDevice *device,
87 HalDevice *hal_device_new (void);
89 void hal_device_merge (HalDevice *target,
[all …]
H A Ddevice_store.h48 HalDevice *device,
52 HalDevice *device,
58 HalDevice *device,
76 HalDevice *device,
81 HalDevice *device,
89 HalDevice *device);
91 HalDevice *device);
93 HalDevice *hal_device_store_find (HalDeviceStore *store,
100 HalDevice *hal_device_store_match_key_value_string (HalDeviceStore *store,
104 HalDevice *hal_device_store_match_key_value_int (HalDeviceStore *store,
H A Ddevice.c59 HalDevice *device = HAL_DEVICE (obj); in hal_device_finalize()
135 hal_device_init (HalDevice *device) in hal_device_init()
156 sizeof (HalDevice), in hal_device_get_type()
172 HalDevice *
175 HalDevice *device; in hal_device_new()
195 hal_device_merge_with_rewrite (HalDevice *target, in hal_device_merge_with_rewrite()
196 HalDevice *source, in hal_device_merge_with_rewrite()
277 hal_device_merge (HalDevice *target, HalDevice *source) in hal_device_merge()
350 hal_device_matches (HalDevice *device1, HalDevice *device2, in hal_device_matches()
416 hal_device_get_udi (HalDevice *device) in hal_device_get_udi()
[all …]
H A Dutil.h54 gboolean hal_util_set_int_from_file (HalDevice *d, const gchar *key, const gchar *directory, const …
58 gboolean hal_util_set_uint64_from_file (HalDevice *d, const gchar *key, const gchar *directory, con…
62 gboolean hal_util_set_string_from_file (HalDevice *d, const gchar *key, const gchar *directory, con…
66 gboolean hal_util_set_bcd2_from_file (HalDevice *d, const gchar *key, const gchar *directory, const…
82 gboolean hal_util_set_string_elem_from_file (HalDevice *d, const gchar *key,
86 gboolean hal_util_set_int_elem_from_file (HalDevice *d, const gchar *key,
90 gboolean hal_util_set_bool_elem_from_file (HalDevice *d, const gchar *key,
97 typedef void (*HalCalloutsDone) (HalDevice *d, gpointer userdata1, gpointer userdata2);
99 void hal_util_callout_device_add (HalDevice *d, HalCalloutsDone callback, gpointer userdata1, gpoin…
100 void hal_util_callout_device_remove (HalDevice *d, HalCalloutsDone callback, gpointer userdata1, gp…
[all …]
H A Dhald_runner.h44 typedef void (*HalRunTerminatedCB) (HalDevice *d, guint32 exit_type,
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);
80 void runner_device_finalized (HalDevice *device);
H A Ddevice_store.c149 emit_device_property_changed (HalDevice *device, in emit_device_property_changed()
162 emit_device_capability_added (HalDevice *device, in emit_device_capability_added()
173 hal_device_store_add (HalDeviceStore *store, HalDevice *device) in hal_device_store_add()
198 hal_device_store_remove (HalDeviceStore *store, HalDevice *device) in hal_device_store_remove()
219 HalDevice *
225 HalDevice *d = iter->data; in hal_device_store_find()
245 HalDevice *d = HAL_DEVICE (iter->data); in hal_device_store_foreach()
257 HalDevice *device, in hal_device_store_print_foreach_fn()
279 HalDevice *
291 HalDevice *d = HAL_DEVICE (iter->data); in hal_device_store_match_key_value_string()
[all …]
H A Dhald_dbus.h74 void manager_send_signal_device_added (HalDevice *device);
75 void manager_send_signal_device_removed (HalDevice *device);
76 void manager_send_signal_new_capability (HalDevice *device,
79 void device_send_signal_property_modified (HalDevice *device,
83 void device_send_signal_condition (HalDevice *device,
98 gboolean device_is_executing_method (HalDevice *d, const char *interface_name, const char *method_n…
H A Dosspec.h44 gboolean osspec_device_rescan (HalDevice *d);
46 gboolean osspec_device_reprobe (HalDevice *d);
49 void osspec_refresh_mount_state_for_block_device (HalDevice *d);
H A Dhald_runner.c44 HalDevice *d;
57 HalDevice *device;
73 HalDevice *device = user_data; in rprd_foreach()
84 running_processes_remove_device (HalDevice *device) in running_processes_remove_device()
90 runner_device_finalized (HalDevice *device) in runner_device_finalized()
236 add_property_to_msg (HalDevice *device, HalProperty *property, in add_property_to_msg()
340 add_first_part(DBusMessageIter *iter, HalDevice *device, in add_first_part()
365 hald_runner_start (HalDevice *device, const gchar *command_line, char **extra_env, in hald_runner_start()
481 hald_runner_run_method(HalDevice *device, in hald_runner_run_method()
532 hald_runner_run(HalDevice *device, in hald_runner_run()
[all …]
H A Dutil.c208 hal_util_set_int_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *fi… in hal_util_set_int_from_file()
259 hal_util_set_uint64_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar … in hal_util_set_uint64_from_file()
349 hal_util_set_bcd2_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *f… in hal_util_set_bcd2_from_file()
410 hal_util_set_string_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar … in hal_util_set_string_from_file()
650 hal_util_set_string_elem_from_file (HalDevice *d, const gchar *key, in hal_util_set_string_elem_from_file()
690 hal_util_set_int_elem_from_file (HalDevice *d, const gchar *key, in hal_util_set_int_elem_from_file()
747 hal_util_set_bool_elem_from_file (HalDevice *d, const gchar *key, in hal_util_set_bool_elem_from_file()
805 HalDevice *d;
819 callout_terminated (HalDevice *d, guint32 exit_type, in callout_terminated()
835 HalDevice *d; in callout_do_next()
[all …]
H A Dhald_dbus.c184 HalDevice *device) in raise_device_not_locked()
203 HalDevice *device) in raise_device_already_locked()
232 HalDevice *device) in raise_branch_already_claimed()
261 HalDevice *device) in raise_branch_not_claimed()
301 foreach_device_get_udi (HalDeviceStore *store, HalDevice *device, in foreach_device_get_udi()
362 foreach_device_match_get_udi (HalDeviceStore *store, HalDevice *device, in foreach_device_match_get_udi()
386 foreach_device_match_get_udi_tdl (HalDeviceStore *store, HalDevice *device, in foreach_device_match_get_udi_tdl()
490 foreach_device_by_capability (HalDeviceStore *store, HalDevice *device, gpointer user_data) in foreach_device_by_capability()
579 HalDevice *d; in manager_device_exists()
619 manager_send_signal_device_added (HalDevice *device) in manager_send_signal_device_added()
[all …]
/titanic_41/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo.h25 HalDevice *(*add) (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
30 …void (*hotplug_begin_add) (HalDevice *d, HalDevice *parent, struct DevinfoDevHandler_s *handler, v…
32 void (*hotplug_begin_remove) (HalDevice *d, struct DevinfoDevHandler_s *handler, void *end_token);
34 …void (*probing_done) (HalDevice *d, guint32 exit_type, gint return_code, char **error, gpointer us…
36 const gchar *(*get_prober) (HalDevice *d, int *timeout);
55 void devinfo_add (HalDevice *parent, gchar *path);
56 void devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_p…
57 void devinfo_callouts_preprobing_done (HalDevice *d, gpointer userdata1, gpointer userdata2);
58 void devinfo_callouts_probing_done (HalDevice *d, guint32 exit_type, gint return_code, char **error,
60 void devinfo_callouts_add_done (HalDevice *d, gpointer userdata1, gpointer userdata2);
[all …]
H A Ddevinfo_misc.c30 static HalDevice *devinfo_computer_add(HalDevice *, di_node_t, char *, char *);
31 static HalDevice *devinfo_keyboard_add(HalDevice *, di_node_t, char *, char *);
32 static HalDevice *devinfo_mouse_add(HalDevice *, di_node_t, char *, char *);
33 static HalDevice *devinfo_default_add(HalDevice *, di_node_t, char *, char *);
34 const gchar *devinfo_keyboard_get_prober(HalDevice *d, int *timeout);
72 static HalDevice *
73 devinfo_computer_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) in devinfo_computer_add()
75 HalDevice *d, *local_d; in devinfo_computer_add()
126 static HalDevice *
127 devinfo_keyboard_add(HalDevice *parent, di_node_t node, char *devfs_path, in devinfo_keyboard_add()
[all …]
H A Ddevinfo_acpi.c37 static HalDevice *devinfo_acpi_add(HalDevice *, di_node_t, char *, char *);
38 static HalDevice *devinfo_power_button_add(HalDevice *parent, di_node_t node,
40 static void devinfo_battery_rescan_probing_done(HalDevice *d, guint32 exit_type,
61 static HalDevice *
62 devinfo_acpi_add(HalDevice *parent, di_node_t node, char *devfs_path, in devinfo_acpi_add()
65 HalDevice *d, *computer; in devinfo_acpi_add()
120 devinfo_acpi_add_minor(HalDevice *parent, di_node_t node, char *minor_path, in devinfo_acpi_add_minor()
123 HalDevice *d; in devinfo_acpi_add_minor()
130 static HalDevice *
131 devinfo_power_button_add(HalDevice *parent, di_node_t node, char *devfs_path, in devinfo_power_button_add()
[all …]
H A Ddevinfo_storage.c58 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_typ…
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_typ…
67 static void devinfo_floppy_add_volume(HalDevice *parent, di_node_t node);
[all …]
H A Ddevinfo_ieee1394.c36 HalDevice *devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_t…
37 static HalDevice *devinfo_scsa1394_add(HalDevice *d, di_node_t node, gchar *devfs_path);
48 HalDevice *
49 devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) in devinfo_ieee1394_add()
51 HalDevice *d = NULL; in devinfo_ieee1394_add()
75 static HalDevice *
76 devinfo_scsa1394_add(HalDevice *parent, di_node_t node, gchar *devfs_path) in devinfo_scsa1394_add()
78 HalDevice *d = NULL; in devinfo_scsa1394_add()
H A Ddevinfo.c38 void devinfo_add_subtree(HalDevice *parent, di_node_t node, gboolean is_root);
39 HalDevice *devinfo_add_node(HalDevice *parent, di_node_t node);
42 devinfo_add(HalDevice *parent, gchar *path) in devinfo_add()
64 devinfo_add_subtree(HalDevice *parent, di_node_t node, gboolean is_root) in devinfo_add_subtree()
66 HalDevice *d; in devinfo_add_subtree()
86 devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path) in devinfo_set_default_properties()
149 HalDevice *
150 devinfo_add_node(HalDevice *parent, di_node_t node) in devinfo_add_node()
152 HalDevice *d = NULL; in devinfo_add_node()
175 devinfo_hotplug_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler, int action, in… in devinfo_hotplug_enqueue()
[all …]
H A Ddevinfo_usb.c37 static HalDevice *devinfo_usb_if_add(HalDevice *d, di_node_t node, gchar *devfs_path,
39 static HalDevice *devinfo_usb_scsa2usb_add(HalDevice *d, di_node_t node);
40 static HalDevice *devinfo_usb_printer_add(HalDevice *usbd, di_node_t node);
41 static HalDevice *devinfo_usb_input_add(HalDevice *usbd, di_node_t node);
42 static HalDevice *devinfo_usb_video4linux_add(HalDevice *usbd, di_node_t node);
43 const gchar *devinfo_printer_prnio_get_prober(HalDevice *d, int *timeout);
44 const gchar *devinfo_keyboard_get_prober(HalDevice *d, int *timeout);
45 static void set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name);
123 HalDevice *
124 devinfo_usb_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) in devinfo_usb_add()
[all …]
H A Ddevinfo_storage.h23 gboolean devinfo_storage_device_rescan (HalDevice *d);
24 HalDevice *devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path,
25 char *device_type, gboolean rescan, HalDevice *lofi_d);
27 void devinfo_storage_mnttab_event (HalDevice *hal_volume);
28 void devinfo_volume_hotplug_begin_remove (HalDevice *d, char *devfs_path, void *end_token);
H A Ddevinfo_acpi.h31 HalDevice *devinfo_battery_add_major(HalDevice *parent, di_node_t node,
32 char *devfs_path, char *device_type, gboolean rescan, HalDevice *battery_d);
33 void devinfo_acpi_add_minor(HalDevice *parent, di_node_t node,
37 const gchar *devinfo_acpi_get_prober(HalDevice *d, int *timeout);
42 gboolean devinfo_lid_rescan(HalDevice *d);
H A Dhotplug.c58 hotplug_event_begin_devfs_add (HotplugEvent *hotplug_event, HalDevice *d) in hotplug_event_begin_devfs_add()
60 HalDevice *parent; in hotplug_event_begin_devfs_add()
62 void (*begin_add_func) (HalDevice *, HalDevice *, DevinfoDevHandler *, void *); in hotplug_event_begin_devfs_add()
113 hotplug_event_begin_devfs_remove (HotplugEvent *hotplug_event, HalDevice *d) in hotplug_event_begin_devfs_remove()
130 HalDevice *d; in hotplug_event_begin_devfs()
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) in devinfo_pci_add()
44 HalDevice *d; in devinfo_pci_add()
H A Ddevinfo_usb.h21 extern const gchar *devinfo_keyboard_get_prober(HalDevice *d, int *timeout);
23 HalDevice *devinfo_usb_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
H A Ddevinfo_cpu.c33 static HalDevice *devinfo_cpu_add(HalDevice *, di_node_t, char *, char *);
44 static HalDevice *
45 devinfo_cpu_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) in devinfo_cpu_add()
48 HalDevice *d; in devinfo_cpu_add()
H A Dosspec.c71 osspec_device_rescan (HalDevice *d) in osspec_device_rescan()
77 osspec_device_reprobe (HalDevice *d) in osspec_device_reprobe()
93 HalDevice *
98 HalDevice *parent; in hal_util_find_closest_ancestor()
232 osspec_refresh_mount_state_for_block_device (HalDevice *d) in osspec_refresh_mount_state_for_block_device()

12