Home
last modified time | relevance | path

Searched full:usage (Results 1 – 25 of 3669) sorted by relevance

12345678910>>...147

/kernel/liteos_a/kernel/include/
Dlos_cpup.h33 * @defgroup los_cpup CPU usage
52 * CPU usage error code: The request for memory fails.
62 * CPU usage error code: The pointer to an input parameter is error.
72 * CPU usage error code: The CPU usage is not initialized.
76 * Solution: Check whether the CPU usage is initialized.
82 * CPU usage error code: The target cpup is not created.
92 * CPU usage error code: The target cpup ID is invalid.
120 * Count the CPU usage structures of all cpup.
124 UINT32 usage; /**< Usage. The value range is [0, LOS_CPUP_SINGLE_CORE_PRECISION]. */ member
129 * Query the CPU usage of the system.
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-uclogic-rdesc.c23 0x05, 0x0D, /* Usage Page (Digitizer), */
24 0x09, 0x02, /* Usage (Pen), */
27 0x09, 0x20, /* Usage (Stylus), */
30 0x09, 0x42, /* Usage (Tip Switch), */
31 0x09, 0x44, /* Usage (Barrel Switch), */
32 0x09, 0x46, /* Usage (Tablet Pick), */
43 0x05, 0x01, /* Usage Page (Desktop), */
47 0x09, 0x30, /* Usage (X), */
51 0x09, 0x31, /* Usage (Y), */
56 0x09, 0x30, /* Usage (Tip Pressure), */
[all …]
Dhid-kye.c24 0x06, 0x00, 0xFF, /* Usage Page (FF00h), */
25 0x09, 0x01, /* Usage (01h), */
28 0x09, 0x01, /* Usage (01h), */
35 0x05, 0x0D, /* Usage Page (Digitizer), */
36 0x09, 0x02, /* Usage (Pen), */
39 0x09, 0x20, /* Usage (Stylus), */
44 0x09, 0x42, /* Usage (Tip Switch), */
45 0x09, 0x44, /* Usage (Barrel Switch), */
46 0x09, 0x46, /* Usage (Tablet Pick), */
51 0x09, 0x32, /* Usage (In Range), */
[all …]
Dhid-waltop.c47 0x05, 0x0D, /* Usage Page (Digitizer), */
48 0x09, 0x02, /* Usage (Pen), */
51 0x09, 0x20, /* Usage (Stylus), */
53 0x09, 0x42, /* Usage (Tip Switch), */
54 0x09, 0x44, /* Usage (Barrel Switch), */
55 0x09, 0x46, /* Usage (Tablet Pick), */
61 0x09, 0x32, /* Usage (In Range), */
73 0x05, 0x01, /* Usage Page (Desktop), */
77 0x09, 0x30, /* Usage (X), */
81 0x09, 0x31, /* Usage (Y), */
[all …]
Dhid-lg.c56 * a custom vendor usage page, providing only a combined value as
62 0x05, 0x01, /* Usage Page (Desktop), */
63 0x09, 0x04, /* Usage (Joystick), */
72 0x09, 0x30, /* Usage (X), */
78 0x05, 0x09, /* Usage (Buttons), */
79 0x19, 0x01, /* Usage Minimum (1), */
80 0x29, 0x0c, /* Usage Maximum (12), */
83 0x06, 0x00, 0xFF, /* Usage Page (Vendor: 65280), */
84 0x09, 0x01, /* Usage (?: 1), */
86 0x05, 0x01, /* Usage Page (Desktop), */
[all …]
Dhid-input.c51 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
52 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
53 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))
54 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))
56 #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \
58 #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \
61 static bool match_scancode(struct hid_usage *usage, in match_scancode() argument
64 return (usage->hid & (HID_USAGE_PAGE | HID_USAGE)) == scancode; in match_scancode()
67 static bool match_keycode(struct hid_usage *usage, in match_keycode() argument
73 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode()
[all …]
Dhid-bigbenff.c25 * 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
26 * 0x09, 0x05, // Usage (Game Pad)
34 * 0x05, 0x09, // Usage Page (Button)
35 * 0x19, 0x01, // Usage Minimum (0x01)
36 * 0x29, 0x0D, // Usage Maximum (0x0D)
40 * 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
46 * 0x09, 0x39, // Usage (Hat switch)
53 * 0x09, 0x30, // Usage (X)
54 * 0x09, 0x31, // Usage (Y)
55 * 0x09, 0x32, // Usage (Z)
[all …]
Dhid-maltron.c26 0x05, 0x01, /* Usage Page (Generic Desktop Ctrls) */
27 0x09, 0x80, /* Usage (Sys Control) */
34 0x09, 0x82, /* Usage (Sys Sleep) */
36 0x09, 0x82, /* Usage (Sys Sleep) */
38 0x09, 0x83, /* Usage (Sys Wake Up) */
43 0x05, 0x0C, /* Usage Page (Consumer) */
44 0x09, 0x01, /* Usage (Consumer Control) */
49 0x19, 0x00, /* Usage Minimum (Unassigned) */
50 0x2A, 0xFF, 0x7F, /* Usage Maximum (0x7FFF) */
53 0x06, 0x7F, 0xFF, /* Usage Page (Vendor Defined 0xFF7F) */
[all …]
Dhid-holtek-kbd.c23 * doesn't have an LED output usage block.
26 * and provides an LED output usage block. LED output events are redirected
32 0x05, 0x01, /* Usage Page (Desktop), */
33 0x09, 0x80, /* Usage (Sys Control), */
36 0x19, 0x81, /* Usage Minimum (Sys Power Down), */
37 0x29, 0x83, /* Usage Maximum (Sys Wake Up), */
47 0x05, 0x0C, /* Usage Page (Consumer), */
48 0x09, 0x01, /* Usage (Consumer Control), */
51 0x19, 0x00, /* Usage Minimum (00h), */
52 0x2A, 0xFF, 0x2F, /* Usage Maximum (0x2FFF), previously 0x7FFF */
[all …]
/kernel/liteos_m/components/cpup/
Dlos_cpup.h33 * @defgroup los_cpup CPU usage
52 * CPU usage error code: The request for memory fails.
62 * CPU usage error code: The pointer to an input parameter is NULL.
72 * CPU usage error code: The CPU usage is not initialized.
76 * Solution: Check whether the CPU usage is initialized.
82 * CPU usage error code: The number of threads is invalid.
92 * CPU usage error code: The target thread is not created.
102 * CPU usage error code: The target task ID is invalid.
130 * Count the CPU usage structures of a task.
184 * Count the CPU usage structures of all tasks.
[all …]
/kernel/linux/linux-4.19/drivers/hid/
Dhid-waltop.c50 0x05, 0x0D, /* Usage Page (Digitizer), */
51 0x09, 0x02, /* Usage (Pen), */
54 0x09, 0x20, /* Usage (Stylus), */
56 0x09, 0x42, /* Usage (Tip Switch), */
57 0x09, 0x44, /* Usage (Barrel Switch), */
58 0x09, 0x46, /* Usage (Tablet Pick), */
64 0x09, 0x32, /* Usage (In Range), */
76 0x05, 0x01, /* Usage Page (Desktop), */
80 0x09, 0x30, /* Usage (X), */
84 0x09, 0x31, /* Usage (Y), */
[all …]
Dhid-kye.c27 0x06, 0x00, 0xFF, /* Usage Page (FF00h), */
28 0x09, 0x01, /* Usage (01h), */
31 0x09, 0x01, /* Usage (01h), */
38 0x05, 0x0D, /* Usage Page (Digitizer), */
39 0x09, 0x02, /* Usage (Pen), */
42 0x09, 0x20, /* Usage (Stylus), */
47 0x09, 0x42, /* Usage (Tip Switch), */
48 0x09, 0x44, /* Usage (Barrel Switch), */
49 0x09, 0x46, /* Usage (Tablet Pick), */
54 0x09, 0x32, /* Usage (In Range), */
[all …]
Dhid-lg.c58 * a custom vendor usage page, providing only a combined value as
64 0x05, 0x01, /* Usage Page (Desktop), */
65 0x09, 0x04, /* Usage (Joystick), */
74 0x09, 0x30, /* Usage (X), */
80 0x05, 0x09, /* Usage (Buttons), */
81 0x19, 0x01, /* Usage Minimum (1), */
82 0x29, 0x0c, /* Usage Maximum (12), */
85 0x06, 0x00, 0xFF, /* Usage Page (Vendor: 65280), */
86 0x09, 0x01, /* Usage (?: 1), */
88 0x05, 0x01, /* Usage Page (Desktop), */
[all …]
Dhid-uclogic.c29 0x05, 0x0D, /* Usage Page (Digitizer), */
30 0x09, 0x02, /* Usage (Pen), */
33 0x09, 0x20, /* Usage (Stylus), */
36 0x09, 0x42, /* Usage (Tip Switch), */
37 0x09, 0x44, /* Usage (Barrel Switch), */
38 0x09, 0x46, /* Usage (Tablet Pick), */
49 0x05, 0x01, /* Usage Page (Desktop), */
53 0x09, 0x30, /* Usage (X), */
57 0x09, 0x31, /* Usage (Y), */
62 0x09, 0x30, /* Usage (Tip Pressure), */
[all …]
Dhid-input.c63 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
64 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
65 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))
66 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))
68 #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \
70 #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \
73 static bool match_scancode(struct hid_usage *usage, in match_scancode() argument
76 return (usage->hid & (HID_USAGE_PAGE | HID_USAGE)) == scancode; in match_scancode()
79 static bool match_keycode(struct hid_usage *usage, in match_keycode() argument
85 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode()
[all …]
Dhid-holtek-kbd.c26 * doesn't have an LED output usage block.
29 * and provides an LED output usage block. LED output events are redirected
35 0x05, 0x01, /* Usage Page (Desktop), */
36 0x09, 0x80, /* Usage (Sys Control), */
39 0x19, 0x81, /* Usage Minimum (Sys Power Down), */
40 0x29, 0x83, /* Usage Maximum (Sys Wake Up), */
50 0x05, 0x0C, /* Usage Page (Consumer), */
51 0x09, 0x01, /* Usage (Consumer Control), */
54 0x19, 0x00, /* Usage Minimum (00h), */
55 0x2A, 0xFF, 0x2F, /* Usage Maximum (0x2FFF), previously 0x7FFF */
[all …]
Dhid-microsoft.c40 * 'Usage Min/Max' where it ought to have 'Physical Min/Max' in ms_report_fixup()
51 #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
53 static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage, in ms_ergonomy_kb_quirk() argument
58 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { in ms_ergonomy_kb_quirk()
59 switch (usage->hid & HID_USAGE) { in ms_ergonomy_kb_quirk()
61 * Microsoft uses these 2 reserved usage ids for 2 keys on in ms_ergonomy_kb_quirk()
74 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) in ms_ergonomy_kb_quirk()
77 switch (usage->hid & HID_USAGE) { in ms_ergonomy_kb_quirk()
88 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); in ms_ergonomy_kb_quirk()
94 * (this usage is found on interface 1). in ms_ergonomy_kb_quirk()
[all …]
/kernel/linux/linux-5.10/drivers/hid/i2c-hid/
Di2c-hid-dmi-quirks.c57 {0x05, 0x01, /* Usage Page (Desktop), */
58 0x09, 0x02, /* Usage (Mouse), */
61 0x09, 0x01, /* Usage (Pointer), */
63 0x05, 0x09, /* Usage Page (Button), */
64 0x19, 0x01, /* Usage Minimum (01h), */
65 0x29, 0x02, /* Usage Maximum (02h), */
72 0x05, 0x01, /* Usage Page (Desktop), */
73 0x09, 0x30, /* Usage (X), */
74 0x09, 0x31, /* Usage (Y), */
82 0x05, 0x0D, /* Usage Page (Digitizer), */
[all …]
/kernel/linux/linux-4.19/drivers/hid/i2c-hid/
Di2c-hid-dmi-quirks.c57 {0x05, 0x01, /* Usage Page (Desktop), */
58 0x09, 0x02, /* Usage (Mouse), */
61 0x09, 0x01, /* Usage (Pointer), */
63 0x05, 0x09, /* Usage Page (Button), */
64 0x19, 0x01, /* Usage Minimum (01h), */
65 0x29, 0x02, /* Usage Maximum (02h), */
72 0x05, 0x01, /* Usage Page (Desktop), */
73 0x09, 0x30, /* Usage (X), */
74 0x09, 0x31, /* Usage (Y), */
82 0x05, 0x0D, /* Usage Page (Digitizer), */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dqcom,pcie.txt4 Usage: required
18 Usage: required
23 Usage: required
32 Usage: required
37 Usage: required
42 Usage: required
47 Usage: required
52 Usage: required
57 Usage: required
62 Usage: required
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dqcom,wcd9335.txt12 Usage: required
22 Usage: required
27 Usage: required
32 Usage: required
38 Usage: required
43 Usage: required
48 Usage: required
54 Usage: required
59 Usage: required
64 Usage: required
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
Dqcom,wcd9335.txt12 Usage: required
22 Usage: required
27 Usage: required
32 Usage: required
38 Usage: required
43 Usage: required
48 Usage: required
54 Usage: required
59 Usage: required
64 Usage: required
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/pci/
Dqcom,pcie.txt4 Usage: required
15 Usage: required
20 Usage: required
29 Usage: required
34 Usage: required
39 Usage: required
44 Usage: required
49 Usage: required
54 Usage: required
59 Usage: required
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dqcom,mdm9615-pinctrl.txt7 Usage: required
12 Usage: required
17 Usage: required
22 Usage: required
27 Usage: required
33 Usage: required
38 Usage: required
44 Usage: required
48 Usage: optional
81 Usage: required
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/
Dqcom,mdm9615-pinctrl.txt7 Usage: required
12 Usage: required
17 Usage: required
22 Usage: required
27 Usage: required
33 Usage: required
38 Usage: required
44 Usage: required
48 Usage: optional
81 Usage: required
[all …]

12345678910>>...147