Lines Matching defs:dev
35 static int install_force_release(struct udev_device *dev, const unsigned *release, unsigned release_count) {
44 assert(dev);
47 atkbd = udev_device_get_parent_with_subsystem_devtype(dev, "serio", NULL);
156 static void set_trackpoint_sensitivity(struct udev_device *dev, const char *value)
162 assert(dev);
166 pdev = udev_device_get_parent_with_subsystem_devtype(dev, "serio", NULL);
168 log_warning("Failed to get serio parent for '%s'", udev_device_get_devnode(dev));
174 log_error("Unable to parse POINTINGSTICK_SENSITIVITY '%s' for '%s'", value, udev_device_get_devnode(dev));
195 static int builtin_keyboard(struct udev_device *dev, int argc, char *argv[], bool test) {
202 node = udev_device_get_devnode(dev);
204 log_error("No device node for \"%s\"", udev_device_get_syspath(dev));
208 udev_list_entry_foreach(entry, udev_device_get_properties_list_entry(dev)) {
263 set_trackpoint_sensitivity(dev, udev_list_entry_get_value(entry));
268 install_force_release(dev, release, release_count);