Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/hid/
Dhidparse.c26 const struct hid_usage_pages_string *upage, const int type);
393 const struct hid_usage_pages_string *upage, const int type) in hid_get_usage_type() argument
395 if (unlikely(upage == NULL || upage->types == NULL)) in hid_get_usage_type()
400 struct hid_usage_types_string *types = upage->types; in hid_get_usage_type()
420 const struct hid_usage_pages_string *upage = hid_get_usage_page(u_page); in hid_get_usage_page_str() local
421 if (unlikely(upage == NULL)) in hid_get_usage_page_str()
426 return upage->string; in hid_get_usage_page_str()
438 const struct hid_usage_pages_string *upage = hid_get_usage_page(page); in hid_get_usage_type_str() local
439 if (unlikely(upage == NULL)) in hid_get_usage_type_str()
462 const struct hid_usage_types_string *usage_type = hid_get_usage_type(upage, type); in hid_get_usage_type_str()
[all …]