Lines Matching defs:code
42 static int uinput_dev_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
47 udev->buff[udev->head].code = code;
121 uinput_dev_event(udev->dev, EV_UINPUT, request->code, request->id);
184 request.code = UI_FF_UPLOAD;
208 request.code = UI_FF_ERASE;
434 input_event(udev->dev, ev.type, ev.code, ev.value);
714 if (!req || req->code != UI_FF_UPLOAD || !req->u.upload.effect) {
736 if (!req || req->code != UI_FF_ERASE) {
756 if (!req || req->code != UI_FF_UPLOAD ||
773 if (!req || req->code != UI_FF_ERASE) {