| /linux-6.15/arch/s390/kernel/ |
| H A D | dis.c | 357 cp = code + operand->shift / 8; in extract_operand() 375 val |= (code[4] & 8) << 1; in extract_operand() 377 val |= (code[4] & 4) << 2; in extract_operand() 379 val |= (code[4] & 2) << 3; in extract_operand() 381 val |= (code[4] & 1) << 4; in extract_operand() 413 if (entry->opcode == code[0]) in find_insn() 439 insn = find_insn(code); in print_insn() 507 unsigned char code[64]; in show_code() local 578 opsize = insn_length(*code); in print_fn_code() 587 ptr += print_insn(ptr, code, (unsigned long) code); in print_fn_code() [all …]
|
| /linux-6.15/tools/testing/selftests/pidfd/ |
| H A D | pidfd_fdinfo_test.c | 22 int code; member 26 static int error_set(struct error *err, int code, const char *fmt, ...) in error_set() argument 31 if (code == PIDFD_PASS || !err || err->code != PIDFD_PASS) in error_set() 32 return code; in error_set() 34 err->code = code; in error_set() 40 return code; in error_set() 45 switch (err->code) { in error_report() 71 test_name, err->code, err->msg); in error_report() 79 if (err->code == PIDFD_ERROR) in error_check() 82 return err->code; in error_check()
|
| /linux-6.15/arch/arm/mm/ |
| H A D | fault.c | 183 int code, struct pt_regs *regs) in __do_user_fault() argument 268 int sig, code; in do_page_fault() local 325 code = SEGV_ACCERR; in do_page_fault() 352 code = SEGV_MAPERR; in do_page_fault() 363 code = SEGV_ACCERR; in do_page_fault() 397 code = SEGV_MAPERR; in do_page_fault() 422 code = BUS_ADRERR; in do_page_fault() 564 int code; member 577 int sig, int code, const char *name) in hook_fault_code() argument 584 fsr_info[nr].code = code; in hook_fault_code() [all …]
|
| /linux-6.15/drivers/staging/media/imx/ |
| H A D | imx-ic-prp.c | 105 switch (code->pad) { in prp_enum_mbus_code() 107 ret = imx_media_enum_ipu_formats(&code->code, code->index, in prp_enum_mbus_code() 112 if (code->index != 0) { in prp_enum_mbus_code() 117 code->which); in prp_enum_mbus_code() 118 code->code = infmt->code; in prp_enum_mbus_code() 161 u32 code; in prp_set_fmt() local 184 imx_media_enum_ipu_formats(&code, 0, in prp_set_fmt() 186 cc = imx_media_find_ipu_format(code, in prp_set_fmt() 188 sdformat->format.code = cc->codes[0]; in prp_set_fmt() 451 u32 code; in prp_registered() local [all …]
|
| /linux-6.15/tools/testing/selftests/sched_ext/ |
| H A D | hotplug.c | 48 long kind, code; in test_hotplug() local 63 code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | HOTPLUG_EXIT_RSN; in test_hotplug() 65 code |= HOTPLUG_ONLINING; in test_hotplug() 68 code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | in test_hotplug() 89 SCX_EQ(UEI_REPORT(skel, uei), code); in test_hotplug() 105 long kind, code; in test_hotplug_attach() local 129 code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | in test_hotplug_attach() 132 SCX_EQ(UEI_REPORT(skel, uei), code); in test_hotplug_attach()
|
| /linux-6.15/drivers/hid/ |
| H A D | hid-input.c | 263 switch (code) { in hidinput_calc_abs_res() 672 int max = 0, code; in hidinput_configure_usage() local 744 if (code <= 0xf) in hidinput_configure_usage() 750 if (code <= 0xf) in hidinput_configure_usage() 776 map_key(code); in hidinput_configure_usage() 1379 while (usage->code <= max && test_and_set_bit(usage->code, bit)) { in hidinput_configure_usage() 1418 for (i = usage->code; i < usage->code + 2 && i <= max; i++) { in hidinput_configure_usage() 1445 usage->code = 0; in hidinput_configure_usage() 1452 int code; in hidinput_handle_scroll() local 1459 code = REL_WHEEL; in hidinput_handle_scroll() [all …]
|
| /linux-6.15/drivers/media/platform/nxp/imx8-isi/ |
| H A D | imx8-isi-pipe.c | 399 if (code->pad == MXC_ISI_PIPE_PAD_SOURCE) { in mxc_isi_pipe_enum_mbus_code() 412 if (code->index) in mxc_isi_pipe_enum_mbus_code() 415 code->code = info->output; in mxc_isi_pipe_enum_mbus_code() 422 if (code->index > 1) in mxc_isi_pipe_enum_mbus_code() 425 code->code = output_codes[code->index]; in mxc_isi_pipe_enum_mbus_code() 431 index = code->index; in mxc_isi_pipe_enum_mbus_code() 440 code->code = info->mbus_code; in mxc_isi_pipe_enum_mbus_code() 480 mf->code = info->mbus_code; in mxc_isi_pipe_set_fmt() 500 format->code = info->output; in mxc_isi_pipe_set_fmt() 517 mf->code = info->output; in mxc_isi_pipe_set_fmt() [all …]
|
| /linux-6.15/arch/arm/boot/dts/samsung/ |
| H A D | exynos4412-smdk4412.dts | 81 linux,code = <2>; 87 linux,code = <3>; 93 linux,code = <4>; 99 linux,code = <5>; 105 linux,code = <6>; 111 linux,code = <30>; 117 linux,code = <48>; 123 linux,code = <46>; 129 linux,code = <32>; 135 linux,code = <18>;
|
| /linux-6.15/arch/mips/tools/ |
| H A D | loongson3-llsc-check.c | 141 static int check_ll(uint64_t pc, uint32_t *code, size_t sz) in check_ll() argument 151 if (!is_sync(le32toh(code[-1]))) { in check_ll() 159 if (is_sc(le32toh(code[sc_pos]))) in check_ll() 173 if (!is_branch(le32toh(code[i]), &off)) in check_ll() 184 if (is_sync(le32toh(code[i + off]))) in check_ll() 196 static int check_code(uint64_t pc, uint32_t *code, size_t sz) in check_code() argument 207 if (is_ll(le32toh(code[0]))) { in check_code() 214 code++, \ in check_code() 227 if (is_ll(le32toh(code[0]))) in check_code() 228 err |= check_ll(pc, code, sz); in check_code()
|
| /linux-6.15/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566-anbernic-rg353x.dtsi | 28 linux,code = <ABS_X>; 36 linux,code = <ABS_RX>; 44 linux,code = <ABS_Y>; 52 linux,code = <ABS_RY>; 133 linux,code = <BTN_EAST>; 139 linux,code = <BTN_DPAD_LEFT>; 145 linux,code = <BTN_DPAD_RIGHT>; 151 linux,code = <BTN_THUMBL>; 157 linux,code = <BTN_THUMBR>; 163 linux,code = <BTN_WEST>;
|
| /linux-6.15/include/trace/events/ |
| H A D | signal.h | 16 __entry->code = SI_USER; \ 19 __entry->code = SI_KERNEL; \ 22 __entry->code = info->si_code; \ 60 __field( int, code ) 77 __entry->sig, __entry->errno, __entry->code, 105 __field( int, code ) 118 __entry->sig, __entry->errno, __entry->code,
|
| H A D | icmp.h | 13 TP_PROTO(const struct sk_buff *skb, int type, int code), 15 TP_ARGS(skb, type, code), 20 __field(int, code) 36 __entry->code = code; 58 __entry->type, __entry->code,
|
| /linux-6.15/lib/zlib_deflate/ |
| H A D | deftree.c | 177 int code; /* code value */ in tr_static_init() local 186 for (code = 0; code < LENGTH_CODES-1; code++) { in tr_static_init() 187 base_length[code] = length; in tr_static_init() 197 length_code[length-1] = (uch)code; in tr_static_init() 201 for (code = 0 ; code < 16; code++) { in tr_static_init() 202 base_dist[code] = dist; in tr_static_init() 209 for ( ; code < D_CODES; code++) { in tr_static_init() 210 base_dist[code] = dist << 7; in tr_static_init() 456 next_code[bits] = code = (code + bl_count[bits-1]) << 1; in gen_codes() 984 code = length_code[lc]; [all …]
|
| /linux-6.15/drivers/input/keyboard/ |
| H A D | maple_keyb.c | 85 int code, keycode; in dc_scan_kbd() local 89 code = i + 224; in dc_scan_kbd() 90 keycode = kbd->keycode[code]; in dc_scan_kbd() 97 code = kbd->old[i]; in dc_scan_kbd() 98 if (code > 3 && ptr == NULL) { in dc_scan_kbd() 99 keycode = kbd->keycode[code]; in dc_scan_kbd() 106 code); in dc_scan_kbd() 109 code = kbd->new[i]; in dc_scan_kbd() 110 if (code > 3 && ptr) { in dc_scan_kbd() 111 keycode = kbd->keycode[code]; in dc_scan_kbd() [all …]
|
| H A D | pxa27x_keypad.c | 155 unsigned short code; in pxa27x_keypad_direct_key_parse_dt() local 200 code = be16_to_cpup(prop + i); in pxa27x_keypad_direct_key_parse_dt() 202 __set_bit(code, input_dev->keybit); in pxa27x_keypad_direct_key_parse_dt() 213 unsigned int code, proplen; in pxa27x_keypad_rotary_parse_dt() local 227 relcode = code & 0xffff; in pxa27x_keypad_rotary_parse_dt() 231 relcode = code >> 16; in pxa27x_keypad_rotary_parse_dt() 245 code = be32_to_cpup(prop); in pxa27x_keypad_rotary_parse_dt() 250 if ((!(code & 0xffff) || !(code >> 16)) && relkey_ret) { in pxa27x_keypad_rotary_parse_dt() 256 keycode = code & 0xffff; in pxa27x_keypad_rotary_parse_dt() 260 keycode = code >> 16; in pxa27x_keypad_rotary_parse_dt() [all …]
|
| /linux-6.15/drivers/media/platform/st/stm32/stm32-dcmipp/ |
| H A D | dcmipp-input.c | 173 .code = MEDIA_BUS_FMT_RGB565_2X8_LE, 198 struct v4l2_subdev_mbus_code_enum *code) in dcmipp_inp_enum_mbus_code() argument 201 dcmipp_inp_pix_map_by_index(code->index, code->pad); in dcmipp_inp_enum_mbus_code() 206 code->code = IS_SRC(code->pad) ? vpix->code_src : vpix->code_sink; in dcmipp_inp_enum_mbus_code() 222 IS_SRC(fse->pad) ? fse->code : 0); in dcmipp_inp_enum_frame_size() 241 IS_SRC(pad) ? fmt->code : 0); in dcmipp_inp_adjust_fmt() 243 fmt->code = fmt_default.code; in dcmipp_inp_adjust_fmt() 248 fmt->code = fmt_default.code; in dcmipp_inp_adjust_fmt() 279 mf->width, mf->height, mf->code, in dcmipp_inp_set_fmt() 340 vpix = dcmipp_inp_pix_map_by_code(sink_fmt->code, src_fmt->code); in dcmipp_inp_configure_parallel() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_subdev.c | 55 u32 code; member 70 return compressed_codes[i].code; in atomisp_subdev_uncompressed_code() 72 return code; in atomisp_subdev_uncompressed_code() 75 bool atomisp_subdev_is_compressed(u32 code) in atomisp_subdev_is_compressed() argument 80 if (code == atomisp_in_fmt_conv[i].code) in atomisp_subdev_is_compressed() 92 if (code == atomisp_in_fmt_conv[i].code) in atomisp_find_in_fmt_conv() 119 return atomisp_is_mbuscode_raw(sink->code) in atomisp_subdev_format_conversion() 185 code->code = atomisp_in_fmt_conv[code->index].code; in isp_subdev_enum_mbus_code() 498 ffmt->code = fc->code; in atomisp_subdev_set_ffmt() 500 ffmt->code); in atomisp_subdev_set_ffmt() [all …]
|
| /linux-6.15/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-ufispace-ncplite.dts | 41 linux,code = <ASPEED_GPIO(M, 2)>; 47 linux,code = <ASPEED_GPIO(V, 4)>; 53 linux,code = <ASPEED_GPIO(V, 1)>; 59 linux,code = <ASPEED_GPIO(V, 2)>; 65 linux,code = <ASPEED_GPIO(P, 2)>; 71 linux,code = <ASPEED_GPIO(N, 3)>; 77 linux,code = <ASPEED_GPIO(V, 5)>; 114 linux,code = <2>; 120 linux,code = <6>; 126 linux,code = <10>; [all …]
|
| /linux-6.15/include/net/ |
| H A D | icmp.h | 39 void __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info, 41 static inline void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) in icmp_send() argument 43 __icmp_send(skb_in, type, code, info, &IPCB(skb_in)->opt); in icmp_send() 47 void icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info); 49 static inline void icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info) in icmp_ndo_send() argument 52 __icmp_send(skb_in, type, code, info, &opts); in icmp_ndo_send()
|
| /linux-6.15/include/linux/input/ |
| H A D | sparse-keymap.h | 35 u32 code; member 39 u8 code; member 46 unsigned int code); 48 unsigned int code); 56 bool sparse_keymap_report_event(struct input_dev *dev, unsigned int code,
|
| /linux-6.15/Documentation/translations/zh_CN/rust/ |
| H A D | coding-guidelines.rst | 48 .. code-block:: rust 56 .. code-block:: rust 65 .. code-block:: rust 83 .. code-block:: rust 106 .. code-block:: rust 162 .. code-block:: rust 168 .. code-block:: rust 187 .. code-block:: c 194 .. code-block:: rust
|
| /linux-6.15/Documentation/arch/arm/ |
| H A D | kernel_mode_neon.rst | 8 code 9 * Isolate your NEON code in a separate compilation unit, and compile it with 12 NEON code 13 * Don't sleep in your NEON code, and be aware that it will be executed with 56 * NEON/VFP code is not allowed in interrupt context; 57 * NEON/VFP code is not allowed to sleep; 58 * NEON/VFP code is executed with preemption disabled. 66 VFP and support code 79 Separating NEON code from ordinary code 108 NEON code generated by GCC [all …]
|
| /linux-6.15/drivers/staging/greybus/ |
| H A D | Kconfig | 11 To compile this code as a module, chose M here: the module 22 To compile this code as a module, chose M here: the module 32 To compile this code as a module, chose M here: the module 42 To compile this code as a module, chose M here: the module 52 To compile this code as a module, chose M here: the module 62 To compile this code as a module, chose M here: the module 72 To compile this code as a module, chose M here: the module 81 To compile this code as a module, chose M here: the module 90 To compile this code as a module, chose M here: the module 100 To compile this code as a module, chose M here: the module [all …]
|
| /linux-6.15/net/netfilter/ |
| H A D | xt_tcpudp.c | 169 u8 type, u8 code) in type_code_in_range() argument 171 return type == test_type && code >= min_code && code <= max_code; in type_code_in_range() 175 u8 type, u8 code, bool invert) in icmp_type_code_match() argument 178 type_code_in_range(test_type, min_code, max_code, type, code)) in icmp_type_code_match() 183 u8 type, u8 code, bool invert) in icmp6_type_code_match() argument 185 return type_code_in_range(test_type, min_code, max_code, type, code) ^ invert; in icmp6_type_code_match() 209 icmpinfo->code[0], in icmp_match() 210 icmpinfo->code[1], in icmp_match() 211 ic->type, ic->code, in icmp_match() 236 icmpinfo->code[0], in icmp6_match() [all …]
|
| /linux-6.15/drivers/media/i2c/ |
| H A D | s5k6a3.c | 83 .code = MEDIA_BUS_FMT_SGRBG10_1X10, 95 if (mf->code == s5k6a3_formats[i].code) in find_sensor_format() 103 struct v4l2_subdev_mbus_code_enum *code) in s5k6a3_enum_mbus_code() argument 105 if (code->index >= ARRAY_SIZE(s5k6a3_formats)) in s5k6a3_enum_mbus_code() 108 code->code = s5k6a3_formats[code->index].code; in s5k6a3_enum_mbus_code() 117 mf->code = fmt->code; in s5k6a3_try_format() 324 sensor->format.code = s5k6a3_formats[0].code; in s5k6a3_probe()
|