Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/driver/hid/
Dhidparse.c31 #define HID_ITEM_MASK 0xFC macro
149 switch (parser->item & HID_ITEM_MASK) in hid_parse()
241 parser->data.type = (uint8_t)(parser->item & HID_ITEM_MASK); in hid_parse()
244 … __get_report_offset(parser, parser->data.report_id, (uint8_t)(parser->item & HID_ITEM_MASK)); in hid_parse()
270 if ((parser->item & HID_ITEM_MASK) == HID_ITEM_FEATURE) in hid_parse()
272 else if ((parser->item & HID_ITEM_MASK) == HID_ITEM_INPUT) in hid_parse()
274 else if ((parser->item & HID_ITEM_MASK) == HID_ITEM_OUTPUT) in hid_parse()
340 printk("\n Found unknown item %#02X\n", parser->item & HID_ITEM_MASK); in hid_parse()