Lines Matching refs:hid_parser
124 static int open_collection(struct hid_parser *parser, unsigned type) in open_collection()
175 static int close_collection(struct hid_parser *parser) in close_collection()
190 static unsigned hid_lookup_collection(struct hid_parser *parser, unsigned type) in hid_lookup_collection()
204 static int hid_add_usage(struct hid_parser *parser, unsigned usage) in hid_add_usage()
223 static int hid_add_field(struct hid_parser *parser, unsigned report_type, unsigned flags) in hid_add_field()
313 static int hid_parser_global(struct hid_parser *parser, struct hid_item *item) in hid_parser_global()
404 static int hid_parser_local(struct hid_parser *parser, struct hid_item *item) in hid_parser_local()
496 static int hid_parser_main(struct hid_parser *parser, struct hid_item *item) in hid_parser_main()
533 static int hid_parser_reserved(struct hid_parser *parser, struct hid_item *item) in hid_parser_reserved()
649 struct hid_parser *parser; in hid_parse_report()
653 static int (*dispatch_type[])(struct hid_parser *parser, in hid_parse_report()
686 if (!(parser = kmalloc(sizeof(struct hid_parser), GFP_KERNEL))) { in hid_parse_report()
692 memset(parser, 0, sizeof(struct hid_parser)); in hid_parse_report()