Home
last modified time | relevance | path

Searched refs:codes (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/openbmc/linux/Documentation/userspace-api/media/rc/
H A 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 …]
H A Dlirc-set-transmitter-mask.rst13 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
/openbmc/linux/drivers/input/keyboard/
H A 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()
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 …]
H A Dipaq-micro-keys.c26 u16 *codes; member
50 input_report_key(keys->input, keys->codes[key], down); in micro_key_receive()
105 keys->codes = devm_kmemdup(&pdev->dev, micro_keycodes, in micro_key_probe()
108 if (!keys->codes) in micro_key_probe()
111 keys->input->keycode = keys->codes; in micro_key_probe()
/openbmc/qemu/chardev/
H A Dwctablet.c124 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/linux/drivers/staging/media/imx/
H A 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 …]
/openbmc/openbmc/poky/meta/recipes-support/iso-codes/
H A Diso-codes_4.17.0.bb1 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/u-boot/fs/jffs2/
H A Dmini_inflate.c37 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()
224 struct huffman_set *codes = &(stream->codes); in decompress_dynamic() local
235 init_code_tables(codes); in decompress_dynamic()
243 codes->lengths[huffman_order[i]] = length; in decompress_dynamic()
[all …]
/openbmc/qemu/ui/
H A Dinput-keymap.c65 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/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/
H A Dlircd.conf24 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/media/i2c/
H A Dir-kbd-i2c.c406 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()
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()
613 if (leading >= ARRAY_SIZE(code_block->codes) - 3 - rep) { in zilog_ir_format()
619 copy_codes(code_block->codes, codes, leading); in zilog_ir_format()
620 code_block->codes[leading] = 0x82; in zilog_ir_format()
[all …]
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Derror_code_test.cpp22 constexpr std::array<unsigned, 7> codes = {100, 200, 300, 400, variable
24 for (auto code : codes)
33 constexpr std::array<unsigned, 7> codes = {100, 200, 300, 400, variable
35 for (auto code : codes)
47 constexpr std::array<unsigned, 7> codes = {100, 200, 300, 400, 401}; variable
48 for (auto code : codes)
57 constexpr std::array<unsigned, 7> codes = {100, 200, 300, 400, 402}; variable
58 for (auto code : codes)
/openbmc/phosphor-post-code-manager/src/
H A Dpost_code.cpp53 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/docs/designs/
H A Dredfish-postcodes.md11 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.
199 cycle exposing a string with all POST codes associated with that boot cycle.
202 Consideration was also given to expose the POST codes through a OEM extension
204 discouraged. It can be revisited if DMTF adds a schema for POST codes.
H A Dboot-progress.md82 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/media/platform/nxp/
H A Dimx7-media-csi.c184 const u32 *codes; member
845 .codes = IMX_BUS_FMTS(
853 .codes = IMX_BUS_FMTS(
863 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SBGGR8_1X8),
867 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SGBRG8_1X8),
871 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SGRBG8_1X8),
875 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SRGGB8_1X8),
879 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SBGGR10_1X10),
883 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SGBRG10_1X10),
887 .codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_SGRBG10_1X10),
[all …]
/openbmc/linux/Documentation/input/
H A 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 …]
/openbmc/linux/Documentation/driver-api/usb/
H A Derror-codes.rst1 .. _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/openbmc/meta-openembedded/meta-gnome/recipes-connectivity/geary/
H A Dgeary_46.0.bb20 iso-codes \
52 -Diso_639_xml=${datadir}/xml/iso-codes/iso_639.xml \
53 -Diso_3166_xml=${datadir}/xml/iso-codes/iso_3166.xml \
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-lib/
H A Dxcb-util-errors_1.0.1.bb3 SUMMARY = "xcb-util-errors gives human readable names to error codes and event codes"
/openbmc/google-misc/subprojects/nemora-postd/
H A Devent_message.proto34 // Zero or more POST codes. Some codes may be missed because the host can
35 // send out codes faster than the EC handles them. While standard values are
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/
H A D0001-Fix-build-with-musl.patch13 __delete_old_previous_sample_data return codes and FTW_STOP,
14 FTW_CONTINUE for such return codes. Musl supports only POSIX ftw, so
19 by standard return codes {1,0} (more precisely standard defines
/openbmc/linux/Documentation/i2c/
H A Dfault-codes.rst6 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/openbmc/meta-openembedded/meta-gnome/recipes-support/ibus/
H A Dibus-native.bb8 iso-codes \
13 # for allarch iso-codes
/openbmc/linux/Documentation/admin-guide/media/
H A Dremote-controller.rst14 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

12345678910>>...25