/linux/net/x25/ |
H A D | x25_in.c | 21 #define pr_fmt(fmt) "X25: " fmt 30 #include <net/x25.h> 35 struct x25_sock *x25 = x25_sk(sk); in x25_queue_rx_frame() local 38 x25->fraglen += skb->len; in x25_queue_rx_frame() 39 skb_queue_tail(&x25->fragment_queue, skb); in x25_queue_rx_frame() 41 return 0; in x25_queue_rx_frame() 44 if (x25->fraglen > 0) { /* End of fragment */ in x25_queue_rx_frame() 45 int len = x25->fraglen + skb->len; in x25_queue_rx_frame() 52 skb_queue_tail(&x25->fragment_queue, skb); in x25_queue_rx_frame() 56 skbo = skb_dequeue(&x25->fragment_queue); in x25_queue_rx_frame() [all …]
|
H A D | x25_subr.c | 21 #define pr_fmt(fmt) "X25: " fmt 29 #include <net/x25.h> 36 struct x25_sock *x25 = x25_sk(sk); in x25_clear_queues() local 39 skb_queue_purge(&x25->ack_queue); in x25_clear_queues() 40 skb_queue_purge(&x25->interrupt_in_queue); in x25_clear_queues() 41 skb_queue_purge(&x25->interrupt_out_queue); in x25_clear_queues() 42 skb_queue_purge(&x25->fragment_queue); in x25_clear_queues() 54 struct x25_sock *x25 = x25_sk(sk); in x25_frames_acked() local 55 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked() 60 if (x25->va != nr) in x25_frames_acked() [all …]
|
H A D | x25_out.c | 26 #include <net/x25.h> 35 while (pacsize-- > 0) in x25_pacsize_to_bytes() 52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output() 53 struct x25_sock *x25 = x25_sk(sk); in x25_output() local 54 int header_len = x25->neighbour->extended ? X25_EXT_MIN_LEN : in x25_output() 56 int max_len = x25_pacsize_to_bytes(x25->facilities.pacsize_out); in x25_output() 65 while (skb->len > 0) { in x25_output() 93 if (skb->len > 0) { in x25_output() 94 if (x25->neighbour->extended) in x25_output() 118 struct x25_sock *x25 = x25_sk(sk); in x25_send_iframe() local [all …]
|
H A D | x25_timer.c | 22 #include <net/x25.h> 29 struct x25_sock *x25 = x25_sk(sk); in x25_init_timers() local 31 timer_setup(&x25->timer, x25_timer_expiry, 0); in x25_init_timers() 49 struct x25_sock *x25 = x25_sk(sk); in x25_start_t2timer() local 51 mod_timer(&x25->timer, jiffies + x25->t2); in x25_start_t2timer() 56 struct x25_sock *x25 = x25_sk(sk); in x25_start_t21timer() local 58 mod_timer(&x25->timer, jiffies + x25->t21); in x25_start_t21timer() 63 struct x25_sock *x25 = x25_sk(sk); in x25_start_t22timer() local 65 mod_timer(&x25->timer, jiffies + x25->t22); in x25_start_t22timer() 70 struct x25_sock *x25 = x25_sk(sk); in x25_start_t23timer() local [all …]
|
H A D | af_x25.c | 33 #define pr_fmt(fmt) "X25: " fmt 57 #include <net/x25.h> 65 int sysctl_x25_forward = 0; 93 rc = 0; in x25_parse_address_block() 98 needed = 1 + ((len >> 4) + (len & 0x0f) + 1) / 2; in x25_parse_address_block() 110 *called_addr->x25_addr = 0; in x25_parse_address_block() 111 *calling_addr->x25_addr = 0; in x25_parse_address_block() 124 called_len = (*p >> 0) & 0x0F; in x25_addr_ntoa() 125 calling_len = (*p >> 4) & 0x0F; in x25_addr_ntoa() 131 for (i = 0; i < (called_len + calling_len); i++) { in x25_addr_ntoa() [all …]
|
H A D | x25_proc.c | 21 #include <net/x25.h> 57 return 0; in x25_seq_route_show() 81 struct x25_sock *x25; in x25_seq_socket_show() local 91 x25 = x25_sk(s); in x25_seq_socket_show() 93 if (!x25->neighbour || !x25->neighbour->dev) in x25_seq_socket_show() 96 devname = x25->neighbour->dev->name; in x25_seq_socket_show() 100 !x25->dest_addr.x25_addr[0] ? "*" : x25->dest_addr.x25_addr, in x25_seq_socket_show() 101 !x25->source_addr.x25_addr[0] ? "*" : x25->source_addr.x25_addr, in x25_seq_socket_show() 102 devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, in x25_seq_socket_show() 103 x25->va, x25_display_timer(s) / HZ, x25->t2 / HZ, in x25_seq_socket_show() [all …]
|
H A D | x25_facilities.c | 19 #define pr_fmt(fmt) "X25: " fmt 25 #include <net/x25.h> 37 * 0 - Parse OK, this skb has no facilities 38 * >0 - Parse OK, returns the length of the facilities header 47 *vc_fac_mask = 0; in x25_parse_facilities() 52 * give userspace who read incoming call facilities 0 length to indicate in x25_parse_facilities() 55 dte_facs->calling_len = 0; in x25_parse_facilities() 56 dte_facs->called_len = 0; in x25_parse_facilities() 57 memset(dte_facs->called_ae, '\0', sizeof(dte_facs->called_ae)); in x25_parse_facilities() 58 memset(dte_facs->calling_ae, '\0', sizeof(dte_facs->calling_ae)); in x25_parse_facilities() [all …]
|
/linux/drivers/video/fbdev/sis/ |
H A D | oem300.h | 55 {0x08,0x08,0x08,0x08}, 56 {0x08,0x08,0x08,0x08}, 57 {0x08,0x08,0x08,0x08}, 58 {0x2c,0x2c,0x2c,0x2c}, 59 {0x08,0x08,0x08,0x08}, 60 {0x08,0x08,0x08,0x08}, 61 {0x08,0x08,0x08,0x08}, 62 {0x20,0x20,0x20,0x20} 67 {0x20,0x20,0x20,0x20}, 68 {0x20,0x20,0x20,0x20}, [all …]
|
H A D | oem310.h | 55 0x00,0x00,0x00, /* 800x600 */ 56 0x0b,0x0b,0x0b, /* 1024x768 */ 57 0x08,0x08,0x08, /* 1280x1024 */ 58 0x00,0x00,0x00, /* 640x480 (unknown) */ 59 0x00,0x00,0x00, /* 1024x600 (unknown) */ 60 0x00,0x00,0x00, /* 1152x864 (unknown) */ 61 0x08,0x08,0x08, /* 1280x960 (guessed) */ 62 0x00,0x00,0x00, /* 1152x768 (unknown) */ 63 0x08,0x08,0x08, /* 1400x1050 */ 64 0x08,0x08,0x08, /* 1280x768 (guessed) */ [all …]
|
/linux/drivers/mtd/spi-nor/ |
H A D | sst.c | 12 #define SST_WRITE BIT(0) 26 if (ofs != 0 || len != nor->params->size) in sst26vf_nor_unlock() 33 if (!(nor->bouncebuf[0] & SST26VF_CR_BPNV)) { in sst26vf_nor_unlock() 56 return 0; in sst26vf_nor_late_init() 65 .id = SNOR_ID(0x62, 0x16, 0x12), 71 .id = SNOR_ID(0x62, 0x16, 0x13), 77 .id = SNOR_ID(0xbf, 0x25, 0x01), 84 .id = SNOR_ID(0xbf, 0x25, 0x02), 91 .id = SNOR_ID(0xbf, 0x25, 0x03), 98 .id = SNOR_ID(0xbf, 0x25, 0x04), [all …]
|
/linux/Documentation/admin-guide/ |
H A D | svga.rst | 31 NORMAL_VGA - Standard 80x25 mode available on all display adapters. 37 0..35 - Menu item number (when you have used the menu to view the list of 39 to use). 0..9 correspond to "0".."9", 10..35 to "a".."z". Warning: the 44 0x.... - Hexadecimal video mode ID (also displayed on the menu, see below 55 the standard 80x25 mode. 61 0 0F00 80x25 62 1 0F01 80x50 63 2 0F02 80x43 64 3 0F03 80x26 74 "0 0F00 80x25" means that the first menu item (the menu items are numbered [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 …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | descriptors_wacom.py | 5 0x05, 0x01, # . Usage Page (Desktop), 6 0x09, 0x02, # . Usage (Mouse), 7 0xA1, 0x01, # . Collection (Application), 8 0x85, 0x01, # . Report ID (1), 9 0x09, 0x01, # . Usage (Pointer), 10 0xA1, 0x00, # . Collection (Physical), 11 0x05, 0x09, # . Usage Page (Button), 12 0x19, 0x01, # . Usage Minimum (01h), 13 0x29, 0x03, # . Usage Maximum (03h), 14 0x15, 0x00, # . Logical Minimum (0), [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/crypto/ |
H A D | aesgcm.c | 43 * Returns: 0 on success, or -EINVAL if @keysize or @authsize contain values 60 return 0; in aesgcm_expandkey() 67 while (len > 0) { in aesgcm_ghash() 114 while (len > 0) { in aesgcm_crypt() 221 "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 226 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 243 "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 248 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" 275 "\xd9\x31\x32\x25\xf8\x84\x06\xe5" 280 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25" [all...] |
H A D | curve25519-fiat32.c | 18 * entries t[0]...t[9], represents the integer t[0]+2^26 t[1]+2^51 t[2]+2^77 41 h[0] = a0&((1<<26)-1); /* 26 used, 32-26 left. 26 */ in fe_frombytes_impl() 104 t = -!!t; /* all set if nonzero, 0 if 0 */ in cmovznz32() 119 { const u32 x2 = in1[0]; in fe_freeze() 120 { u32 x20; u8/*bool*/ x21 = subborrow_u26(0x0, x2, 0x3ffffed, &x20); in fe_freeze() 121 { u32 x23; u8/*bool*/ x24 = subborrow_u25(x21, x4, 0x1ffffff, &x23); in fe_freeze() 122 { u32 x26; u8/*bool*/ x27 = subborrow_u26(x24, x6, 0x3ffffff, &x26); in fe_freeze() 123 { u32 x29; u8/*bool*/ x30 = subborrow_u25(x27, x8, 0x1ffffff, &x29); in fe_freeze() 124 { u32 x32; u8/*bool*/ x33 = subborrow_u26(x30, x10, 0x3ffffff, &x32); in fe_freeze() 125 { u32 x35; u8/*bool*/ x36 = subborrow_u25(x33, x12, 0x1ffffff, &x35); in fe_freeze() [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 …]
|
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-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 …]
|
/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/knightslanding/ |
H A D | uncore-io.json | 4 "Counter": "0,1,2,3", 5 "EventCode": "0x25", 8 "UMask": "0x1", 13 "Counter": "0,1,2,3", 14 "EventCode": "0x25", 17 "UMask": "0x8", 22 "Counter": "0,1,2,3", 23 "EventCode": "0x25", 26 "UMask": "0x2", 31 "Counter": "0,1,2,3", [all …]
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_7322_regs.h | 35 #define QIB_7322_Revision_OFFS 0x0 36 #define QIB_7322_Revision_DEF 0x0000000002010601 37 #define QIB_7322_Revision_R_Simulator_LSB 0x3F 38 #define QIB_7322_Revision_R_Simulator_MSB 0x3F 39 #define QIB_7322_Revision_R_Simulator_RMASK 0x1 40 #define QIB_7322_Revision_R_Emulation_LSB 0x3E 41 #define QIB_7322_Revision_R_Emulation_MSB 0x3E 42 #define QIB_7322_Revision_R_Emulation_RMASK 0x1 43 #define QIB_7322_Revision_R_Emulation_Revcode_LSB 0x28 44 #define QIB_7322_Revision_R_Emulation_Revcode_MSB 0x3D [all …]
|
/linux/drivers/hid/bpf/progs/ |
H A D | Huion__Kamvas-Pro-19.bpf.c | 10 #define VID_HUION 0x256C 11 #define PID_KAMVAS_PRO_19 0x006B 30 0x05, 0x0d, // Usage Page (Digitizers) 0 31 0x09, 0x02, // Usage (Pen) 2 32 0xa1, 0x01, // Collection (Application) 4 33 0x85, 0x0a, // Report ID (10) 6 34 0x09, 0x20, // Usage (Stylus) 8 35 0xa1, 0x01, // Collection (Application) 10 36 0x09, 0x42, // Usage (Tip Switch) 12 37 0x09, 0x44, // Usage (Barrel Switch) 14 [all …]
|
/linux/tools/perf/pmu-events/arch/x86/grandridge/ |
H A D | uncore-interconnect.json | 4 "Counter": "0,1,2,3", 5 "EventCode": "0x01", 12 "Counter": "0,1,2,3", 13 "EventCode": "0x16", 16 "UMask": "0x1", 21 "Counter": "0,1,2,3", 22 "EventCode": "0x18", 25 "UMask": "0x1", 30 "Counter": "0,1,2,3", 31 "EventCode": "0x24", [all …]
|