Lines Matching refs:code
35 __u16 code; member
189 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
321 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
324 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
439 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
440 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu…
442 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument
444 input_event(dev, EV_KEY, code, !!value); in input_report_key()
447 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument
449 input_event(dev, EV_REL, code, value); in input_report_rel()
452 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value) in input_report_abs() argument
454 input_event(dev, EV_ABS, code, value); in input_report_abs()
457 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) in input_report_ff_status() argument
459 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status()
462 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value) in input_report_switch() argument
464 input_event(dev, EV_SW, code, !!value); in input_report_switch()
477 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
591 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);