Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hid/
Duhid.c480 rd_size = ev->u.create2.rd_size; in uhid_dev_create2()
484 rd_data = kmemdup(ev->u.create2.rd_data, rd_size, GFP_KERNEL); in uhid_dev_create2()
498 len = min(sizeof(hid->name), sizeof(ev->u.create2.name)) - 1; in uhid_dev_create2()
499 strncpy(hid->name, ev->u.create2.name, len); in uhid_dev_create2()
500 len = min(sizeof(hid->phys), sizeof(ev->u.create2.phys)) - 1; in uhid_dev_create2()
501 strncpy(hid->phys, ev->u.create2.phys, len); in uhid_dev_create2()
502 len = min(sizeof(hid->uniq), sizeof(ev->u.create2.uniq)) - 1; in uhid_dev_create2()
503 strncpy(hid->uniq, ev->u.create2.uniq, len); in uhid_dev_create2()
506 hid->bus = ev->u.create2.bus; in uhid_dev_create2()
507 hid->vendor = ev->u.create2.vendor; in uhid_dev_create2()
[all …]
/Linux-v5.4/include/uapi/linux/
Duhid.h192 struct uhid_create2_req create2; member
/Linux-v5.4/Documentation/hid/
Duhid.rst31 struct uhid_create2_req create2;