Lines Matching refs:code

29  * @code: the value code
34 __u16 code;
49 * @uniq: unique identification code for the device (if device has it)
78 * @repeat_key: stores key code of the last key pressed; used to implement
188 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
314 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
317 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
420 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
421 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value);
423 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value)
425 input_event(dev, EV_KEY, code, !!value);
428 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value)
430 input_event(dev, EV_REL, code, value);
433 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value)
435 input_event(dev, EV_ABS, code, value);
438 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value)
440 input_event(dev, EV_FF_STATUS, code, value);
443 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value)
445 input_event(dev, EV_SW, code, !!value);
458 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
571 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);