Home
last modified time | relevance | path

Searched refs:create2 (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hid/
H A Duhid.c500 rd_size = ev->u.create2.rd_size; in uhid_dev_create2()
504 rd_data = kmemdup(ev->u.create2.rd_data, rd_size, GFP_KERNEL); in uhid_dev_create2()
517 BUILD_BUG_ON(sizeof(hid->name) != sizeof(ev->u.create2.name)); in uhid_dev_create2()
518 strscpy(hid->name, ev->u.create2.name, sizeof(hid->name)); in uhid_dev_create2()
519 BUILD_BUG_ON(sizeof(hid->phys) != sizeof(ev->u.create2.phys)); in uhid_dev_create2()
520 strscpy(hid->phys, ev->u.create2.phys, sizeof(hid->phys)); in uhid_dev_create2()
521 BUILD_BUG_ON(sizeof(hid->uniq) != sizeof(ev->u.create2.uniq)); in uhid_dev_create2()
522 strscpy(hid->uniq, ev->u.create2.uniq, sizeof(hid->uniq)); in uhid_dev_create2()
525 hid->bus = ev->u.create2.bus; in uhid_dev_create2()
526 hid->vendor = ev->u.create2.vendor; in uhid_dev_create2()
[all …]
/linux/include/uapi/linux/
H A Duhid.h192 struct uhid_create2_req create2; member
/linux/Documentation/hid/
H A Duhid.rst31 struct uhid_create2_req create2;