Home
last modified time | relevance | path

Searched refs:usetup (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/Documentation/input/
Duinput.rst64 struct uinput_setup usetup;
76 memset(&usetup, 0, sizeof(usetup));
77 usetup.id.bustype = BUS_USB;
78 usetup.id.vendor = 0x1234; /* sample vendor */
79 usetup.id.product = 0x5678; /* sample product */
80 strcpy(usetup.name, "Example device");
82 ioctl(fd, UI_DEV_SETUP, &usetup);
126 struct uinput_setup usetup;
139 memset(&usetup, 0, sizeof(usetup));
140 usetup.id.bustype = BUS_USB;
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_trigger.c154 static void usetup(bool use_retprobe, bool use_nop) in usetup() function
186 usetup(false, true); in uprobe_setup_with_nop()
191 usetup(true, true); in uretprobe_setup_with_nop()
196 usetup(false, false); in uprobe_setup_without_nop()
201 usetup(true, false); in uretprobe_setup_without_nop()