Lines Matching refs:code
35 __u16 code; member
170 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
288 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
291 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
384 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
385 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu…
387 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument
389 input_event(dev, EV_KEY, code, !!value); in input_report_key()
392 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument
394 input_event(dev, EV_REL, code, value); in input_report_rel()
397 static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value) in input_report_abs() argument
399 input_event(dev, EV_ABS, code, value); in input_report_abs()
402 static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) in input_report_ff_status() argument
404 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status()
407 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value) in input_report_switch() argument
409 input_event(dev, EV_SW, code, !!value); in input_report_switch()
422 void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code);
528 int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);