Searched refs:create2 (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/hid/ |
D | uhid.c | 500 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() 518 len = min(sizeof(hid->name), sizeof(ev->u.create2.name)) - 1; in uhid_dev_create2() 519 strncpy(hid->name, ev->u.create2.name, len); in uhid_dev_create2() 520 len = min(sizeof(hid->phys), sizeof(ev->u.create2.phys)) - 1; in uhid_dev_create2() 521 strncpy(hid->phys, ev->u.create2.phys, len); in uhid_dev_create2() 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() 526 hid->bus = ev->u.create2.bus; in uhid_dev_create2() 527 hid->vendor = ev->u.create2.vendor; in uhid_dev_create2() [all …]
|
/Linux-v6.6/include/uapi/linux/ |
D | uhid.h | 192 struct uhid_create2_req create2; member
|
/Linux-v6.6/Documentation/hid/ |
D | uhid.rst | 31 struct uhid_create2_req create2;
|