/drivers/hid/ |
D | uhid.c | 407 __u8 uniq[64]; member 455 memcpy(event->u.create.uniq, compat->uniq, in uhid_event_from_user() 456 sizeof(compat->uniq)); in uhid_event_from_user() 522 len = min(sizeof(hid->uniq), sizeof(ev->u.create2.uniq)) - 1; in uhid_dev_create2() 523 strncpy(hid->uniq, ev->u.create2.uniq, len); in uhid_dev_create2() 566 memcpy(ev->u.create2.uniq, orig.uniq, sizeof(orig.uniq)); in uhid_dev_create()
|
D | hid-steelseries.c | 266 name_sz = strlen(hdev->uniq) + 16; in steelseries_srws1_probe() 276 snprintf(name, name_sz, "SRWS1::%s::RPMALL", hdev->uniq); in steelseries_srws1_probe() 297 snprintf(name, name_sz, "SRWS1::%s::RPM%d", hdev->uniq, i+1); in steelseries_srws1_probe()
|
D | hid-sony.c | 1382 sc->touchpad->uniq = sc->hdev->uniq; in sony_register_touchpad() 1446 sc->sensor_dev->uniq = sc->hdev->uniq; in sony_register_sensors() 2442 ret = strlen(sc->hdev->uniq); in sony_get_bt_devaddr() 2446 ret = sscanf(sc->hdev->uniq, in sony_get_bt_devaddr() 2498 snprintf(sc->hdev->uniq, sizeof(sc->hdev->uniq), in sony_check_add() 2528 snprintf(sc->hdev->uniq, sizeof(sc->hdev->uniq), in sony_check_add()
|
D | hid-elan.c | 171 input->uniq = hdev->uniq; in elan_input_configured()
|
D | hid-udraw-ps3.c | 292 input_dev->uniq = hdev->uniq; in allocate_and_setup()
|
D | hidraw.c | 459 int len = strlen(hid->uniq) + 1; in hidraw_ioctl() 462 ret = copy_to_user(user_arg, hid->uniq, len) ? in hidraw_ioctl()
|
D | hid-logitech-hidpp.c | 824 snprintf(hdev->uniq, sizeof(hdev->uniq), "%4phD", &serial); in hidpp_unifying_init() 825 dbg_hid("HID++ Unifying: Got serial: %s\n", hdev->uniq); in hidpp_unifying_init() 959 snprintf(hdev->uniq, sizeof(hdev->uniq), "%4phD", &serial); in hidpp_serial_init() 960 dbg_hid("HID++ DeviceInformation: Got serial: %s\n", hdev->uniq); in hidpp_serial_init() 1469 val->strval = hidpp->hid_dev->uniq; in hidpp_battery_get_property() 3598 input_dev->uniq = hdev->uniq; in hidpp_allocate_input()
|
D | hid-picolcd_core.c | 432 idev->uniq = hdev->uniq; in picolcd_init_keys()
|
D | hid-playstation.c | 377 input_dev->uniq = hdev->uniq; in ps_allocate_input_dev() 1363 snprintf(hdev->uniq, sizeof(hdev->uniq), "%pMR", ds->base.mac_address); in dualsense_create()
|
D | hid-input.c | 462 strlen(dev->uniq) ? in hidinput_setup_battery() 463 dev->uniq : dev_name(&dev->dev)); in hidinput_setup_battery() 1769 input_dev->uniq = hid->uniq; in hidinput_allocate()
|
D | hid-lg-g15.c | 820 input->uniq = hdev->uniq; in lg_g15_probe()
|
D | hid-asus.c | 658 strlen(hdev->uniq) ? in asus_battery_probe() 659 hdev->uniq : dev_name(&hdev->dev)); in asus_battery_probe()
|
D | wacom_sys.c | 2062 input_dev->uniq = hdev->uniq; in wacom_allocate_input() 2626 remote->remotes[index].input->uniq = remote->remotes[index].group.name; in wacom_remote_create_one()
|
D | hid-steam.c | 420 input->uniq = steam->serial_no; in steam_input_register()
|
D | hid-core.c | 2382 if (add_uevent_var(env, "HID_UNIQ=%s", hdev->uniq)) in hid_uevent()
|
D | hid-wiimote-modules.c | 246 wdata->hdev->uniq); in wiimod_battery_probe()
|
/drivers/input/ |
D | input.c | 1186 seq_printf(seq, "U: Uniq=%s\n", dev->uniq ? dev->uniq : ""); in input_devices_seq_show() 1353 INPUT_DEV_STRING_ATTR_SHOW(uniq); 1635 if (dev->uniq) in input_dev_uevent() 1636 INPUT_ADD_HOTPLUG_VAR("UNIQ=\"%s\"", dev->uniq); in input_dev_uevent()
|
D | evdev.c | 1177 return str_to_user(dev->uniq, size, p); in evdev_do_ioctl()
|
/drivers/virtio/ |
D | virtio_input.c | 253 vi->idev->uniq = vi->serial; in virtinput_probe()
|
/drivers/hid/usbhid/ |
D | hid-core.c | 1398 if (usb_string(dev, dev->descriptor.iSerialNumber, hid->uniq, 64) <= 0) in usbhid_probe() 1399 hid->uniq[0] = 0; in usbhid_probe()
|
/drivers/md/ |
D | dm-writecache.c | 45 typeof(dest) uniq = (src); \ 46 memcpy_flushcache(&(dest), &uniq, sizeof(dest)); \
|