Searched refs:driver (Results 1 - 10 of 10) sorted by relevance

/systemd/src/udev/
H A Dudev-builtin-net_setup_link.c28 _cleanup_free_ char *driver = NULL; local
38 r = link_get_driver(ctx, dev, &driver);
40 udev_builtin_add_property(dev, test, "ID_NET_DRIVER", driver);
H A Dudev-builtin-usb_id.c247 const char *driver = NULL; local
276 driver = udev_device_get_sysattr_value(dev_interface, "driver");
463 if (driver != NULL)
464 udev_builtin_add_property(dev, test, "ID_USB_DRIVER", driver);
H A Dudev-event.c109 { .name = "driver", .fmt = 'd', .type = SUBST_DRIVER },
221 const char *driver; local
226 driver = udev_device_get_driver(event->dev_parent);
227 if (driver == NULL)
229 l = strpcpy(&s, l, driver);
/systemd/src/libsystemd/sd-device/
H A Dsd-device.c78 free(device->driver);
285 char *driver; local
288 driver = strchr(subsys, ':');
289 if (driver) {
290 driver[0] = '\0';
291 driver++;
293 syspath = strjoina("/sys/subsystem/", subsys, "/drivers/", driver);
297 syspath = strjoina("/sys/bus/", subsys, "/drivers/", driver);
876 _cleanup_free_ char *driver = NULL; local
882 driver
904 _cleanup_free_ char *driver = NULL; local
[all...]
H A Ddevice-internal.h79 char *driver; member in struct:sd_device
80 bool driver_set; /* don't reread driver */
/systemd/src/udev/net/
H A Dlink-config.c483 char *driver = NULL; local
490 r = ethtool_get_driver(&ctx->ethtool_fd, name, &driver);
494 *ret = driver;
H A Dethtool-util.c85 d = strdup(ecmd.driver);
/systemd/src/libudev/
H A Dlibudev-device.c119 * Get the kernel driver name.
121 * Returns: the driver name string, or #NULL if there is no driver attached.
125 const char *driver; local
130 r = sd_device_get_driver(udev_device->device, &driver);
136 return driver;
312 * +sound:card29 - kernel driver core subsystem:device name
/systemd/src/network/
H A Dnetworkctl.c512 const char *driver = NULL, *path = NULL, *vendor = NULL, *model = NULL, *link = NULL; local
589 (void) sd_device_get_property_value(d, "ID_NET_DRIVER", &driver);
622 if (driver)
623 printf(" Driver: %s\n", driver);
H A Dnetworkd-network.c306 const char *path = NULL, *parent_driver = NULL, *driver = NULL, *devtype = NULL; local
318 driver = udev_device_get_property_value(device, "ID_NET_DRIVER");
329 address, path, parent_driver, driver,

Completed in 621 milliseconds