Lines Matching defs:id
59 int id;
64 for (id = 0; id < UINPUT_NUM_REQUESTS; id++)
65 if (!udev->requests[id]) {
66 request->id = id;
67 udev->requests[id] = request;
76 static struct uinput_request* uinput_request_find(struct uinput_device *udev, int id)
79 if (id >= UINPUT_NUM_REQUESTS || id < 0)
81 return udev->requests[id];
94 udev->requests[request->id] = NULL;
103 uinput_dev_event(dev, EV_UINPUT, request->code, request->id);
130 request.id = -1;
151 request.id = -1;
323 dev->id.bustype = user_dev->id.bustype;
324 dev->id.vendor = user_dev->id.vendor;
325 dev->id.product = user_dev->id.product;
326 dev->id.version = user_dev->id.version;