Lines Matching refs:code
35 __u16 code; member
170 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
292 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
295 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
388 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
389 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu…
391 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument
393 input_event(dev, EV_KEY, code, !!value); in input_report_key()
396 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument
398 input_event(dev, EV_REL, code, value); in input_report_rel()
401 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value) in input_report_abs() argument
403 input_event(dev, EV_ABS, code, value); in input_report_abs()
406 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) in input_report_ff_status() argument
408 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status()
411 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value) in input_report_switch() argument
413 input_event(dev, EV_SW, code, !!value); in input_report_switch()
426 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
535 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);