Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/hid/
Dhidparse.c524 struct hid_data_t found_data = {0}; in __find_object() local
526 while (hid_parse(parser, &found_data)) in __find_object()
528 … kdebug("size=%d, type=%d, report_id=%d, u_page=%d, usage=%d", found_data.size, found_data.type, in __find_object()
529 found_data.report_id, found_data.path.node[0].u_page, found_data.path.node[0].usage); in __find_object()
531 if ((data->path.size > 0) && (found_data.type == data->type) && in __find_object()
532 … (memcmp(found_data.path.node, data->path.node, data->path.size * sizeof(struct hid_node_t)) == 0)) in __find_object()
537 else if ((found_data.report_id == data->report_id) && (found_data.type == data->type) && in __find_object()
538 (found_data.offset == data->offset)) in __find_object()
546 memcpy(data, &found_data, sizeof(struct hid_data_t)); in __find_object()