Home
last modified time | relevance | path

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

123

/drivers/input/keyboard/
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 …]
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()
/drivers/staging/media/imx/
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 …]
/drivers/media/i2c/
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 …]
/drivers/media/platform/nxp/
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 …]
/drivers/media/platform/renesas/vsp1/
Dvsp1_entity.c245 const unsigned int *codes, unsigned int ncodes) in vsp1_subdev_enum_mbus_code() argument
253 code->code = codes[code->index]; in vsp1_subdev_enum_mbus_code()
360 const unsigned int *codes, unsigned int ncodes, in vsp1_subdev_set_pad_format() argument
392 if (fmt->format.code == codes[i]) in vsp1_subdev_set_pad_format()
396 format->code = i < ncodes ? codes[i] : codes[0]; in vsp1_subdev_set_pad_format()
Dvsp1_rwpf.c34 static const unsigned int codes[] = { in vsp1_rwpf_enum_mbus_code() local
40 if (code->index >= ARRAY_SIZE(codes)) in vsp1_rwpf_enum_mbus_code()
43 code->code = codes[code->index]; in vsp1_rwpf_enum_mbus_code()
Dvsp1_entity.h179 const unsigned int *codes, unsigned int ncodes,
185 const unsigned int *codes, unsigned int ncodes);
Dvsp1_sru.c112 static const unsigned int codes[] = { in sru_enum_mbus_code() local
117 return vsp1_subdev_enum_mbus_code(subdev, sd_state, code, codes, in sru_enum_mbus_code()
118 ARRAY_SIZE(codes)); in sru_enum_mbus_code()
Dvsp1_uds.c117 static const unsigned int codes[] = { in uds_enum_mbus_code() local
122 return vsp1_subdev_enum_mbus_code(subdev, sd_state, code, codes, in uds_enum_mbus_code()
123 ARRAY_SIZE(codes)); in uds_enum_mbus_code()
Dvsp1_brx.c71 static const unsigned int codes[] = { in brx_enum_mbus_code() local
76 return vsp1_subdev_enum_mbus_code(subdev, sd_state, code, codes, in brx_enum_mbus_code()
77 ARRAY_SIZE(codes)); in brx_enum_mbus_code()
/drivers/mtd/nand/
DKconfig45 codes are more powerful and cpu intensive than traditional Hamming
46 ECC codes. They are used with NAND devices requiring more than 1 bit
/drivers/message/fusion/lsi/
Dmpi_history.txt47 * 12-04-00 01.01.02 Added new function codes.
56 * Added function codes for RAID.
73 * 04-29-04 01.02.12 Added function codes for MPI_FUNCTION_DIAG_BUFFER_POST
78 * Added codes for Inband.
81 * Added new function codes and new IOCStatus codes.
88 * 03-11-05 01.05.07 Removed function codes for SCSI IO 32 and
90 * Removed EEDP IOCStatus codes.
91 * 06-24-05 01.05.08 Added function codes for SCSI IO 32 and
93 * Added EEDP IOCStatus codes.
95 * 08-30-05 01.05.10 Added 2 new IOCStatus codes for Target.
[all …]
/drivers/staging/media/av7110/
Daudio-stop.rst47 appropriately. The generic error codes are described at the
Daudio-continue.rst47 appropriately. The generic error codes are described at the
Daudio-play.rst47 appropriately. The generic error codes are described at the
Daudio-clear-buffer.rst47 appropriately. The generic error codes are described at the
Daudio-set-mixer.rst52 appropriately. The generic error codes are described at the
Dvideo-clear-buffer.rst53 appropriately. The generic error codes are described at the
Daudio-get-status.rst53 appropriately. The generic error codes are described at the
Daudio-get-capabilities.rst53 appropriately. The generic error codes are described at the
/drivers/staging/rtl8723bs/
DTODO4 - find codes that can use %pM and %Nph formatting
/drivers/input/
Devdev.c957 const void __user *codes, in evdev_set_mask() argument
974 error = bits_from_user(mask, cnt - 1, codes_size, codes, compat); in evdev_set_mask()
993 void __user *codes, in evdev_get_mask() argument
1011 xfer_size, codes, compat); in evdev_get_mask()
1017 if (put_user(0xffU, (u8 __user *)codes + i)) in evdev_get_mask()
1023 if (clear_user(codes + xfer_size, codes_size - xfer_size)) in evdev_get_mask()
/drivers/media/platform/qcom/camss/
Dcamss-csid.c48 u32 csid_find_code(u32 *codes, unsigned int ncodes, in csid_find_code() argument
58 if (codes[i] == match_code) in csid_find_code()
62 return codes[i]; in csid_find_code()
65 return codes[0]; in csid_find_code()
/drivers/input/misc/
Dkeyspan_remote.c128 char codes[4 * RECV_SIZE]; in keyspan_print() local
132 snprintf(codes + i * 3, 4, "%02x ", dev->in_buffer[i]); in keyspan_print()
134 dev_info(&dev->udev->dev, "%s\n", codes); in keyspan_print()

123