Lines Matching refs:code
34 __u16 code; member
188 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
319 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
322 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
434 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
435 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu…
437 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument
439 input_event(dev, EV_KEY, code, !!value); in input_report_key()
442 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument
444 input_event(dev, EV_REL, code, value); in input_report_rel()
447 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value) in input_report_abs() argument
449 input_event(dev, EV_ABS, code, value); in input_report_abs()
452 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) in input_report_ff_status() argument
454 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status()
457 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value) in input_report_switch() argument
459 input_event(dev, EV_SW, code, !!value); in input_report_switch()
472 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
585 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);