Home
last modified time | relevance | path

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

12345678910>>...21

/linux/Documentation/userspace-api/media/rc/
A Dkeytable.c.rst33 void prtcode (int *codes)
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];
98 prtcode(codes);
155 // printf("\\t%04x=%04x\\n",codes[0], codes[1]);
162 prtcode(codes);
171 if (!ioctl(fd, EVIOCGKEYCODE, codes) && codes[1] != KEY_RESERVED)
[all …]
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
/linux/drivers/input/keyboard/
A Ddlink-dir685-touchkeys.c24 u16 codes[7]; member
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()
89 tk->codes[5] = KEY_WPS_BUTTON; in dir685_tk_probe()
94 tk->codes[6] = KEY_RESERVED; in dir685_tk_probe()
97 for (i = 0; i < ARRAY_SIZE(tk->codes); i++) in dir685_tk_probe()
[all …]
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()
/linux/drivers/staging/media/imx/
A Dimx-media-utils.c19 .codes = IMX_BUS_FMTS(
27 .codes = IMX_BUS_FMTS(
74 .codes = IMX_BUS_FMTS(
135 .codes = IMX_BUS_FMTS(
146 .codes = IMX_BUS_FMTS(
157 .codes = IMX_BUS_FMTS(
168 .codes = IMX_BUS_FMTS(
179 .codes = IMX_BUS_FMTS(
318 if (!fmt->codes) in imx_media_enum_pixel_formats()
326 if (!fmt->codes[j]) in imx_media_enum_pixel_formats()
[all …]
/linux/Documentation/filesystems/bcachefs/
A Derrorcodes.rst3 bcachefs private error codes
7 codes (-EINVAL, -EBUSY, etc.). Instead, we define private error codes as needed
11 direct uses of standard error codes you see in the source code are simply old
14 Private error codes may subtype another error code, this allows for grouping of
23 Do not reuse error codes! Generally speaking, a private error code should only
27 Try to give error codes names that are as reasonably descriptive of the error
29 where the error was generated; good names for error codes mean much more
/linux/drivers/media/i2c/
A Dir-kbd-i2c.c406 u8 codes[61]; member
539 u8 codes[174]; in zilog_ir_format() local
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()
619 copy_codes(code_block->codes, codes, leading); in zilog_ir_format()
621 copy_codes(code_block->codes + leading + 1, codes + leading, in zilog_ir_format()
624 code_block->codes[c++] = 0xc0; in zilog_ir_format()
632 code_block->codes[0] = 0x82; in zilog_ir_format()
[all …]
/linux/drivers/media/platform/nxp/
A Dimx7-media-csi.c199 const u32 *codes; member
860 .codes = IMX_BUS_FMTS(
868 .codes = IMX_BUS_FMTS(
989 if (!fmt->codes) in imx7_csi_find_mbus_format()
992 for (j = 0; fmt->codes[j]; j++) { in imx7_csi_find_mbus_format()
993 if (code == fmt->codes[j]) in imx7_csi_find_mbus_format()
1018 if (!fmt->codes) in imx7_csi_enum_mbus_formats()
1021 for (j = 0; fmt->codes[j]; j++) { in imx7_csi_enum_mbus_formats()
1023 *code = fmt->codes[j]; in imx7_csi_enum_mbus_formats()
1067 if (!fmt->codes) in imx7_csi_video_enum_fmt_vid_cap()
[all …]
/linux/Documentation/input/
A Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
32 Codes section for details on valid codes for each type.
86 Event codes
89 Event codes define the precise type of event.
130 A few EV_KEY codes have special meanings:
190 instead of EV_REL codes.
192 A few EV_REL codes have special meanings:
200 see REL_WHEEL_HI_RES. These event codes are legacy codes and
224 A few EV_ABS codes have special meanings:
[all …]
/linux/Documentation/driver-api/usb/
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
/linux/Documentation/i2c/
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
/linux/Documentation/userspace-api/gpio/
A Dgpio-get-chipinfo-ioctl.rst41 Common error codes are described in error-codes.rst.
A Derror-codes.rst13 .. 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
A Dgpio-get-lineinfo-unwatch-ioctl.rst49 Common error codes are described in error-codes.rst.
A Dgpio-v2-get-lineinfo-ioctl.rst50 Common error codes are described in error-codes.rst.
A Dgpio-get-lineinfo-ioctl.rst54 Common error codes are described in error-codes.rst.
A Dgpio-handle-set-line-values-ioctl.rst55 Common error codes are described in error-codes.rst.
A Dgpio-v2-line-set-values-ioctl.rst54 Common error codes are described in error-codes.rst.
/linux/drivers/media/i2c/adv748x/
A Dadv748x-csi2.c182 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/
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
/linux/lib/zlib_inflate/
A Dinftrees.c23 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/
A Dvsp1_entity.c176 const unsigned int *codes, unsigned int ncodes) in vsp1_subdev_enum_mbus_code() argument
184 code->code = codes[code->index]; in vsp1_subdev_enum_mbus_code()
290 const unsigned int *codes, unsigned int ncodes, in vsp1_subdev_set_pad_format() argument
322 if (fmt->format.code == codes[i]) in vsp1_subdev_set_pad_format()
326 format->code = i < ncodes ? codes[i] : codes[0]; in vsp1_subdev_set_pad_format()
/linux/Documentation/devicetree/bindings/input/
A Dqcom,pm8941-pwrkey.yaml42 Use the linux event codes defined in
43 include/dt-bindings/input/linux-event-codes.h
/linux/Documentation/userspace-api/media/
A Dgen-errors.rst14 .. 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
/linux/Documentation/userspace-api/media/dvb/
A Dlegacy_dvb_audio.rst501 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 …]

Completed in 36 milliseconds

12345678910>>...21