Searched refs:parser (Results 1 – 2 of 2) sorted by relevance
17 static void hid_reset_parser(struct hid_parser *parser);22 static int *__get_report_offset(struct hid_parser *parser, const uint8_t report_id, const uint8_t r…81 static void hid_reset_parser(struct hid_parser *parser) in hid_reset_parser() argument83 memset(parser, 0, sizeof(struct hid_parser)); in hid_reset_parser()84 parser->data.report_id = 1; // we must give it a non-zero value or the parser doesn't work in hid_reset_parser()93 static __always_inline void __pop_usage_stack(struct hid_parser *parser) in __pop_usage_stack() argument95 if (parser->usage_size > 0) in __pop_usage_stack()97 for (int js = 0; js < parser->usage_size - 1; ++js) in __pop_usage_stack()98 … memmove(&parser->usage_table[js], &parser->usage_table[js + 1], sizeof(struct hid_node_t)); in __pop_usage_stack()100 --parser->usage_size; in __pop_usage_stack()[all …]
2 myst-parser