Home
last modified time | relevance | path

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

12345678910>>...87

/linux/tools/testing/selftests/hid/tests/
H A Dtest_gamepad.py179 "Device not compatible, missing Hat switch usage",
207 0x05, 0x01, # Usage Page (Generic Desktop) 0
208 0x09, 0x04, # Usage (Joystick) 2
210 0x09, 0x01, # .Usage (Pointer) 6
213 0x09, 0x30, # ..Usage (X) 12
221 0x09, 0x31, # ..Usage (Y) 30
223 0x05, 0x02, # ..Usage Page (Simulation Controls) 34
224 0x09, 0xba, # ..Usage (Rudder) 36
226 0x09, 0xbb, # ..Usage (Throttle) 40
228 0x05, 0x09, # ..Usage Page (Button) 44
[all …]
H A Ddescriptors_wacom.py5 0x05, 0x01, # . Usage Page (Desktop),
6 0x09, 0x02, # . Usage (Mouse),
9 0x09, 0x01, # . Usage (Pointer),
11 0x05, 0x09, # . Usage Page (Button),
12 0x19, 0x01, # . Usage Minimum (01h),
13 0x29, 0x03, # . Usage Maximum (03h),
22 0x05, 0x01, # . Usage Page (Desktop),
23 0x09, 0x30, # . Usage (X),
24 0x09, 0x31, # . Usage (Y),
32 0x06, 0x0D, 0xFF, # . Usage Page (FF0Dh),
[all …]
H A Dtest_ite_keyboard.py32 0x06, 0x85, 0xff, # Usage Page (Vendor Usage Page 0xff85)
33 0x09, 0x95, # Usage (Vendor Usage 0x95) 3
36 0x09, 0x01, # .Usage (Vendor Usage 0x01) 9
43 0x05, 0x01, # Usage Page (Generic Desktop) 23
44 0x09, 0x06, # Usage (Keyboard) 25
49 0x05, 0x07, # .Usage Page (Keyboard) 35
50 0x19, 0xe0, # .Usage Minimum (224) 37
51 0x29, 0xe7, # .Usage Maximum (231) 39
60 0x05, 0x08, # .Usage Page (LEDs) 57
61 0x19, 0x01, # .Usage Minimum (1) 59
[all …]
H A Dtest_hid_core.py39 0x05, 0x01, # .Usage Page (Generic Desktop)
40 0x09, 0x02, # .Usage (Mouse)
42 0x09, 0x02, # ..Usage (Mouse)
44 0x09, 0x01, # ...Usage (Pointer)
46 0x05, 0x09, # ....Usage Page (Button)
47 0x19, 0x01, # ....Usage Minimum (1)
48 0x29, 0x03, # ....Usage Maximum (3)
58 0x09, 0x01, # .....Usage (Pointer)
60 0x09, 0x01, # .....Usage (Pointer)
62 0x09, 0x01, # .....Usage (Pointer)
[all …]
H A Dtest_mouse.py107 0x05, 0x01, # .Usage Page (Generic Desktop) 0
108 0x09, 0x02, # .Usage (Mouse) 2
110 0x09, 0x02, # ..Usage (Mouse) 6
112 0x09, 0x01, # ...Usage (Pointer) 10
114 0x05, 0x09, # ....Usage Page (Button) 14
115 0x19, 0x01, # ....Usage Minimum (1) 16
116 0x29, 0x03, # ....Usage Maximum (3) 18
125 0x05, 0x01, # ....Usage Page (Generic Desktop) 36
126 0x09, 0x30, # ....Usage (X) 38
127 0x09, 0x31, # ....Usage (Y) 40
[all …]
H A Dtest_keyboard.py89 0x05, 0x01, # Usage Page (Generic Desktop)
90 0x09, 0x06, # Usage (Keyboard)
93 0x05, 0x07, # .Usage Page (Keyboard)
94 0x19, 0xe0, # .Usage Minimum (224)
95 0x29, 0xe7, # .Usage Maximum (231)
101 0x19, 0x00, # .Usage Minimum (0)
102 0x29, 0x97, # .Usage Maximum (151)
120 0x05, 0x01, # Usage Page (Generic Desktop)
121 0x09, 0x06, # Usage (Keyboard)
123 0x05, 0x07, # .Usage Page (Keyboard)
[all …]
H A Dtest_apple_keyboard.py28 0x05, 0x01, # Usage Page (Generic Desktop)
29 0x09, 0x06, # Usage (Keyboard)
32 0x05, 0x07, # .Usage Page (Keyboard)
33 0x19, 0xe0, # .Usage Minimum (224)
34 0x29, 0xe7, # .Usage Maximum (231)
45 0x05, 0x08, # .Usage Page (LEDs)
46 0x19, 0x01, # .Usage Minimum (1)
47 0x29, 0x05, # .Usage Maximum (5)
56 0x05, 0x07, # .Usage Page (Keyboard)
57 0x19, 0x00, # .Usage Minimum (0)
[all …]
/linux/drivers/hid/
H A 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 …]
H A Dhid-kye.c26 0x05, 0x0C, /* Usage Page (Consumer), */
27 0x09, 0x01, /* Usage (Consumer Control), */
30 0x0A, 0x45, 0x02, /* Usage (AC Rotate), */
31 0x09, 0x40, /* Usage (Menu), */
32 0x0A, 0x2F, 0x02, /* Usage (AC Zoom), */
33 0x0A, 0x46, 0x02, /* Usage (AC Resize), */
34 0x0A, 0x1A, 0x02, /* Usage (AC Undo), */
35 0x0A, 0x6A, 0x02, /* Usage (AC Delete), */
36 0x0A, 0x24, 0x02, /* Usage (AC Back), */
37 0x0A, 0x25, 0x02, /* Usage (AC Forward), */
[all …]
H A Dhid-sigmamicro.c16 0x05, 0x0c, /* Usage Page (Consumer Devices) 0 */
17 0x09, 0x01, /* Usage (Consumer Control) 2 */
20 0x19, 0x00, /* Usage Minimum (0) 8 */
21 0x2a, 0x3c, 0x02, /* Usage Maximum (572) 10 */
28 0x05, 0x01, /* Usage Page (Generic Desktop) 25 */
29 0x09, 0x80, /* Usage (System Control) 27 */
32 0x19, 0x81, /* Usage Minimum (129) 33 */
33 0x29, 0x83, /* Usage Maximum (131) 35 */
41 0x06, 0x00, 0xff, /* Usage Page (Vendor Defined Page 1) 50 */
42 0x09, 0x01, /* Usage (Vendor Usage 1) 53 */
[all …]
H A 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 …]
H A 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 …]
H A Dhid-samsung.c18 * several key mappings used from the consumer usage page
85 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
88 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_kbd_mouse_input_mapping() argument
94 if (ifnum != 1 || HID_UP_CONSUMER != (usage->hid & HID_USAGE_PAGE)) in samsung_kbd_mouse_input_mapping()
98 usage->hid & HID_USAGE); in samsung_kbd_mouse_input_mapping()
100 switch (usage->hid & HID_USAGE) { in samsung_kbd_mouse_input_mapping()
143 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_kbd_input_mapping() argument
146 if (!(HID_UP_CONSUMER == (usage->hid & HID_USAGE_PAGE) || in samsung_kbd_input_mapping()
147 HID_UP_KEYBOARD == (usage->hid & HID_USAGE_PAGE))) in samsung_kbd_input_mapping()
151 usage->hid & HID_USAGE); in samsung_kbd_input_mapping()
[all …]
H A 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 …]
H A Dhid-a4tech.c35 struct hid_field *field, struct hid_usage *usage, in a4_input_mapping() argument
41 usage->hid == A4_WHEEL_ORIENTATION) { in a4_input_mapping()
43 * We do not want to have this usage mapped to anything as it's in a4_input_mapping()
57 struct hid_field *field, struct hid_usage *usage, in a4_input_mapped() argument
62 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { in a4_input_mapped()
67 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) in a4_input_mapped()
74 struct hid_usage *usage, __s32 value) in a4_event() argument
85 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { in a4_event()
90 if (usage->hid == A4_WHEEL_ORIENTATION) { in a4_event()
99 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) { in a4_event()
[all …]
H A Dhid-ezkey.c22 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
23 #define ez_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
26 struct hid_field *field, struct hid_usage *usage, in ez_input_mapping() argument
29 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in ez_input_mapping()
32 switch (usage->hid & HID_USAGE) { in ez_input_mapping()
37 * totally broken way. We map this usage temporarily in ez_input_mapping()
48 struct hid_usage *usage, __s32 value) in ez_event() argument
51 !usage->type) in ez_event()
55 if (usage->type == EV_REL && usage->code == REL_HWHEEL) { in ez_event()
57 input_event(input, usage->type, REL_WHEEL, -value); in ez_event()
/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_report_desc.h15 0x05, 0x20, /* Usage page */
21 0x05, 0x20, /* HID usage page sensor */
33 0x0A, 0x16, 0x03, /* HID usage sensor property reporting state */
47 0x0A, 0x19, 0x03, /* HID usage sensor property power state */
61 0x0A, 0x01, 0x02, /* HID usage sensor state */
67 0x0A, 0x00, 0x08, /* HID usage sensor state unknown sel */
68 0x0A, 0x01, 0x08, /* HID usage sensor state ready sel */
69 0x0A, 0x02, 0x08, /* HID usage sensor state not available sel */
70 0x0A, 0x03, 0x08, /* HID usage sensor state no data sel */
71 0x0A, 0x04, 0x08, /* HID usage sensor state initializing sel */
[all …]
/linux/drivers/hid/i2c-hid/
H A Di2c-hid-dmi-quirks.c58 {0x05, 0x01, /* Usage Page (Desktop), */
59 0x09, 0x02, /* Usage (Mouse), */
62 0x09, 0x01, /* Usage (Pointer), */
64 0x05, 0x09, /* Usage Page (Button), */
65 0x19, 0x01, /* Usage Minimum (01h), */
66 0x29, 0x02, /* Usage Maximum (02h), */
73 0x05, 0x01, /* Usage Page (Desktop), */
74 0x09, 0x30, /* Usage (X), */
75 0x09, 0x31, /* Usage (Y), */
83 0x05, 0x0D, /* Usage Page (Digitizer), */
[all …]
/linux/drivers/hid/bpf/progs/
H A DThrustmaster__TCA-Yoke-Boeing.bpf.c27 * 0x05, 0x01, // Usage Page (Generic Desktop) 0
28 * 0x09, 0x04, // Usage (Joystick) 2
31 * 0x09, 0x39, // Usage (Hat switch) 8
41 * 0x05, 0x09, // Usage Page (Button) 29
42 * 0x19, 0x01, // Usage Minimum (1) 31
43 * 0x29, 0x12, // Usage Maximum (18) 33
51 * 0x05, 0x01, // Usage Page (Generic Desktop) 49
52 * 0x09, 0x31, // Usage (Y) 51
53 * 0x09, 0x30, // Usage (X) 53
54 * 0x09, 0x32, // Usage (Z) 55
[all …]
H A DFR-TEC__Raptor-Mach-2.bpf.c21 * 0x05, 0x01, // Usage Page (Generic Desktop) 0
22 * 0x09, 0x04, // Usage (Joystick) 2
24 * 0x05, 0x01, // Usage Page (Generic Desktop) 6
26 * 0x05, 0x01, // Usage Page (Generic Desktop) 10
27 * 0x09, 0x30, // Usage (X) 12
34 * 0x05, 0x01, // Usage Page (Generic Desktop) 28
35 * 0x09, 0x31, // Usage (Y) 30
42 * 0x05, 0x01, // Usage Page (Generic Desktop) 46
43 * 0x09, 0x33, // Usage (Rx) 48
50 * 0x05, 0x00, // Usage Page (Undefined) 64
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,q6v5.txt7 Usage: required
14 Usage: required
20 Usage: required
25 Usage: required
30 Usage: required
35 Usage: required
40 Usage: required
52 Usage: required
58 Usage: required
64 Usage: required
[all …]
/linux/tools/verification/rv/src/
H A Drv.c42 static const char *const usage[] = { in rv_list() local
44 " usage: rv list [-h] [container]", in rv_list()
67 /* more than 2 is always usage */ in rv_list()
73 for (i = 0; usage[i]; i++) in rv_list()
74 fprintf(stderr, "%s\n", usage[i]); in rv_list()
91 static const char *const usage[] = { in rv_mon() local
93 " usage: rv mon [-h] monitor [monitor options]", in rv_mon()
109 for (i = 0; usage[i]; i++) in rv_mon()
110 fprintf(stderr, "%s\n", usage[i]); in rv_mon()
116 for (i = 0; usage[ in rv_mon()
133 static void usage(int exit_val, const char *fmt, ...) usage() function
139 static const char *const usage[] = { usage() local
[all...]
/linux/drivers/platform/x86/tuxedo/nb04/
H A Dwmi_ab.c33 0x05, 0x59, // Usage Page (Lighting and Illumination)
34 0x09, 0x01, // Usage (Lamp Array)
37 0x09, 0x02, // Usage (Lamp Array Attributes Report)
39 0x09, 0x03, // Usage (Lamp Count)
45 0x09, 0x04, // Usage (Bounding Box Width In Micrometers)
46 0x09, 0x05, // Usage (Bounding Box Height In Micrometers)
47 0x09, 0x06, // Usage (Bounding Box Depth In Micrometers)
48 0x09, 0x07, // Usage (Lamp Array Kind)
49 0x09, 0x08, // Usage (Min Update Interval In Microseconds)
57 0x09, 0x20, // Usage (Lamp Attributes Request Report)
[all …]
/linux/Documentation/userspace-api/ioctl/
H A Dcdrom.rst103 usage::
124 usage::
147 usage::
178 usage::
207 usage::
232 usage::
263 usage::
288 usage::
314 usage::
341 usage::
[all …]
/linux/include/linux/firmware/intel/
H A Dstratix10-smc.h93 * Call register usage:
113 * Call register usage:
140 * Call register usage:
164 * Call register usage:
183 * Call register usage:
203 * Call register usage:
220 * Call register usage:
239 * Call register usage:
259 * Call register usage:
279 * Call register usage:
[all …]

12345678910>>...87