Searched refs:pdev (Results 1 - 2 of 2) sorted by relevance

/systemd/src/udev/
H A Dudev-builtin-input_id.c82 struct udev_device *pdev, const char* attr,
91 v = udev_device_get_sysattr_value(pdev, attr);
285 struct udev_device *pdev; local
299 pdev = dev;
300 while (pdev != NULL && udev_device_get_sysattr_value(pdev, "capabilities/ev") == NULL)
301 pdev = udev_device_get_parent_with_subsystem_devtype(pdev, "input", NULL);
303 if (pdev) {
307 get_cap_mask(dev, pdev, "capabilitie
81 get_cap_mask(struct udev_device *dev, struct udev_device *pdev, const char* attr, unsigned long *bitmask, size_t bitmask_size, bool test) argument
[all...]
H A Dudev-builtin-keyboard.c158 struct udev_device *pdev; local
166 pdev = udev_device_get_parent_with_subsystem_devtype(dev, "serio", NULL);
167 if (!pdev) {
180 r = udev_device_set_sysattr_value(pdev, "sensitivity", val_s);
182 log_error_errno(r, "Failed to write 'sensitivity' attribute for '%s': %m", udev_device_get_devnode(pdev));

Completed in 346 milliseconds