Home
last modified time | relevance | path

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

12345678910>>...126

/linux/tools/testing/selftests/hid/tests/
H A Dtest_gamepad.py178 "Device not compatible, missing Hat switch usage",
206 0x05, 0x01, # Usage Page (Generic Desktop) 0
207 0x09, 0x04, # Usage (Joystick) 2
209 0x09, 0x01, # .Usage (Pointer) 6
212 0x09, 0x30, # ..Usage (X) 12
220 0x09, 0x31, # ..Usage (Y) 30
222 0x05, 0x02, # ..Usage Page (Simulation Controls) 34
223 0x09, 0xba, # ..Usage (Rudder) 36
225 0x09, 0xbb, # ..Usage (Throttle) 40
227 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.py31 0x06, 0x85, 0xff, # Usage Page (Vendor Usage Page 0xff85)
32 0x09, 0x95, # Usage (Vendor Usage 0x95) 3
35 0x09, 0x01, # .Usage (Vendor Usage 0x01) 9
42 0x05, 0x01, # Usage Page (Generic Desktop) 23
43 0x09, 0x06, # Usage (Keyboard) 25
48 0x05, 0x07, # .Usage Page (Keyboard) 35
49 0x19, 0xe0, # .Usage Minimum (224) 37
50 0x29, 0xe7, # .Usage Maximum (231) 39
59 0x05, 0x08, # .Usage Page (LEDs) 57
60 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_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_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 …]
/linux/drivers/hid/
H A Dhid-uclogic-rdesc.c24 0x05, 0x0D, /* Usage Page (Digitizer), */
25 0x09, 0x01, /* Usage (Digitizer), */
28 0x09, 0x20, /* Usage (Stylus), */
31 0x09, 0x42, /* Usage (Tip Switch), */
32 0x09, 0x44, /* Usage (Barrel Switch), */
33 0x09, 0x46, /* Usage (Tablet Pick), */
44 0x05, 0x01, /* Usage Page (Desktop), */
48 0x09, 0x30, /* Usage (X), */
52 0x09, 0x31, /* Usage (Y), */
57 0x09, 0x30, /* Usage (Tip Pressure), */
[all …]
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-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-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-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-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-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-lenovo.c63 #define map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
111 0x05, 0x88, /* Usage Page (Vendor Usage Page 0x88) */
112 0x09, 0x01, /* Usage (Vendor Usage 0x01) */
115 0x19, 0x00, /* Usage Minimum (0) */
116 0x2a, 0xff, 0xff, /* Usage Maximum (65535) */
121 0x06, 0x00, 0xFF, /* Usage Page (Vendor Defined 0xFF00) */
122 0x09, 0x01, /* Usage (0x01) */
125 0x1A, 0xF1, 0x00, /* Usage Minimum (0xF1) */
126 0x2A, 0xFC, 0x00, /* Usage Maximum (0xFC) */
142 * - get a reasonable usage max for the vendor collection in lenovo_report_fixup()
[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 DHuion__Kamvas-Pro-19.bpf.c30 0x05, 0x0d, // Usage Page (Digitizers) 0
31 0x09, 0x02, // Usage (Pen) 2
34 0x09, 0x20, // Usage (Stylus) 8
36 0x09, 0x42, // Usage (Tip Switch) 12
37 0x09, 0x44, // Usage (Barrel Switch) 14
38 …0x09, 0x5a, // Usage (Secondary Barrel Switch) 16 /* changed from Secondary…
39 0x09, 0x3c, // Usage (Invert) 18
40 0x09, 0x45, // Usage (Eraser) 20
46 0x05, 0x09, // Usage Page (Button) /* inserted */
47 …0x09, 0x4a, // Usage (0x4a) /* inserted to be transla…
[all …]
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/tools/verification/rv/src/
H A Drv.c42 static const char *const usage[] = { in rv_list() local
44 " usage: rv list [-h]", in rv_list()
56 /* more than 1 is always usage */ in rv_list()
57 for (i = 0; usage[i]; i++) in rv_list()
58 fprintf(stderr, "%s\n", usage[i]); in rv_list()
79 static const char *const usage[] = { in rv_mon() local
81 " usage: rv mon [-h] monitor [monitor options]", in rv_mon()
97 for (i = 0; usage[i]; i++) in rv_mon()
98 fprintf(stderr, "%s\n", usage[i]); in rv_mon()
104 for (i = 0; usage[i]; i++) in rv_mon()
[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/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 …]

12345678910>>...126