/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 | 50 expected_event = libevdev.InputEvent(key, 0) 54 assert evdev.value[key] == 0 70 b1 = uhdev.buttons[0] 89 expected_event = libevdev.InputEvent(key1, 0) 93 assert evdev.value[key1] == 0 98 expected_event = libevdev.InputEvent(key2, 0) 102 assert evdev.value[key1] == 0 103 assert evdev.value[key2] == 0 139 self._test_joystick_press("left_stick", (0, 127)) 149 self._test_joystick_press("left_stick", (127, 0)) [all …]
|
/linux/lib/fonts/ |
H A D | font_sun12x22.c | 7 { 0, 0, FONTDATAMAX, 0 }, { 8 /* 0 0x00 '^@' */ 9 0x00, 0x00, /* 000000000000 */ 10 0x00, 0x00, /* 000000000000 */ 11 0x00, 0x00, /* 000000000000 */ 12 0x00, 0x00, /* 000000000000 */ 13 0x00, 0x00, /* 000000000000 */ 14 0x00, 0x00, /* 000000000000 */ 15 0x00, 0x00, /* 000000000000 */ 16 0x00, 0x00, /* 000000000000 */ [all …]
|
H A D | font_10x18.c | 12 { 0, 0, FONTDATAMAX, 0 }, { 13 /* 0 0x00 '^@' */ 14 0x00, 0x00, /* 0000000000 */ 15 0x00, 0x00, /* 0000000000 */ 16 0x00, 0x00, /* 0000000000 */ 17 0x00, 0x00, /* 0000000000 */ 18 0x00, 0x00, /* 0000000000 */ 19 0x00, 0x00, /* 0000000000 */ 20 0x00, 0x00, /* 0000000000 */ 21 0x00, 0x00, /* 0000000000 */ [all …]
|
H A D | font_sun8x16.c | 7 { 0, 0, FONTDATAMAX, 0 }, { 8 /* */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 9 /* */ 0x00,0x00,0x7e,0x81,0xa5,0x81,0x81,0xbd,0x99,0x81,0x81,0x7e,0x00,0x00,0x00,0x00, 10 /* */ 0x00,0x00,0x7e,0xff,0xdb,0xff,0xff,0xc3,0xe7,0xff,0xff,0x7e,0x00,0x00,0x00,0x00, 11 /* */ 0x00,0x00,0x00,0x00,0x6c,0xfe,0xfe,0xfe,0xfe,0x7c,0x38,0x10,0x00,0x00,0x00,0x00, 12 /* */ 0x00,0x00,0x00,0x00,0x10,0x38,0x7c,0xfe,0x7c,0x38,0x10,0x00,0x00,0x00,0x00,0x00, 13 /* */ 0x00,0x00,0x00,0x18,0x3c,0x3c,0xe7,0xe7,0xe7,0x18,0x18,0x3c,0x00,0x00,0x00,0x00, 14 /* */ 0x00,0x00,0x00,0x18,0x3c,0x7e,0xff,0xff,0x7e,0x18,0x18,0x3c,0x00,0x00,0x00,0x00, 15 /* */ 0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x3c,0x3c,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 16 /* */ 0xff,0xff,0xff,0xff,0xff,0xff,0xe7,0xc3,0xc3,0xe7,0xff,0xff,0xff,0xff,0xff,0xff, [all …]
|
H A D | font_pearl_8x8.c | 18 { 0, 0, FONTDATAMAX, 0 }, { 19 /* 0 0x00 '^@' */ 20 0x00, /* 00000000 */ 21 0x00, /* 00000000 */ 22 0x00, /* 00000000 */ 23 0x00, /* 00000000 */ 24 0x00, /* 00000000 */ 25 0x00, /* 00000000 */ 26 0x00, /* 00000000 */ 27 0x00, /* 00000000 */ [all …]
|
H A D | font_7x14.c | 12 { 0, 0, FONTDATAMAX, 0 }, { 13 /* 0 0x00 '^@' */ 14 0x00, /* 0000000 */ 15 0x00, /* 0000000 */ 16 0x00, /* 0000000 */ 17 0x00, /* 0000000 */ 18 0x00, /* 0000000 */ 19 0x00, /* 0000000 */ 20 0x00, /* 0000000 */ 21 0x00, /* 0000000 */ [all …]
|
H A D | font_ter16x32.c | 8 { 0, 0, FONTDATAMAX, 0 }, { 9 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 10 0x00, 0x00, 0x00, 0x00, 0x7f, 0xfc, 0x7f, 0xfc, 11 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 12 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 13 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 14 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 15 0x7f, 0xfc, 0x7f, 0xfc, 0x00, 0x00, 0x00, 0x00, 16 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0 */ 17 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, [all …]
|
/linux/arch/s390/crypto/ |
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/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 65 do { prog = emit_code(prog, bytes, len); cnt += len; } while (0) 74 do { EMIT1(b1); EMIT(off, 4); } while (0) 76 do { EMIT2(b1, b2); EMIT(off, 4); } while (0) 78 do { EMIT3(b1, b2, b3); EMIT(off, 4); } while (0) 80 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0) 95 #define TCALL_CNT (MAX_BPF_JIT_REG + 0) /* Tail Call Count */ 97 #define IA32_EAX (0x0) 98 #define IA32_EBX (0x3) 99 #define IA32_ECX (0x1) 100 #define IA32_EDX (0x2) [all …]
|
/linux/sound/soc/codecs/ |
H A D | rk3308_codec.h | 12 #define RK3308_GLB_CON 0x00 17 * The ADC group are 0 ~ 3, that control: 24 #define RK3308_ADC_DIG_OFFSET(ch) (((ch) & 0x3) * 0xc0 + 0x0) 26 #define RK3308_ADC_DIG_CON01(ch) (RK3308_ADC_DIG_OFFSET((ch)) + 0x04) 27 #define RK3308_ADC_DIG_CON02(ch) (RK3308_ADC_DIG_OFFSET((ch)) + 0x08) 28 #define RK3308_ADC_DIG_CON03(ch) (RK3308_ADC_DIG_OFFSET((ch)) + 0x0c) 29 #define RK3308_ADC_DIG_CON04(ch) (RK3308_ADC_DIG_OFFSET((ch)) + 0x10) 30 #define RK3308_ADC_DIG_CON05(ch) (RK3308_ADC_DIG_OFFSET((ch)) + 0x14) // ver.C only 31 #define RK3308_ADC_DIG_CON06(ch) (RK3308_ADC_DIG_OFFSET((ch)) + 0x18) // ver.C only 32 #define RK3308_ADC_DIG_CON07(ch) (RK3308_ADC_DIG_OFFSET((ch)) + 0x1c) [all …]
|
/linux/drivers/media/usb/gspca/gl860/ |
H A D | gl860-ov9655.c | 12 {0x0000, 0x0000}, {0x0010, 0x0010}, {0x0008, 0x00c0}, {0x0001, 0x00c1}, 13 {0x0001, 0x00c2}, {0x0020, 0x0006}, {0x006a, 0x000d}, 15 {0x0040, 0x0000}, 19 {0x0041, 0x0000}, {0x006a, 0x0007}, {0x0063, 0x0006}, {0x006a, 0x000d}, 20 {0x0000, 0x00c0}, {0x0010, 0x0010}, {0x0001, 0x00c1}, {0x0041, 0x00c2}, 21 {0x0004, 0x00d8}, {0x0012, 0x0004}, {0x0000, 0x0058}, {0x0040, 0x0000}, 22 {0x00f3, 0x0006}, {0x0058, 0x0000}, {0x0048, 0x0000}, {0x0061, 0x0000}, 29 0x00, 0x40, 0x07, 0x6a, 0x06, 0xf3, 0x0d, 0x6a, 30 0x10, 0x10, 0xc1, 0x01 32 0x12, 0x80, 0x00, 0x00, 0x01, 0x98, 0x02, 0x80, [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-boe-himax8279d.c | 59 gpiod_set_value(pinfo->enable_gpio, 0); in disable_gpios() 60 gpiod_set_value(pinfo->pp33_gpio, 0); in disable_gpios() 61 gpiod_set_value(pinfo->pp18_gpio, 0); in disable_gpios() 67 unsigned int i = 0; in send_mipi_cmds() 70 for (i = 0; i < pinfo->desc->on_cmds_num; i++) { in send_mipi_cmds() 74 if (err < 0) in send_mipi_cmds() 78 return 0; in send_mipi_cmds() 87 if (err < 0) { in boe_panel_disable() 92 return 0; in boe_panel_disable() 101 if (err < 0) in boe_panel_unprepare() [all …]
|
/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-cards.c | 19 #define REGLEN_0bit 0 51 .id = 0x1d, 55 .i2c_bus_addr = 0xa0 >> 1, 58 .id = 0x04, 62 .i2c_bus_addr = 0xc0 >> 1, 65 .id = 0x1b, 69 .i2c_bus_addr = 0xc0 >> 1, 72 .id = 0x1e, 76 .i2c_bus_addr = 0x10 >> 1, 79 .id = 0x1f, [all …]
|
/linux/drivers/hid/ |
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 …]
|
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 …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynosautov9.dtsi | 47 #size-cells = <0>; 81 cpu0: cpu@0 { 84 reg = <0x0>; 91 reg = <0x100>; 98 reg = <0x200>; 105 reg = <0x300>; 112 reg = <0x10000>; 119 reg = <0x10100>; 126 reg = <0x10200>; 133 reg = <0x10300>; [all …]
|
/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mt8135.c | 17 #define DRV_BASE1 0x500 18 #define DRV_BASE2 0x510 19 #define PUPD_BASE1 0x400 20 #define PUPD_BASE2 0x450 21 #define R0_BASE1 0x4d0 22 #define R1_BASE1 0x200 23 #define R1_BASE2 0x250 49 MTK_DRV_GRP(2, 16, 0, 2, 2), 53 MTK_DRV_GRP(2, 8, 0, 1, 2), 55 MTK_DRV_GRP(4, 32, 0, 2, 4) [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/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | uncore-io.json | 4 "Counter": "0,1", 5 "EventCode": "0x83", 7 "FCMask": "0x07", 8 "Filter": "ch_mask=0x1f", 12 "PortMask": "0x01", 13 … device attached to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supp… 15 "UMask": "0x4", 20 "Counter": "0,1", 21 "EventCode": "0x83", 23 "FCMask": "0x07", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | uncore-io.json | 4 "Counter": "0,1", 5 "EventCode": "0x83", 7 "FCMask": "0x07", 8 "Filter": "ch_mask=0x1f", 12 "PortMask": "0x01", 13 … device attached to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supp… 15 "UMask": "0x4", 20 "Counter": "0,1", 21 "EventCode": "0x83", 23 "FCMask": "0x07", [all …]
|
/linux/drivers/media/usb/pwc/ |
H A D | pwc-timon.c | 17 number. An alternate of 0 means that the mode is unavailable. 39 {1, 140, 0, {0x05, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x8C, 0xFC, 0x80, 0x02}}, 40 {1, 140, 0, {0x05, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x8C, 0xFC, 0x80, 0x02}}, 41 {1, 140, 0, {0x05, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x8C, 0xFC, 0x80, 0x02}}, 42 {1, 140, 0, {0x05, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x8C, 0xFC, 0x80, 0x02}}, 46 {2, 280, 0, {0x04, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x18, 0xA9, 0x80, 0x02}}, 47 {2, 280, 0, {0x04, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x18, 0xA9, 0x80, 0x02}}, 48 {2, 280, 0, {0x04, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x18, 0xA9, 0x80, 0x02}}, 49 {2, 280, 0, {0x04, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x18, 0xA9, 0x80, 0x02}}, 53 {3, 410, 0, {0x03, 0xF4, 0x04, 0x00, 0x00, 0x00, 0x00, 0x13, 0x00, 0x9A, 0x71, 0x80, 0x02}}, [all …]
|
/linux/drivers/input/mouse/ |
H A D | lifebook.c | 138 bool relative_packet = packet[0] & 0x08; in lifebook_process_byte() 146 return (packet[0] & 0xf8) == 0x00 ? in lifebook_process_byte() 151 return ((packet[2] & 0x30) << 2) == (packet[2] & 0xc0) ? in lifebook_process_byte() 154 return (packet[3] & 0xf8) == 0xc0 ? in lifebook_process_byte() 157 return (packet[4] & 0xc0) == (packet[2] & 0xc0) ? in lifebook_process_byte() 160 if (((packet[5] & 0x30) << 2) != (packet[5] & 0xc0)) in lifebook_process_byte() 162 if ((packet[5] & 0xc0) != (packet[1] & 0xc0)) in lifebook_process_byte() 175 ((packet[1] & 0x3f) << 6) | (packet[2] & 0x3f)); in lifebook_process_byte() 177 4096 - (((packet[4] & 0x3f) << 6) | (packet[5] & 0x3f))); in lifebook_process_byte() 180 (packet[1] | ((packet[0] & 0x30) << 4))); in lifebook_process_byte() [all …]
|
/linux/drivers/media/usb/gspca/ |
H A D | t613.c | 54 #if 0 /* HDG: broken with my test cam, so lets disable it */ 66 #if 0 /* HDG: broken with my test cam, so lets disable it */ 77 .priv = 0}, 94 0x09, 0x01, 0x12, 0x04, 0x66, 0x8a, 0x80, 0x3c, 95 0x81, 0x22, 0x84, 0x50, 0x8a, 0x78, 0x8b, 0x68, 96 0x8c, 0x88, 0x8e, 0x33, 0x8f, 0x24, 0xaa, 0xb1, 97 0xa2, 0x60, 0xa5, 0x30, 0xa6, 0x3a, 0xa8, 0xe8, 98 0xae, 0x05, 0xb1, 0x00, 0xbb, 0x04, 0xbc, 0x48, 99 0xbe, 0x36, 0xc6, 0x88, 0xe9, 0x00, 0xc5, 0xc0, 100 0x65, 0x0a, 0xbb, 0x86, 0xaf, 0x58, 0xb0, 0x68, [all …]
|
/linux/drivers/pcmcia/ |
H A D | cirrus.h | 33 #define PD67_MISC_CTL_1 0x16 /* Misc control 1 */ 34 #define PD67_FIFO_CTL 0x17 /* FIFO control */ 35 #define PD67_MISC_CTL_2 0x1E /* Misc control 2 */ 36 #define PD67_CHIP_INFO 0x1f /* Chip information */ 37 #define PD67_ATA_CTL 0x026 /* 6730: ATA control */ 38 #define PD67_EXT_INDEX 0x2e /* Extension index */ 39 #define PD67_EXT_DATA 0x2f /* Extension data */ 42 #define PD67_DATA_MASK0 0x01 /* Data mask 0 */ 43 #define PD67_DATA_MASK1 0x02 /* Data mask 1 */ 44 #define PD67_DMA_CTL 0x03 /* DMA control */ [all …]
|