| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_hid_core.py | 39 0x05, 0x01, # .Usage Page (Generic Desktop) 40 0x09, 0x02, # .Usage (Mouse) 41 0xa1, 0x01, # .Collection (Application) 42 0x09, 0x02, # ..Usage (Mouse) 43 0xa1, 0x02, # ..Collection (Logical) 44 0x09, 0x01, # ...Usage (Pointer) 45 0xa1, 0x00, # ...Collection (Physical) 46 0x05, 0x09, # ....Usage Page (Button) 47 0x19, 0x01, # ....Usage Minimum (1) 48 0x29, 0x03, # ....Usage Maximum (3) [all …]
|
| H A D | test_gamepad.py | 51 expected_event = libevdev.InputEvent(key, 0) 55 assert evdev.value[key] == 0 71 b1 = uhdev.buttons[0] 90 expected_event = libevdev.InputEvent(key1, 0) 94 assert evdev.value[key1] == 0 99 expected_event = libevdev.InputEvent(key2, 0) 103 assert evdev.value[key1] == 0 104 assert evdev.value[key2] == 0 140 self._test_joystick_press("left_stick", (0, 127)) 150 self._test_joystick_press("left_stick", (127, 0)) [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 34 0xa1, 0x01, # Collection (Application) 5 35 0x85, 0x5a, # .Report ID (90) 7 36 0x09, 0x01, # .Usage (Vendor Usage 0x01) 9 37 0x15, 0x00, # .Logical Minimum (0) 11 38 0x26, 0xff, 0x00, # .Logical Maximum (255) 13 39 0x75, 0x08, # .Report Size (8) 16 40 0x95, 0x10, # .Report Count (16) 18 41 0xb1, 0x00, # .Feature (Data,Arr,Abs) 20 [all …]
|
| H A D | test_mouse.py | 68 wheel, acpan = 0, 0 71 wheel = wheels[0] 107 0x05, 0x01, # .Usage Page (Generic Desktop) 0 108 0x09, 0x02, # .Usage (Mouse) 2 109 0xa1, 0x01, # .Collection (Application) 4 110 0x09, 0x02, # ..Usage (Mouse) 6 111 0xa1, 0x02, # ..Collection (Logical) 8 112 0x09, 0x01, # ...Usage (Pointer) 10 113 0xa1, 0x00, # ...Collection (Physical) 12 114 0x05, 0x09, # ....Usage Page (Button) 14 [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A D | sonixj.c | 64 #define BRIDGE_SN9C102P 0 94 #define F_PDN_INV 0x01 /* inverse pin S_PWR_DN / sn_xxx tables */ 95 #define F_ILLUM 0x02 /* presence of illuminator */ 98 /* register 0x01 */ 99 #define S_PWR_DN 0x01 /* sensor power down */ 100 #define S_PDN_INV 0x02 /* inverse pin S_PWR_DN */ 101 #define V_TX_EN 0x04 /* video transfer enable */ 102 #define LED 0x08 /* output to pin LED */ 103 #define SCL_SEL_OD 0x20 /* open-drain mode */ 104 #define SYS_SEL_48M 0x40 /* system clock 0: 24MHz, 1: 48MHz */ [all …]
|
| /linux/drivers/media/usb/gspca/gl860/ |
| H A D | gl860-mi2020.c | 12 static u8 dat_wbal1[] = {0x8c, 0xa2, 0x0c}; 14 static u8 dat_bright1[] = {0x8c, 0xa2, 0x06}; 15 static u8 dat_bright3[] = {0x8c, 0xa1, 0x02}; 16 static u8 dat_bright4[] = {0x90, 0x00, 0x0f}; 17 static u8 dat_bright5[] = {0x8c, 0xa1, 0x03}; 18 static u8 dat_bright6[] = {0x90, 0x00, 0x05}; 20 static u8 dat_hvflip1[] = {0x8c, 0x27, 0x19}; 21 static u8 dat_hvflip3[] = {0x8c, 0x27, 0x3b}; 22 static u8 dat_hvflip5[] = {0x8c, 0xa1, 0x03}; 23 static u8 dat_hvflip6[] = {0x90, 0x00, 0x06}; [all …]
|
| /linux/arch/powerpc/sysdev/ |
| H A D | i8259.c | 17 static unsigned char cached_8259[2] = { 0xff, 0xff }; 18 #define cached_A1 (cached_8259[0]) 34 int lock = 0; in i8259_irq() 44 outb(0x0C, 0x20); /* prepare for poll */ in i8259_irq() 45 irq = inb(0x20) & 7; in i8259_irq() 51 outb(0x0C, 0xA0); /* prepare for poll */ in i8259_irq() 52 irq = (inb(0xA0) & 7) + 8; in i8259_irq() 65 outb(0x0B, 0x20); /* ISR register */ in i8259_irq() 66 if(~inb(0x20) & 0x80) in i8259_irq() 67 irq = 0; in i8259_irq() [all …]
|
| /linux/drivers/parisc/ |
| H A D | eisa.c | 45 #if 0 51 #define SNAKES_EEPROM_BASE_ADDR 0xF0810400 52 #define MIRAGE_EEPROM_BASE_ADDR 0xF00C0400 71 if (port & 0x300) { in eisa_permute() 72 return 0xfc000000 | ((port & 0xfc00) >> 6) in eisa_permute() 73 | ((port & 0x3f8) << 9) | (port & 7); in eisa_permute() 75 return 0xfc000000 | port; in eisa_permute() 83 return 0xff; in eisa_in8() 90 return 0xffff; in eisa_in16() 97 return 0xffffffff; in eisa_in32() [all …]
|
| /linux/lib/crypto/s390/ |
| H A D | chacha-s390.S | 20 .long 0x61707865,0x3320646e,0x79622d32,0x6b206574 # endian-neutral 21 .long 1,0,0,0 22 .long 2,0,0,0 23 .long 3,0,0,0 24 .long 0x03020100,0x07060504,0x0b0a0908,0x0f0e0d0c # byte swap 26 .long 0,1,2,3 27 .long 0x61707865,0x61707865,0x61707865,0x61707865 # smashed sigma 28 .long 0x3320646e,0x3320646e,0x3320646e,0x3320646e 29 .long 0x79622d32,0x79622d32,0x79622d32,0x79622d32 30 .long 0x6b206574,0x6b206574,0x6b206574,0x6b206574 [all …]
|
| /linux/drivers/hid/amd-sfh-hid/hid_descriptor/ |
| H A D | amd_sfh_hid_report_desc.h | 15 0x05, 0x20, /* Usage page */ 16 0x09, 0x73, /* Motion type Accel 3D */ 17 0xA1, 0x00, /* HID Collection (Physical) */ 20 0x85, 1, /* HID Report ID */ 21 0x05, 0x20, /* HID usage page sensor */ 22 0x0A, 0x09, 0x03, /* Sensor property and sensor connection type */ 23 0x15, 0, /* HID logical MIN_8(0) */ 24 0x25, 2, /* HID logical MAX_8(2) */ 25 0x75, 8, /* HID report size(8) */ 26 0x95, 1, /* HID report count(1) */ [all …]
|
| /linux/crypto/ |
| H A D | testmgr.h | 34 * @ksize: Length of @key in bytes (0 if no key) 101 * @crypt_error: When @novrfy=0, the expected error from encrypt(). When 201 "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1" 206 "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64" 229 "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63" 258 "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94" 262 "\x00\xEE\xCF\xAE\x81\xB1\xB9\xB3\xC9\x08\x81\x0B\x10\xA1\xB5\x60" 299 "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b", 316 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77" 349 "\x42\x21\x5E\xA0\xA1\x2A\x58\x35\xBB\x10\xE7\xBA\x27\x0A\x3B\xB3" [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/haswell/ |
| H A D | pipeline.json | 4 "Counter": "0,1,2,3", 5 "EventCode": "0x14", 8 "UMask": "0x2" 12 "Counter": "0,1,2,3", 13 "EventCode": "0x88", 17 "UMask": "0xff" 21 "Counter": "0,1,2,3", 22 "EventCode": "0x88", 25 "UMask": "0xc1" 29 "Counter": "0,1,2,3", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/haswellx/ |
| H A D | pipeline.json | 4 "Counter": "0,1,2,3", 5 "EventCode": "0x14", 8 "UMask": "0x2" 12 "Counter": "0,1,2,3", 13 "EventCode": "0x88", 17 "UMask": "0xff" 21 "Counter": "0,1,2,3", 22 "EventCode": "0x88", 25 "UMask": "0xc1" 29 "Counter": "0,1,2,3", [all …]
|
| /linux/drivers/block/ |
| H A D | swim_asm.S | 17 .equ write_data, 0x0000 18 .equ write_mark, 0x0200 19 .equ write_CRC, 0x0400 20 .equ write_parameter,0x0600 21 .equ write_phase, 0x0800 22 .equ write_setup, 0x0a00 23 .equ write_mode0, 0x0c00 24 .equ write_mode1, 0x0e00 25 .equ read_data, 0x1000 26 .equ read_mark, 0x1200 [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-uclogic-core-test.c | 22 .event = { 0xA1, 0xB2, 0xC3, 0xD4 }, 26 .event = { 0x1F, 0x2E, 0x3D, 0x4C, 0x5B, 0x6A }, 33 .event = { 0xA1, 0xB2, 0xC3, 0xD4 }, 38 .event = { 0x1F, 0x2E, 0x3D, 0x4C, 0x5B, 0x6A }, 43 .event = { 0xA1, 0xB2, 0xC3 }, 48 .event = { 0xA1, 0xB2, 0xC3, 0xD4, 0x00 }, 53 .event = { 0x2E, 0x3D, 0x4C, 0x5B, 0x6A, 0x1F }, 66 struct uclogic_params p = {0, }; in hid_test_uclogic_exec_event_hook_test() 76 for (n = 0; n < ARRAY_SIZE(hook_events); n++) { in hid_test_uclogic_exec_event_hook_test() 83 memcpy(filter->event, &hook_events[n].event[0], filter->size); in hid_test_uclogic_exec_event_hook_test() [all …]
|
| H A D | hid-sigmamicro.c | 16 0x05, 0x0c, /* Usage Page (Consumer Devices) 0 */ 17 0x09, 0x01, /* Usage (Consumer Control) 2 */ 18 0xa1, 0x01, /* Collection (Application) 4 */ 19 0x85, 0x01, /* Report ID (1) 6 */ 20 0x19, 0x00, /* Usage Minimum (0) 8 */ 21 0x2a, 0x3c, 0x02, /* Usage Maximum (572) 10 */ 22 0x15, 0x00, /* Logical Minimum (0) 13 */ 23 0x26, 0x3c, 0x02, /* Logical Maximum (572) 15 */ 24 0x95, 0x01, /* Report Count (1) 18 */ 25 0x75, 0x10, /* Report Size (16) 20 */ [all …]
|
| H A D | hid-lg.c | 29 #define LG_RDESC 0x001 30 #define LG_BAD_RELATIVE_KEYS 0x002 31 #define LG_DUPLICATE_USAGES 0x004 32 #define LG_EXPANDED_KEYMAP 0x010 33 #define LG_IGNORE_DOUBLED_WHEEL 0x020 34 #define LG_WIRELESS 0x040 35 #define LG_INVERT_HWHEEL 0x080 36 #define LG_NOGET 0x100 37 #define LG_FF 0x200 38 #define LG_FF2 0x400 [all …]
|
| H A D | hid-maltron.c | 26 0x05, 0x01, /* Usage Page (Generic Desktop Ctrls) */ 27 0x09, 0x80, /* Usage (Sys Control) */ 28 0xA1, 0x01, /* Collection (Application) */ 29 0x85, 0x02, /* Report ID (2) */ 30 0x75, 0x01, /* Report Size (1) */ 31 0x95, 0x01, /* Report Count (1) */ 32 0x15, 0x00, /* Logical Minimum (0) */ 33 0x25, 0x01, /* Logical Maximum (1) */ 34 0x09, 0x82, /* Usage (Sys Sleep) */ 35 0x81, 0x06, /* Input (Data,Var,Rel) */ [all …]
|
| H A D | hid-holtek-kbd.c | 32 0x05, 0x01, /* Usage Page (Desktop), */ 33 0x09, 0x80, /* Usage (Sys Control), */ 34 0xA1, 0x01, /* Collection (Application), */ 35 0x85, 0x01, /* Report ID (1), */ 36 0x19, 0x81, /* Usage Minimum (Sys Power Down), */ 37 0x29, 0x83, /* Usage Maximum (Sys Wake Up), */ 38 0x15, 0x00, /* Logical Minimum (0), */ 39 0x25, 0x01, /* Logical Maximum (1), */ 40 0x95, 0x03, /* Report Count (3), */ 41 0x75, 0x01, /* Report Size (1), */ [all …]
|
| H A D | hid-waltop.c | 47 0x05, 0x0D, /* Usage Page (Digitizer), */ 48 0x09, 0x02, /* Usage (Pen), */ 49 0xA1, 0x01, /* Collection (Application), */ 50 0x85, 0x10, /* Report ID (16), */ 51 0x09, 0x20, /* Usage (Stylus), */ 52 0xA0, /* Collection (Physical), */ 53 0x09, 0x42, /* Usage (Tip Switch), */ 54 0x09, 0x44, /* Usage (Barrel Switch), */ 55 0x09, 0x46, /* Usage (Tablet Pick), */ 56 0x15, 0x01, /* Logical Minimum (1), */ [all …]
|
| H A D | hid-uclogic-rdesc.c | 24 0x05, 0x0D, /* Usage Page (Digitizer), */ 25 0x09, 0x01, /* Usage (Digitizer), */ 26 0xA1, 0x01, /* Collection (Application), */ 27 0x85, 0x09, /* Report ID (9), */ 28 0x09, 0x20, /* Usage (Stylus), */ 29 0xA0, /* Collection (Physical), */ 30 0x75, 0x01, /* Report Size (1), */ 31 0x09, 0x42, /* Usage (Tip Switch), */ 32 0x09, 0x44, /* Usage (Barrel Switch), */ 33 0x09, 0x46, /* Usage (Tablet Pick), */ [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwell/ |
| H A D | pipeline.json | 4 "Counter": "0,1,2,3", 5 "EventCode": "0x14", 9 "UMask": "0x1" 13 "Counter": "0,1,2,3", 14 "EventCode": "0x88", 18 "UMask": "0xff" 22 "Counter": "0,1,2,3", 23 "EventCode": "0x88", 27 "UMask": "0xc1" 31 "Counter": "0, 2 { global() object [all...] |
| /linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
| H A D | pipeline.json | 4 "Counter": "0,1,2,3", 5 "EventCode": "0x14", 9 "UMask": "0x1" 13 "Counter": "0,1,2,3", 14 "EventCode": "0x88", 18 "UMask": "0xff" 22 "Counter": "0,1,2,3", 23 "EventCode": "0x88", 27 "UMask": "0xc1" 31 "Counter": "0, 2 { global() object [all...] |
| /linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
| H A D | pipeline.json | 4 "Counter": "0,1,2,3", 5 "EventCode": "0x14", 9 "UMask": "0x1" 13 "Counter": "0,1,2,3", 14 "EventCode": "0x88", 18 "UMask": "0xff" 22 "Counter": "0,1,2,3", 23 "EventCode": "0x88", 27 "UMask": "0xc1" 31 "Counter": "0, 2 { global() object [all...] |
| /linux/drivers/hid/i2c-hid/ |
| H A D | i2c-hid-dmi-quirks.c | 42 {0x1e, 0x00, /* Length of descriptor */ 43 0x00, 0x01, /* Version of descriptor */ 44 0xdb, 0x01, /* Length of report descriptor */ 45 0x21, 0x00, /* Location of report descriptor */ 46 0x24, 0x00, /* Location of input report */ 47 0x1b, 0x00, /* Max input report length */ 48 0x25, 0x00, /* Location of output report */ 49 0x11, 0x00, /* Max output report length */ 50 0x22, 0x00, /* Location of command register */ 51 0x23, 0x00, /* Location of data register */ [all …]
|