Home
last modified time | relevance | path

Searched refs:usage_size (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.3/kernel/src/driver/hid/
Dhidparse.c95 if (parser->usage_size > 0) in __pop_usage_stack()
97 for (int js = 0; js < parser->usage_size - 1; ++js) in __pop_usage_stack()
100 --parser->usage_size; in __pop_usage_stack()
157 parser->usage_table[parser->usage_size].u_page = parser->u_page; in hid_parse()
158 parser->usage_table[parser->usage_size].usage = 0xff; in hid_parse()
163 parser->usage_table[parser->usage_size].u_page = (int)(parser->value >> 16); in hid_parse()
165 parser->usage_table[parser->usage_size].u_page = parser->u_page; in hid_parse()
170 ++parser->usage_size; in hid_parse()
/DragonOS-0.1.3/kernel/src/common/
Dhid.h142 int usage_size; // usage的数量 member