Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H 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()
/openbmc/linux/drivers/input/misc/
H A Duinput.c527 struct uinput_user_dev *user_dev; in uinput_setup_device_legacy() local
544 if (IS_ERR(user_dev)) in uinput_setup_device_legacy()
545 return PTR_ERR(user_dev); in uinput_setup_device_legacy()
547 udev->ff_effects_max = user_dev->ff_effects_max; in uinput_setup_device_legacy()
550 if (!user_dev->name[0]) { in uinput_setup_device_legacy()
563 dev->id.bustype = user_dev->id.bustype; in uinput_setup_device_legacy()
564 dev->id.vendor = user_dev->id.vendor; in uinput_setup_device_legacy()
565 dev->id.product = user_dev->id.product; in uinput_setup_device_legacy()
566 dev->id.version = user_dev->id.version; in uinput_setup_device_legacy()
569 input_abs_set_max(dev, i, user_dev->absmax[i]); in uinput_setup_device_legacy()
[all …]