Lines Matching refs:sysname
35 const char *subsystem, *sysname;
47 sysname = udev_device_get_sysname(parent);
48 if (!sysname)
54 c = startswith(sysname, "card");
76 value, subsystem, sysname);
275 const char *sysname, *path_id;
302 sysname = strchr(argv[2], ':');
303 if (!sysname) {
304 log_error("Requires a subsystem and sysname pair specifying a backlight device.");
308 ss = strndup(argv[2], sysname - argv[2]);
314 sysname++;
317 log_error("Not a backlight or LED device: '%s:%s'", ss, sysname);
322 device = udev_device_new_from_subsystem_sysname(udev, ss, sysname);
325 log_error_errno(errno, "Failed to get backlight or LED device '%s:%s': %m", ss, sysname);
346 escaped_sysname = cescape(sysname);