/linux/tools/testing/selftests/hid/tests/ |
H A D | test_gamepad.py | 179 "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 D | descriptors_wacom.py | 5 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 D | test_ite_keyboard.py | 32 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 D | test_hid_core.py | 39 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 D | test_mouse.py | 107 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 D | test_keyboard.py | 89 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 D | hid-uclogic-rdesc.c | 24 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 D | hid-kye.c | 26 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 D | hid-sigmamicro.c | 16 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 D | hid-lg.c | 56 * 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 D | hid-input.c | 52 __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 D | hid-bigbenff.c | 25 * 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 D | hid-samsung.c | 18 * 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 D | hid-holtek-kbd.c | 23 * 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 …]
|
/linux/drivers/hid/bpf/progs/ |
H A D | Mistel__MD770.bpf.c | 27 * 0x05, 0x01, // Usage Page (Generic Desktop) 0 28 * 0x09, 0x80, // Usage (System Control) 2 31 * 0x19, 0x81, // Usage Minimum (129) 8 32 * 0x29, 0x83, // Usage Maximum (131) 10 42 * 0x05, 0x0c, // Usage Page (Consumer Devices) 29 43 * 0x09, 0x01, // Usage (Consumer Control) 31 50 * 0x0a, 0x83, 0x01, // Usage (AL Consumer Control Config) 45 51 * 0x0a, 0x8a, 0x01, // Usage (AL Email Reader) 48 52 * 0x0a, 0x92, 0x01, // Usage (AL Calculator) 51 53 * 0x0a, 0x94, 0x01, // Usage (AL Local Machine Browser) 54 [all …]
|
H A D | Huion__Kamvas-Pro-19.bpf.c | 30 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 D | Rapoo__M50-Plus-Silent.bpf.c | 20 * right and middle buttons. However, its original HID descriptor has a Usage 22 * changes that usage to 5. 26 * 0x05, 0x01, // Usage Page (Generic Desktop) 0 27 * 0x09, 0x02, // Usage (Mouse) 2 30 * 0x09, 0x01, // Usage (Pointer) 8 32 * 0x05, 0x09, // Usage Page (Button) 12 33 * 0x19, 0x01, // Usage Minimum (1) 14 34 * 0x29, 0x03, // Usage Maximum (3) 16 <- change to 0x05 43 * 0x05, 0x01, // Usage Page (Generic Desktop) 34 44 * 0x09, 0x30, // Usage (X) 36 [all …]
|
H A D | Thrustmaster__TCA-Yoke-Boeing.bpf.c | 27 * 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 D | FR-TEC__Raptor-Mach-2.bpf.c | 21 * 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/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A D | amd_sfh_hid_report_desc.h | 15 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/gpu/drm/msm/registers/adreno/ |
H A D | a6xx.xml | 15 Each register that is actually being used by driver should have "usage" defined, 22 It is expected that register with "cmd" usage may be written into only at 23 the start of the command buffer (ib1), while "rp_blit" usage indicates that register 655 <reg32 offset="0x0E17" name="UCHE_CACHE_WAYS" usage="cmd"/> 657 <reg32 offset="0x0E19" name="UCHE_CLIENT_PF" usage="cmd"> 731 <reg32 offset="0x0c02" name="VSC_BIN_SIZE" usage="rp_blit"> 735 <reg64 offset="0x0c03" name="VSC_SIZE_BASE" type="waddress" usage="cmd"/> 736 <reg32 offset="0x0c06" name="VSC_EXPANDED_BIN_CNTL" usage="rp_blit"> 740 <array offset="0x0c10" name="VSC_PIPE_CONFIG" stride="1" length="32" usage="rp_blit"> 766 <reg64 offset="0x0c30" name="VSC_PIPE_DATA_PRIM_BASE" type="waddress" usage="cmd"/> [all …]
|
/linux/drivers/hid/i2c-hid/ |
H A D | i2c-hid-dmi-quirks.c | 59 {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/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,q6v5.txt | 7 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 D | rv.c | 42 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 D | st-dma-resv.c | 65 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 …]
|