Home
last modified time | relevance | path

Searched full:codes (Results 1 – 25 of 2820) sorted by relevance

12345678910>>...113

/kernel/linux/linux-4.19/Documentation/media/uapi/rc/
Dkeytable.c.rst33 void prtcode (int *codes)
38 if (p->value == (unsigned)codes[1]) {
39 printf("scancode 0x%04x = %s (0x%02x)\\n", codes[0], p->name, codes[1]);
44 if (isprint (codes[1]))
45 printf("scancode %d = '%c' (0x%02x)\\n", codes[0], codes[1], codes[1]);
47 printf("scancode %d = 0x%02x\\n", codes[0], codes[1]);
66 int codes[2];
91 codes [0] = (unsigned) strtol(argv[2], NULL, 0);
92 codes [1] = (unsigned) value;
94 if(ioctl(fd, EVIOCSKEYCODE, codes))
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/
Dkeytable.c.rst33 void prtcode (int *codes)
38 if (p->value == (unsigned)codes[1]) {
39 printf("scancode 0x%04x = %s (0x%02x)\\n", codes[0], p->name, codes[1]);
44 if (isprint (codes[1]))
45 printf("scancode %d = '%c' (0x%02x)\\n", codes[0], codes[1], codes[1]);
47 printf("scancode %d = 0x%02x\\n", codes[0], codes[1]);
66 int codes[2];
91 codes [0] = (unsigned) strtol(argv[2], NULL, 0);
92 codes [1] = (unsigned) value;
94 if(ioctl(fd, EVIOCSKEYCODE, codes))
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/cascadelakex/
Dother.json11 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
24 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
37 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
50 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
63 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
76 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
89 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
102 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
115 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
128 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
Dmemory.json11 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
24 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
37 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
51 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
65 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
79 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
92 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
106 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
120 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
134 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
Dcache.json12 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
26 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
40 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
54 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
78 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
92 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
118 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
132 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
166 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
180 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
/kernel/linux/linux-4.19/lib/zlib_inflate/
Dinftrees.c13 The code lengths are lens[0..codes-1]. The result starts at *table,
16 to be generated, CODES, LENS, or DISTS. On return, zero is success,
23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument
32 int left; /* number of prefix codes available */ in zlib_inflate_table()
44 unsigned short count[MAXBITS+1]; /* number of codes of each length */ in zlib_inflate_table()
46 static const unsigned short lbase[31] = { /* Length codes 257..285 base */ in zlib_inflate_table()
49 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ in zlib_inflate_table()
52 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ in zlib_inflate_table()
56 static const unsigned short dext[32] = { /* Distance codes 0..29 extra */ in zlib_inflate_table()
63 code lengths are lens[0..codes-1]. Each length corresponds to the in zlib_inflate_table()
[all …]
/kernel/linux/linux-5.10/lib/zlib_inflate/
Dinftrees.c13 The code lengths are lens[0..codes-1]. The result starts at *table,
16 to be generated, CODES, LENS, or DISTS. On return, zero is success,
23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument
32 int left; /* number of prefix codes available */ in zlib_inflate_table()
44 unsigned short count[MAXBITS+1]; /* number of codes of each length */ in zlib_inflate_table()
46 static const unsigned short lbase[31] = { /* Length codes 257..285 base */ in zlib_inflate_table()
49 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ in zlib_inflate_table()
52 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ in zlib_inflate_table()
56 static const unsigned short dext[32] = { /* Distance codes 0..29 extra */ in zlib_inflate_table()
63 code lengths are lens[0..codes-1]. Each length corresponds to the in zlib_inflate_table()
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Ddlink-dir685-touchkeys.c24 u16 codes[7]; member
30 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread()
52 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread()
83 tk->input->keycodemax = ARRAY_SIZE(tk->codes); in dir685_tk_probe()
84 tk->input->keycode = tk->codes; in dir685_tk_probe()
85 tk->codes[0] = KEY_UP; in dir685_tk_probe()
86 tk->codes[1] = KEY_DOWN; in dir685_tk_probe()
87 tk->codes[2] = KEY_LEFT; in dir685_tk_probe()
88 tk->codes[3] = KEY_RIGHT; in dir685_tk_probe()
89 tk->codes[4] = KEY_ENTER; in dir685_tk_probe()
[all …]
/kernel/linux/linux-4.19/drivers/input/keyboard/
Ddlink-dir685-touchkeys.c23 u16 codes[7]; member
29 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread()
51 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread()
82 tk->input->keycodemax = ARRAY_SIZE(tk->codes); in dir685_tk_probe()
83 tk->input->keycode = tk->codes; in dir685_tk_probe()
84 tk->codes[0] = KEY_UP; in dir685_tk_probe()
85 tk->codes[1] = KEY_DOWN; in dir685_tk_probe()
86 tk->codes[2] = KEY_LEFT; in dir685_tk_probe()
87 tk->codes[3] = KEY_RIGHT; in dir685_tk_probe()
88 tk->codes[4] = KEY_ENTER; in dir685_tk_probe()
[all …]
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/broadwell/
Dmemory.json433 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
446 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
459 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
472 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
485 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
498 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
511 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
524 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
537 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
550 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
Dcache.json393 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
774 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
787 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
800 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
813 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
826 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
839 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
852 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
865 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
878 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
/kernel/linux/linux-5.10/Documentation/input/
Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
8 The input protocol uses a map of types and codes to express input device values
9 to userspace. This document describes the types and codes and how and when they
19 of event codes have changed. However, the state is maintained within the Linux
30 Event types are groupings of codes under a logical input construct. Each
31 type has a set of applicable codes to be used in generating events. See the
32 Codes section for details on valid codes for each type.
86 Event codes
89 Event codes define the precise type of event.
[all …]
/kernel/linux/linux-4.19/lib/
Dinflate.c22 matches (of at least length 3), it codes the next byte. Otherwise, it
23 codes the length of the matched string and its distance backwards from
24 the current position. There is a single Huffman code that codes both
26 code codes the distance information, which follows a length code. Each
45 an encoding of the literal/length and distance Huffman codes that are
49 a predefined set of codes, called the fixed codes. The fixed method is
50 used if the block codes up smaller that way (usually for quite small
52 codes are customized to the probabilities in the current block, and so
53 can code it much better than the pre-determined fixed codes.
55 The Huffman codes themselves are decoded using a multi-level table
[all …]
/kernel/linux/linux-5.10/lib/
Dinflate.c22 matches (of at least length 3), it codes the next byte. Otherwise, it
23 codes the length of the matched string and its distance backwards from
24 the current position. There is a single Huffman code that codes both
26 code codes the distance information, which follows a length code. Each
45 an encoding of the literal/length and distance Huffman codes that are
49 a predefined set of codes, called the fixed codes. The fixed method is
50 used if the block codes up smaller that way (usually for quite small
52 codes are customized to the probabilities in the current block, and so
53 can code it much better than the pre-determined fixed codes.
55 The Huffman codes themselves are decoded using a multi-level table
[all …]
/kernel/linux/linux-4.19/Documentation/input/
Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
8 The input protocol uses a map of types and codes to express input device values
9 to userspace. This document describes the types and codes and how and when they
19 of event codes have changed. However, the state is maintained within the Linux
30 Event types are groupings of codes under a logical input construct. Each
31 type has a set of applicable codes to be used in generating events. See the
32 Codes section for details on valid codes for each type.
86 Event codes
89 Event codes define the precise type of event.
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/skylakex/
Dmemory.json11 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
24 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
47 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
60 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
73 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
95 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
118 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
141 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
154 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
167 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
Dcache.json11 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
34 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
67 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
112 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
125 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
138 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
194 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
207 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
253 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
266 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
/kernel/linux/linux-4.19/drivers/staging/media/imx/
Dimx-media-utils.c18 * mbus codes) must all fall at the end of the table.
24 .codes = {
32 .codes = {
78 .codes = {MEDIA_BUS_FMT_RGB565_2X8_LE},
84 .codes = {
92 .codes = {MEDIA_BUS_FMT_ARGB8888_1X32},
100 .codes = {MEDIA_BUS_FMT_SBGGR8_1X8},
106 .codes = {MEDIA_BUS_FMT_SGBRG8_1X8},
112 .codes = {MEDIA_BUS_FMT_SGRBG8_1X8},
118 .codes = {MEDIA_BUS_FMT_SRGGB8_1X8},
[all …]
/kernel/linux/linux-4.19/drivers/scsi/bnx2fc/
Dbnx2fc_constants.h31 /* KWQ (kernel work queue) request op codes */
45 /* KCQ (kernel completion queue) response op codes */
203 /* Error codes for Error Reporting in slow path flows */
207 /* Error codes for Error Reporting in fast path flows
208 * XFER error codes
220 /* FCP RSP error codes */
233 /* FCP DATA error codes */
244 /* Middle path error codes */
254 /* ABTS error codes */
261 /* Common error codes */
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
Dbnx2fc_constants.h31 /* KWQ (kernel work queue) request op codes */
45 /* KCQ (kernel completion queue) response op codes */
203 /* Error codes for Error Reporting in slow path flows */
207 /* Error codes for Error Reporting in fast path flows
208 * XFER error codes
220 /* FCP RSP error codes */
233 /* FCP DATA error codes */
244 /* Middle path error codes */
254 /* ABTS error codes */
261 /* Common error codes */
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx-media-utils.c19 .codes = IMX_BUS_FMTS(
27 .codes = IMX_BUS_FMTS(
60 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_AYUV8_1X32),
68 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_RGB565_2X8_LE),
74 .codes = IMX_BUS_FMTS(
86 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_ARGB8888_1X32),
91 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_ARGB8888_1X32),
111 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SBGGR8_1X8),
117 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SGBRG8_1X8),
123 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SGRBG8_1X8),
[all …]
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/skylakex/
Dmemory.json468 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
481 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
494 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
507 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
520 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
533 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
546 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
559 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
572 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
585 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
Dcache.json391 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
394 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
744 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
757 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
770 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
783 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
796 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
809 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
822 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
835 … a specific pair of event select and counter MSR, and with specific event codes and predefine mask…
[all …]
/kernel/linux/linux-4.19/drivers/scsi/qedf/
Dqedf_hsi.h229 * FCoE fast path error codes
232 FCOE_ERROR_CODE_XFER_OOO_RO /* XFER error codes */,
241 FCOE_ERROR_CODE_FCP_RSP_BIDI_FLAGS_SET /* FCP RSP error codes */,
250 FCOE_ERROR_CODE_DATA_OOO_RO /* FCP DATA error codes */,
259 FCOE_ERROR_CODE_MIDPATH_INVALID_TYPE /* Middle path error codes */,
267 FCOE_ERROR_CODE_COMMON_MIDDLE_FRAME_WITH_PAD /* Common error codes */,
279 FCOE_ERROR_CODE_E_D_TOV_TIMER_EXPIRATION /* Timer error codes */,
280 FCOE_WARNING_CODE_REC_TOV_TIMER_EXPIRATION /* Timer error codes */,
281 FCOE_ERROR_CODE_RR_TOV_TIMER_EXPIRATION /* Timer error codes */,
313 * FCoE slow path error codes
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_hsi.h226 * FCoE fast path error codes
229 FCOE_ERROR_CODE_XFER_OOO_RO /* XFER error codes */,
238 FCOE_ERROR_CODE_FCP_RSP_BIDI_FLAGS_SET /* FCP RSP error codes */,
247 FCOE_ERROR_CODE_DATA_OOO_RO /* FCP DATA error codes */,
256 FCOE_ERROR_CODE_MIDPATH_INVALID_TYPE /* Middle path error codes */,
264 FCOE_ERROR_CODE_COMMON_MIDDLE_FRAME_WITH_PAD /* Common error codes */,
276 FCOE_ERROR_CODE_E_D_TOV_TIMER_EXPIRATION /* Timer error codes */,
277 FCOE_WARNING_CODE_REC_TOV_TIMER_EXPIRATION /* Timer error codes */,
278 FCOE_ERROR_CODE_RR_TOV_TIMER_EXPIRATION /* Timer error codes */,
310 * FCoE slow path error codes
[all …]

12345678910>>...113