Home
last modified time | relevance | path

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

12345678910>>...91

/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 …]
/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-input.c52 __u32 usage; /* the HID usage associated */ member
56 unsigned int slot_overwrite; /* for globals: allows to set the usage
80 .usage = HID_DG_ERASER,
83 .usage = HID_DG_INVERT,
86 .usage = HID_DG_TIPSWITCH,
89 .usage = HID_DG_TIPPRESSURE,
92 .usage = HID_DG_INRANGE,
96 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
97 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
98 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))
[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-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-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-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 …]
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-dr.c147 * Usage Page (Desktop), ; Generic desktop controls (01h)
148 * Usage (Joystick), ; Joystick (04h, application collection)
157 * Usage (X), ; X (30h, dynamic value)
158 * Usage (X), ; X (30h, dynamic value)
159 * Usage (X), ; X (30h, dynamic value)
160 * Usage (X), ; X (30h, dynamic value)
161 * Usage (Y), ; Y (31h, dynamic value)
168 * Usage (00h),
175 * Usage Page (Button), ; Button (09h)
176 * Usage Minimum (01h),
[all …]
H A Dhid-microsoft.c67 * 'Usage Min/Max' where it ought to have 'Physical Min/Max' in ms_report_fixup()
78 #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
80 static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage, in ms_ergonomy_kb_quirk() argument
85 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { in ms_ergonomy_kb_quirk()
86 switch (usage->hid & HID_USAGE) { in ms_ergonomy_kb_quirk()
88 * Microsoft uses these 2 reserved usage ids for 2 keys on in ms_ergonomy_kb_quirk()
101 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) in ms_ergonomy_kb_quirk()
104 switch (usage->hid & HID_USAGE) { in ms_ergonomy_kb_quirk()
115 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); in ms_ergonomy_kb_quirk()
121 * (this usage is found on interface 1). in ms_ergonomy_kb_quirk()
[all …]
/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.c59 {0x05, 0x01, /* Usage Page (Desktop), */
60 0x09, 0x02, /* Usage (Mouse), */
63 0x09, 0x01, /* Usage (Pointer), */
65 0x05, 0x09, /* Usage Page (Button), */
66 0x19, 0x01, /* Usage Minimum (01h), */
67 0x29, 0x02, /* Usage Maximum (02h), */
74 0x05, 0x01, /* Usage Page (Desktop), */
75 0x09, 0x30, /* Usage (X), */
76 0x09, 0x31, /* Usage (Y), */
84 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[i]; i++) in rv_mon()
[all …]
/linux/drivers/dma-buf/
H A Dst-dma-resv.c65 enum dma_resv_usage usage = (unsigned long)arg; in test_signaling() local
89 dma_resv_add_fence(&resv, f, usage); in test_signaling()
90 if (dma_resv_test_signaled(&resv, usage)) { in test_signaling()
96 if (!dma_resv_test_signaled(&resv, usage)) { in test_signaling()
111 enum dma_resv_usage usage = (unsigned long)arg; in test_for_each() local
136 dma_resv_add_fence(&resv, f, usage); in test_for_each()
139 dma_resv_for_each_fence(&cursor, &resv, usage, fence) { in test_for_each()
150 if (dma_resv_iter_usage(&cursor) != usage) { in test_for_each()
151 pr_err("Unexpected fence usage\n"); in test_for_each()
172 enum dma_resv_usage usage = (unsigned long)arg; in test_for_each_unlocked() 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 …]

12345678910>>...91