Home
last modified time | relevance | path

Searched refs:uniq (Results 1 – 21 of 21) sorted by relevance

/drivers/hid/
Duhid.c407 __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()
Dhid-steelseries.c266 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()
Dhid-sony.c1382 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()
Dhid-elan.c171 input->uniq = hdev->uniq; in elan_input_configured()
Dhid-udraw-ps3.c292 input_dev->uniq = hdev->uniq; in allocate_and_setup()
Dhidraw.c459 int len = strlen(hid->uniq) + 1; in hidraw_ioctl()
462 ret = copy_to_user(user_arg, hid->uniq, len) ? in hidraw_ioctl()
Dhid-logitech-hidpp.c824 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()
Dhid-picolcd_core.c432 idev->uniq = hdev->uniq; in picolcd_init_keys()
Dhid-playstation.c377 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()
Dhid-input.c462 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()
Dhid-lg-g15.c820 input->uniq = hdev->uniq; in lg_g15_probe()
Dhid-asus.c658 strlen(hdev->uniq) ? in asus_battery_probe()
659 hdev->uniq : dev_name(&hdev->dev)); in asus_battery_probe()
Dwacom_sys.c2062 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()
Dhid-steam.c420 input->uniq = steam->serial_no; in steam_input_register()
Dhid-core.c2382 if (add_uevent_var(env, "HID_UNIQ=%s", hdev->uniq)) in hid_uevent()
Dhid-wiimote-modules.c246 wdata->hdev->uniq); in wiimod_battery_probe()
/drivers/input/
Dinput.c1186 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()
Devdev.c1177 return str_to_user(dev->uniq, size, p); in evdev_do_ioctl()
/drivers/virtio/
Dvirtio_input.c253 vi->idev->uniq = vi->serial; in virtinput_probe()
/drivers/hid/usbhid/
Dhid-core.c1398 if (usb_string(dev, dev->descriptor.iSerialNumber, hid->uniq, 64) <= 0) in usbhid_probe()
1399 hid->uniq[0] = 0; in usbhid_probe()
/drivers/md/
Ddm-writecache.c45 typeof(dest) uniq = (src); \
46 memcpy_flushcache(&(dest), &uniq, sizeof(dest)); \