Lines Matching refs:device
42 print_device(GUdevDevice *device)
48 printf (" Name: %s\n", g_udev_device_get_name (device));
49 printf (" Device file: %s\n", g_udev_device_get_device_file (device));
50 printf (" Devtype: %s\n", g_udev_device_get_devtype (device));
51 printf (" Driver: %s\n", g_udev_device_get_driver (device));
52 printf (" Subsystem: %s\n", g_udev_device_get_subsystem (device));
53 printf (" Sysfs path: %s\n", g_udev_device_get_sysfs_path (device));
58 const gchar * const * keys = g_udev_device_get_property_keys (device);
63 prop = g_udev_device_get_property (device, *keys);
80 GUdevDevice *device;
86 device = g_udev_client_query_by_subsystem_and_name (guclient, parts[0],
90 device = g_udev_client_query_by_sysfs_path (guclient, path);
92 device = g_udev_client_query_by_device_file (guclient, path);
95 if (device) {
96 print_device (device);
99 parent = g_udev_device_get_parent (device);
101 printf ("Parent device:\n");
106 g_object_unref (device);