| /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
|
| /linux/drivers/input/keyboard/ |
| H A D | dlink-dir685-touchkeys.c | 25 u16 codes[7]; member 31 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread() 53 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 …]
|
| H A D | ipaq-micro-keys.c | 26 u16 *codes; member 50 input_report_key(keys->input, keys->codes[key], down); in micro_key_receive() 105 keys->codes = devm_kmemdup_array(&pdev->dev, micro_keycodes, keys->input->keycodemax, in micro_key_probe() 107 if (!keys->codes) in micro_key_probe() 110 keys->input->keycode = keys->codes; in micro_key_probe()
|
| /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 …]
|
| /linux/drivers/media/platform/renesas/rzg2l-cru/ |
| H A D | rzg2l-ip.c | 16 .codes = { 25 .codes = { 34 .codes = { 43 .codes = { 52 .codes = { 61 .codes = { 73 .codes = { 85 .codes = { 103 for (j = 0; j < ARRAY_SIZE(rzg2l_cru_ip_formats[i].codes); j++) { in rzg2l_cru_ip_code_to_fmt() 104 if (rzg2l_cru_ip_formats[i].codes[j] == code) in rzg2l_cru_ip_code_to_fmt() [all …]
|
| /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() 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 …]
|
| /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 …]
|
| /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
|
| /linux/Documentation/i2c/ |
| H A D | fault-codes.rst | 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/Documentation/userspace-api/gpio/ |
| H A D | gpio-get-chipinfo-ioctl.rst | 41 Common error codes are described in error-codes.rst.
|
| H A D | error-codes.rst | 13 .. flat-table:: Common GPIO error codes 73 #. This list is not exhaustive; ioctls may return other error codes. 78 #. Request-specific error codes are listed in the individual
|
| H A D | gpio-get-lineinfo-unwatch-ioctl.rst | 49 Common error codes are described in error-codes.rst.
|
| H A D | gpio-v2-get-lineinfo-ioctl.rst | 50 Common error codes are described in error-codes.rst.
|
| H A D | gpio-get-lineinfo-ioctl.rst | 54 Common error codes are described in error-codes.rst.
|
| H A D | gpio-v2-line-set-values-ioctl.rst | 54 Common error codes are described in error-codes.rst.
|
| H A D | gpio-handle-set-line-values-ioctl.rst | 55 Common error codes are described in error-codes.rst.
|
| H A D | gpio-v2-line-get-values-ioctl.rst | 58 Common error codes are described in error-codes.rst.
|
| /linux/drivers/media/i2c/adv748x/ |
| H A D | adv748x-csi2.c | 182 const unsigned int *codes = is_txa(tx) ? in adv748x_csi2_enum_mbus_code() local 207 code->code = codes[code->index]; in adv748x_csi2_enum_mbus_code() 214 const unsigned int *codes = is_txa(tx) ? in adv748x_csi2_is_fmt_supported() local 221 if (codes[i] == code) in adv748x_csi2_is_fmt_supported()
|
| /linux/Documentation/admin-guide/media/ |
| H A 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/lib/zlib_inflate/ |
| H A D | inftrees.c | 23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument 95 for (sym = 0; sym < codes; sym++) in zlib_inflate_table() 132 for (sym = 0; sym < codes; sym++) in zlib_inflate_table()
|
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_entity.c | 195 const unsigned int *codes, unsigned int ncodes) in vsp1_subdev_enum_mbus_code() argument 203 code->code = codes[code->index]; in vsp1_subdev_enum_mbus_code() 309 const unsigned int *codes, unsigned int ncodes, in vsp1_subdev_set_pad_format() argument 341 if (fmt->format.code == codes[i]) in vsp1_subdev_set_pad_format() 345 format->code = i < ncodes ? codes[i] : codes[0]; in vsp1_subdev_set_pad_format()
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | legacy_dvb_audio.rst | 501 appropriately. The generic error codes are described at the 552 appropriately. The generic error codes are described at the 605 appropriately. The generic error codes are described at the 657 appropriately. The generic error codes are described at the 720 appropriately. The generic error codes are described at the 794 appropriately. The generic error codes are described at the 865 appropriately. The generic error codes are described at the 938 appropriately. The generic error codes are described at the 1000 appropriately. The generic error codes are described at the 1059 appropriately. The generic error codes are described at the [all …]
|
| H A D | legacy_dvb_video.rst | 875 appropriately. The generic error codes are described at the 930 appropriately. The generic error codes are described at the 990 appropriately. The generic error codes are described at the 1045 appropriately. The generic error codes are described at the 1114 appropriately. The generic error codes are described at the 1183 appropriately. The generic error codes are described at the 1242 appropriately. The generic error codes are described at the 1314 appropriately. The generic error codes are described at the 1390 appropriately. The generic error codes are described at the 1457 appropriately. The generic error codes are described at the [all …]
|
| /linux/Documentation/userspace-api/media/ |
| H A D | gen-errors.rst | 14 .. flat-table:: Generic error codes 88 #. This list is not exhaustive; ioctls may return other error codes. 93 #. Request-specific error codes are listed in the individual
|