Home
last modified time | relevance | path

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

/openbmc/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()
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 …]
/openbmc/phosphor-logging/test/
H A Dextensions_test.cpp20 void create2(const std::string& /*message*/, uint32_t /*id*/, in create2() function
54 REGISTER_EXTENSION_FUNCTION(create2) in REGISTER_EXTENSION_FUNCTION()
/openbmc/linux/include/uapi/linux/
H A Duhid.h192 struct uhid_create2_req create2; member
/openbmc/linux/Documentation/hid/
H A Duhid.rst31 struct uhid_create2_req create2;