/Linux-v6.1/Documentation/userspace-api/media/rc/ |
D | keytable.c.rst | 33 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 …]
|
D | lirc-set-transmitter-mask.rst | 13 LIRC_SET_TRANSMITTER_MASK - Enables send codes on a given set of transmitters 37 send IR codes. 50 appropriately. The generic error codes are described at the 51 :ref:`Generic Error Codes <gen-errors>` chapter.
|
/Linux-v6.1/lib/zlib_inflate/ |
D | inftrees.c | 13 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 …]
|
/Linux-v6.1/drivers/input/keyboard/ |
D | dlink-dir685-touchkeys.c | 24 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 …]
|
/Linux-v6.1/lib/ |
D | inflate.c | 22 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 …]
|
/Linux-v6.1/Documentation/input/ |
D | event-codes.rst | 1 .. _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 …]
|
/Linux-v6.1/drivers/staging/media/imx/ |
D | imx-media-utils.c | 19 .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 …]
|
D | imx7-media-csi.c | 180 * the set of equivalent media bus codes for the fourcc. 181 * NOTE! codes pointer is NULL for in-memory-only formats. 183 const u32 *codes; member 814 .codes = IMX_BUS_FMTS( 822 .codes = IMX_BUS_FMTS( 832 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SBGGR8_1X8), 836 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SGBRG8_1X8), 840 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SGRBG8_1X8), 844 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SRGGB8_1X8), 848 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SBGGR10_1X10), [all …]
|
/Linux-v6.1/drivers/scsi/bnx2fc/ |
D | bnx2fc_constants.h | 31 /* 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 …]
|
/Linux-v6.1/drivers/scsi/qedf/ |
D | qedf_hsi.h | 226 * 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 …]
|
/Linux-v6.1/Documentation/i2c/ |
D | fault-codes.rst | 2 I2C/SMBUS Fault Codes 6 codes in the I2C/SMBus stack. 21 In short, your I2C driver code may need to know these codes in order 26 I2C and SMBus fault codes 34 codes that may be returned, and other cases where these codes should 35 be returned. However, drivers should not return other codes for these 38 Also, codes returned by adapter probe methods follow rules which are
|
/Linux-v6.1/drivers/media/i2c/ |
D | ir-kbd-i2c.c | 406 u8 codes[61]; member 539 u8 codes[174]; in zilog_ir_format() local 547 if (c >= ARRAY_SIZE(codes) - 1) { in zilog_ir_format() 570 codes[c++] = (p << 4) | s; in zilog_ir_format() 590 codes[c++] = (p << 4) | s; in zilog_ir_format() 592 dev_dbg(&rcdev->dev, "generated %d codes\n", c); in zilog_ir_format() 595 * Are the last N codes (so pulse + space) repeating 3 times? in zilog_ir_format() 596 * if so we can shorten the codes list and use code 0xc0 to repeat in zilog_ir_format() 602 if (!memcmp(&codes[c - rep * 3], &codes[c - rep * 2], rep) && in zilog_ir_format() 603 !cmp_no_trail(&codes[c - rep], &codes[c - rep * 2], rep)) { in zilog_ir_format() [all …]
|
/Linux-v6.1/Documentation/driver-api/usb/ |
D | error-codes.rst | 1 .. _usb-error-codes: 3 USB Error codes 8 This is the documentation of (hopefully) all possible error codes (and 17 Error codes returned by :c:func:`usb_submit_urb` 80 Error codes returned by ``in urb->status`` or in ``iso_frame_desc[n].status`` (for ISO) 97 may report more status codes. 180 Error codes like ``-EPROTO``, ``-EILSEQ`` and ``-EOVERFLOW`` normally 186 This is also one of several codes that different kinds of host 193 Error codes returned by usbcore-functions 196 .. note:: expect also other submit and transfer status codes
|
/Linux-v6.1/drivers/scsi/bnx2i/ |
D | 57xx_iscsi_constants.h | 21 /* iSCSI request op codes */ 24 /* iSCSI response/messages op codes */ 36 /* KWQ (kernel work queue) layer codes */ 39 /* KWQ (kernel work queue) request op codes */ 47 /* KCQ (kernel completion queue) response op codes */ 136 /* Page size codes (for flags field in connection offload request) */
|
/Linux-v6.1/drivers/scsi/lpfc/ |
D | lpfc_nl.h | 74 /* subcategory codes for FC_REG_ELS_EVENT */ 103 /* subcategory codes for FC_REG_FABRIC_EVENT */ 126 /* subcategory codes for FC_REG_SCSI_EVENT */ 151 /* event codes for FC_REG_BOARD_EVENT */ 161 /* event codes for FC_REG_ADAPTER_EVENT */ 171 /* event codes for temp_event */
|
/Linux-v6.1/Documentation/driver-api/surface_aggregator/clients/ |
D | dtx.rst | 155 Error Codes and Status Values 158 Error and status codes are divided into different categories, which can be 172 - Non-error status codes. 184 - Unknown error codes. 191 Unknown status or error codes sent by the EC are assigned to the ``UNKNOWN`` 195 Currently used error codes are: 197 .. flat-table:: Overview of Error Codes. 231 Other error codes are reserved for future use. Non-error status codes may 234 .. flat-table:: Latch Status Codes. 253 .. flat-table:: Base State Codes. [all …]
|
/Linux-v6.1/drivers/media/rc/keymaps/ |
D | rc-dib0700-nec.c | 6 // TODO: This table is a real mess, as it merges RC codes from several 7 // devices into a big table. It also has both RC-5 and NEC codes inside. 17 /* Key codes for the Pixelview SBTVD remote */ 48 /* Key codes for the EvolutePC TVWay+ remote */ 60 /* Key codes for the Elgato EyeTV Diversity silver remote */
|
D | rc-dib0700-rc5.c | 6 // TODO: This table is a real mess, as it merges RC codes from several 7 // devices into a big table. It also has both RC-5 and NEC codes inside. 17 /* Key codes for the tiny Pinnacle remote*/ 44 /* Key codes for the Terratec Cinergy DT XS Diversity, similar to cinergyT2.c */ 94 /* Key codes for the Haupauge WinTV Nova-TD, copied from nova-t-usb2.c (Nova-T USB2) */ 141 /* Key codes for the Leadtek Winfast DTV Dongle */ 170 /* Key codes for Nova-TD "credit card" remote control. */
|
/Linux-v6.1/Documentation/userspace-api/media/ |
D | gen-errors.rst | 6 Generic Error Codes 14 .. flat-table:: Generic error codes 90 #. This list is not exhaustive; ioctls may return other error codes. 95 #. Request-specific error codes are listed in the individual
|
/Linux-v6.1/rust/kernel/ |
D | error.rs | 9 /// Contains the C-compatible error codes. 17 /// The kernel defines a set of integer generic error codes based on C and 18 /// POSIX ones. These codes may have a more specific meaning in some contexts. 43 /// # Error codes in C and Rust
|
/Linux-v6.1/drivers/media/platform/renesas/vsp1/ |
D | vsp1_entity.c | 235 * @codes: Array of supported media bus codes 236 * @ncodes: Number of supported media bus codes 240 * media bus codes on the sink pad and reports a source pad format identical to 246 const unsigned int *codes, unsigned int ncodes) in vsp1_subdev_enum_mbus_code() argument 254 code->code = codes[code->index]; in vsp1_subdev_enum_mbus_code() 345 * @codes: Array of supported media bus codes 346 * @ncodes: Number of supported media bus codes 361 const unsigned int *codes, unsigned int ncodes, in vsp1_subdev_set_pad_format() argument 393 if (fmt->format.code == codes[i]) in vsp1_subdev_set_pad_format() 397 format->code = i < ncodes ? codes[i] : codes[0]; in vsp1_subdev_set_pad_format()
|
/Linux-v6.1/drivers/net/ethernet/cavium/liquidio/ |
D | response_manager.h | 68 /** Error codes used in Octeon Host-Core communication. 74 * Error codes are 32-bit wide. The upper 16-bits, called Major Error Number, 78 * So error codes are (MAJOR NUMBER << 16)| MINOR_NUMBER. 81 /*------------ Error codes used by host driver -----------------*/ 83 /*------ Error codes used by firmware (bits 15..0 set by firmware */
|
/Linux-v6.1/include/uapi/linux/ |
D | icmpv6.h | 119 * Codes for Destination Unreachable 130 * Codes for Time Exceeded 136 * Codes for Parameter Problem 143 /* Codes for EXT_ECHO (PROBE) */
|
/Linux-v6.1/Documentation/admin-guide/media/ |
D | remote-controller.rst | 14 pulse/space sequences and then to scan codes, returning such codes to 27 switch the protocol and to test the reception of scan codes; 62 linux input layer (via event device). It also supports receiving IR codes
|
/Linux-v6.1/drivers/crypto/nx/ |
D | nx-842.h | 40 /* CCW Function Codes (FC) for 842 54 /* These are all duplicates of existing codes defined in icswx.h. */ 71 /* 842 codes */ 76 /* sym crypt codes */ 78 /* asym crypt codes */
|