Home
last modified time | relevance | path

Searched refs:user_dev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/leds/
A Duleds.c28 struct uleds_user_dev user_dev; member
60 udev->led_cdev.name = udev->user_dev.name; in uleds_open()
97 if (copy_from_user(&udev->user_dev, buffer, in uleds_write()
103 name = udev->user_dev.name; in uleds_write()
110 if (udev->user_dev.max_brightness <= 0) { in uleds_write()
114 udev->led_cdev.max_brightness = udev->user_dev.max_brightness; in uleds_write()
/linux/drivers/input/misc/
A Duinput.c512 struct uinput_user_dev *user_dev; in uinput_setup_device_legacy() local
529 if (IS_ERR(user_dev)) in uinput_setup_device_legacy()
530 return PTR_ERR(user_dev); in uinput_setup_device_legacy()
532 udev->ff_effects_max = user_dev->ff_effects_max; in uinput_setup_device_legacy()
535 if (!user_dev->name[0]) { in uinput_setup_device_legacy()
548 dev->id.bustype = user_dev->id.bustype; in uinput_setup_device_legacy()
549 dev->id.vendor = user_dev->id.vendor; in uinput_setup_device_legacy()
550 dev->id.product = user_dev->id.product; in uinput_setup_device_legacy()
551 dev->id.version = user_dev->id.version; in uinput_setup_device_legacy()
554 input_abs_set_max(dev, i, user_dev->absmax[i]); in uinput_setup_device_legacy()
[all …]

Completed in 13 milliseconds