Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/hid/
Dhidparse.c502 while ((pos < HID_MAX_REPORT) && (parser->offset_table[pos][0] != 0)) // 当offset的id不为0时 in __get_report_offset()
504 … if ((parser->offset_table[pos][0] == report_id) && (parser->offset_table[pos][1] == report_type)) in __get_report_offset()
505 return &parser->offset_table[pos][2]; in __get_report_offset()
512 parser->offset_table[pos][0] = report_id; in __get_report_offset()
513 parser->offset_table[pos][1] = report_type; in __get_report_offset()
514 parser->offset_table[pos][2] = 0; in __get_report_offset()
515 return &parser->offset_table[pos][2]; in __get_report_offset()
/DragonOS-0.1.7/kernel/src/common/
Dhid.h136 int offset_table[HID_MAX_REPORT][3]; // 存储 hid report的ID、type、offset member