/openbmc/linux/Documentation/userspace-api/media/rc/ |
H A 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 …]
|
H A 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.
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/Boot/ |
H A D | PostCode.interface.yaml | 9 It is used to indicate number of boot cycles that have post codes 20 Method to get the cached post codes of the indicated boot cycle with 26 Index indicates which boot cycle of post codes is requested. 1 30 - name: Codes 33 An array of post codes and timestamp in microseconds since epoch 36 Method to get the cached post codes of the indicated boot cycle. 41 Index indicates which boot cycle of post codes is requested. 1 45 - name: Codes 48 An array of post codes of one boot cycle.
|
/openbmc/linux/lib/zlib_inflate/ |
H A 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 …]
|
/openbmc/u-boot/lib/zlib/ |
H A D | inftrees.c | 22 The code lengths are lens[0..codes-1]. The result starts at *table, 25 to be generated, CODES, LENS, or DISTS. On return, zero is success, 32 int inflate_table(codetype type, unsigned short FAR *lens, unsigned codes, in inflate_table() argument 42 int left; /* number of prefix codes available */ in inflate_table() 54 unsigned short count[MAXBITS+1]; /* number of codes of each length */ in inflate_table() 56 static const unsigned short lbase[31] = { /* Length codes 257..285 base */ in inflate_table() 59 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ in inflate_table() 62 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ in inflate_table() 66 static const unsigned short dext[32] = { /* Distance codes 0..29 extra */ in inflate_table() 73 code lengths are lens[0..codes-1]. Each length corresponds to the in inflate_table() [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A 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() 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 …]
|
/openbmc/linux/lib/ |
H A 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 …]
|
/openbmc/openbmc/poky/meta/recipes-support/iso-codes/ |
H A D | iso-codes_4.17.0.bb | 1 SUMMARY = "ISO language, territory, currency, script codes and their translations" 5 HOMEPAGE = "https://salsa.debian.org/iso-codes-team/iso-codes" 6 BUGTRACKER = "https://salsa.debian.org/iso-codes-team/iso-codes/issues" 11 SRC_URI = "git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=https;branch=main;"
|
/openbmc/linux/Documentation/input/ |
H A 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 …]
|
/openbmc/docs/designs/ |
H A D | redfish-postcodes.md | 1 # Logging BIOS POST Codes Through Redfish 11 BIOS Power-On Self-Test (POST) codes are exposed on DBUS but not currently over 12 Redfish. This describes a method to expose the BIOS POST codes over the Redfish 18 POST codes. An additional log service (PostCodes) will be added to the 117 The Redfish interface shall expose POST codes tracked on DBUS since the last BMC 122 Currently, OpenBMC exposes BIOS POST codes on DBus using the 124 POST codes for the past 100 host boot events and the current boot cycle index. 134 codes for the boot cycle. 190 "result": "POST Codes Cleared" 199 cycle exposing a string with all POST codes associated with that boot cycle. [all …]
|
H A D | boot-progress.md | 82 PLDM boot progress codes 96 Different OpenBMC systems could support different boot progress codes, and 118 A lot of system BIOS's provided some form of a detailed boot progress codes. 119 UEFI has POST codes, POWER has istep progress codes. If more fine grained 121 is just high level boot progress. Note that these POST/istep codes could be 127 Each system will need to document which `BootProgress` codes they support and
|
/openbmc/linux/drivers/staging/media/imx/ |
H A 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 …]
|
/openbmc/qemu/chardev/ |
H A D | wctablet.c | 124 uint8_t codes[8] = { 0xe0, 0, 0, 0, 0, 0, 0 }; in wctablet_queue_event() local 133 codes[0] = codes[0] | WC_H2(newX); in wctablet_queue_event() 134 codes[1] = codes[1] | WC_M7(newX); in wctablet_queue_event() 135 codes[2] = codes[2] | WC_L7(newX); in wctablet_queue_event() 137 codes[3] = codes[3] | WC_H2(nexY); in wctablet_queue_event() 138 codes[4] = codes[4] | WC_M7(nexY); in wctablet_queue_event() 139 codes[5] = codes[5] | WC_L7(nexY); in wctablet_queue_event() 142 codes[0] = 0xa0; in wctablet_queue_event() 145 wctablet_queue_output(tablet, codes, 7); in wctablet_queue_event() 275 uint8_t codes[7] = { in wctablet_chr_write() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/ |
H A D | lircd.conf | 4 # raw codes provided to run mode2 utility. 24 begin codes 66 end codes 88 begin codes 137 end codes 156 begin codes 205 end codes 238 begin codes 313 end codes
|
/openbmc/linux/drivers/scsi/bnx2fc/ |
H A 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 …]
|
/openbmc/linux/drivers/scsi/qedf/ |
H A 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 …]
|
/openbmc/u-boot/fs/jffs2/ |
H A D | mini_inflate.c | 37 stream->codes.bits = 8; in init_stream() 38 stream->codes.num_symbols = 19; in init_stream() 39 stream->codes.lengths = stream->code_lengths; in init_stream() 40 stream->codes.symbols = stream->code_symbols; in init_stream() 41 stream->codes.count = stream->code_count; in init_stream() 42 stream->codes.first = stream->code_first; in init_stream() 43 stream->codes.pos = stream->code_pos; in init_stream() 138 * huffman codes */ 211 /* read in the huffman codes for dynamic decoding (section 3.2.7) */ 224 struct huffman_set *codes = &(stream->codes); in decompress_dynamic() local [all …]
|
/openbmc/linux/Documentation/i2c/ |
H A 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
|
/openbmc/qemu/ui/ |
H A D | input-keymap.c | 65 int *codes) in qemu_input_key_value_to_scancode() argument 74 codes[count++] = 0xe1; in qemu_input_key_value_to_scancode() 75 codes[count++] = 0x1d | v; in qemu_input_key_value_to_scancode() 76 codes[count++] = 0x45 | v; in qemu_input_key_value_to_scancode() 80 codes[count++] = SCANCODE_EMUL0; in qemu_input_key_value_to_scancode() 86 codes[count++] = keycode; in qemu_input_key_value_to_scancode()
|
/openbmc/phosphor-post-code-manager/src/ |
H A D | post_code.cpp | 53 decltype(postCodes) codes; in getPostCodes() local 54 deserializePostCodes(postCodeListPath / std::to_string(bootNum), codes); in getPostCodes() 55 std::transform(codes.begin(), codes.end(), std::back_inserter(codesVec), in getPostCodes() 70 decltype(postCodes) codes; in getPostCodesWithTimeStamp() local 71 deserializePostCodes(postCodeListPath / std::to_string(bootNum), codes); in getPostCodesWithTimeStamp() 72 return codes; in getPostCodesWithTimeStamp() 216 std::map<uint64_t, postcode_t>& codes) in deserializePostCodes() argument 224 iarchive(codes); in deserializePostCodes()
|
/openbmc/linux/drivers/media/i2c/ |
H A 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 …]
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A 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
|
/openbmc/linux/drivers/scsi/bnx2i/ |
H A 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) */
|
/openbmc/openbmc-test-automation/redfish/systems/LogServices/ |
H A D | test_post_codes.robot | 32 Log To Console BIOS POST Codes count: ${post_codes['Members@odata.count']} 33 Should Be True ${post_codes['Members@odata.count']} >= 1 msg=No BIOS POST Codes populated. 40 # Boot to runtime and clear post codes. 50 Log To Console BIOS POST Codes count: ${post_codes['Members@odata.count']} 51 Should Be True ${post_codes['Members@odata.count']} >= 1 msg=No BIOS POST Codes populated. 58 # Boot to runtime and clear post codes. 68 Log To Console BIOS POST Codes count: ${post_codes['Members@odata.count']} 70 ... msg=BIOS POST Codes populated.
|
/openbmc/u-boot/include/ |
H A D | input.h | 24 * This table translates key codes to ASCII. Most of the entries are ASCII 25 * codes, but entries after KEY_FIRST_MOD indicate that this key is a 69 * Convert a list of key codes into ASCII and send them 72 * @param keycode List of key codes to examine 73 * @param num_keycodes Number of key codes 105 * @param xlate Conversion table from key codes to ASCII 153 * Keyboards which do their own scanning will resend codes when they want to
|