Home
last modified time | relevance | path

Searched refs:code (Results 101 – 125 of 4688) sorted by relevance

12345678910>>...188

/linux-6.15/arch/arm64/boot/dts/rockchip/
H A Drk3566-anbernic-rg503.dts37 linux,code = <ABS_X>;
45 linux,code = <ABS_RX>;
53 linux,code = <ABS_Y>;
61 linux,code = <ABS_RY>;
206 linux,code = <BTN_EAST>;
212 linux,code = <BTN_DPAD_LEFT>;
224 linux,code = <BTN_TR>;
230 linux,code = <BTN_TR2>;
242 linux,code = <BTN_THUMBL>;
248 linux,code = <BTN_THUMBR>;
[all …]
H A Drk3326-odroid-go3.dts49 linux,code = <ABS_X>;
57 linux,code = <ABS_RX>;
65 linux,code = <ABS_Y>;
73 linux,code = <ABS_RY>;
105 linux,code = <KEY_VOLUMEDOWN>;
111 linux,code = <KEY_VOLUMEUP>;
124 linux,code = <BTN_SELECT>;
130 linux,code = <BTN_TR2>;
135 linux,code = <BTN_TL2>;
140 linux,code = <BTN_START>;
/linux-6.15/drivers/media/platform/ti/omap3isp/
H A Dispccdc.c816 if (!format->code) { in ccdc_config_vp()
2066 fmt->code = 0; in ccdc_try_format()
2140 switch (code->pad) { in ccdc_enum_mbus_code()
2145 code->code = ccdc_fmts[code->index]; in ccdc_enum_mbus_code()
2156 code->code = MEDIA_BUS_FMT_YUYV8_1X16; in ccdc_enum_mbus_code()
2158 code->code = MEDIA_BUS_FMT_UYVY8_1X16; in ccdc_enum_mbus_code()
2166 code->code = format->code; in ccdc_enum_mbus_code()
2189 code->code = format->code; in ccdc_enum_mbus_code()
2209 format.code = fse->code; in ccdc_enum_frame_size()
2216 if (format.code != fse->code) in ccdc_enum_frame_size()
[all …]
/linux-6.15/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-csi.c249 struct v4l2_subdev_mbus_code_enum *code) in rkisp1_csi_enum_mbus_code() argument
254 if (code->pad == RKISP1_CSI_PAD_SRC) { in rkisp1_csi_enum_mbus_code()
257 if (code->index) in rkisp1_csi_enum_mbus_code()
262 code->code = sink_fmt->code; in rkisp1_csi_enum_mbus_code()
277 if (code->index == pos) { in rkisp1_csi_enum_mbus_code()
278 code->code = fmt->mbus_code; in rkisp1_csi_enum_mbus_code()
299 sink_fmt->code = RKISP1_CSI_DEF_FMT; in rkisp1_csi_init_state()
320 sink_fmt->code = fmt->format.code; in rkisp1_csi_set_fmt()
322 mbus_info = rkisp1_mbus_info_get_by_code(sink_fmt->code); in rkisp1_csi_set_fmt()
324 sink_fmt->code = RKISP1_CSI_DEF_FMT; in rkisp1_csi_set_fmt()
[all …]
H A Drkisp1-resizer.c333 unsigned int index = code->index; in rkisp1_rsz_enum_mbus_code()
336 if (code->pad == RKISP1_RSZ_PAD_SRC) { in rkisp1_rsz_enum_mbus_code()
348 if (code->index > 0) in rkisp1_rsz_enum_mbus_code()
350 code->code = MEDIA_BUS_FMT_YUYV8_2X8; in rkisp1_rsz_enum_mbus_code()
369 code->code = fmt->mbus_code; in rkisp1_rsz_enum_mbus_code()
389 sink_fmt->code = RKISP1_DEF_FMT; in rkisp1_rsz_init_state()
424 src_fmt->code = format->code; in rkisp1_rsz_set_src_fmt()
485 sink_fmt->code = MEDIA_BUS_FMT_YUYV8_2X8; in rkisp1_rsz_set_sink_fmt()
487 sink_fmt->code = format->code; in rkisp1_rsz_set_sink_fmt()
491 sink_fmt->code = RKISP1_DEF_FMT; in rkisp1_rsz_set_sink_fmt()
[all …]
/linux-6.15/Documentation/rust/
H A Dcoding-guidelines.rst51 .. code-block:: rust
60 .. code-block:: rust
73 .. code-block:: rust
92 .. code-block:: rust
119 .. code-block:: rust
183 .. code-block:: rust
189 .. code-block:: rust
211 .. code-block:: c
218 .. code-block:: rust
242 .. code-block:: c
[all …]
/linux-6.15/arch/csky/mm/
H A Dfault.c100 static inline void bad_area_nosemaphore(struct pt_regs *regs, struct mm_struct *mm, int code, unsig… in bad_area_nosemaphore() argument
108 do_trap(regs, SIGSEGV, code, addr); in bad_area_nosemaphore()
115 static inline void vmalloc_fault(struct pt_regs *regs, int code, unsigned long addr) in vmalloc_fault() argument
125 do_trap(regs, SIGSEGV, code, addr); in vmalloc_fault()
194 int code = SEGV_MAPERR; in do_page_fault() local
215 vmalloc_fault(regs, code, addr); in do_page_fault()
242 bad_area_nosemaphore(regs, mm, code, addr); in do_page_fault()
250 code = SEGV_ACCERR; in do_page_fault()
254 bad_area_nosemaphore(regs, mm, code, addr); in do_page_fault()
/linux-6.15/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts41 linux,code = <BTN_EAST>;
48 linux,code = <BTN_SOUTH>;
62 linux,code = <BTN_TL>;
69 linux,code = <BTN_TL2>;
83 linux,code = <BTN_MODE>;
90 linux,code = <BTN_TR>;
97 linux,code = <BTN_TR2>;
111 linux,code = <BTN_SELECT>;
117 linux,code = <BTN_START>;
131 linux,code = <BTN_NORTH>;
[all …]
/linux-6.15/arch/arm/boot/dts/samsung/
H A Dexynos4210-smdkv310.dts100 linux,code = <2>;
106 linux,code = <3>;
112 linux,code = <4>;
118 linux,code = <5>;
124 linux,code = <6>;
130 linux,code = <30>;
136 linux,code = <48>;
142 linux,code = <46>;
148 linux,code = <32>;
154 linux,code = <18>;
/linux-6.15/include/acpi/
H A Dacexcep.h30 #define EXCEP_ENV(code) ((acpi_status) (code | AE_CODE_ENVIRONMENTAL)) argument
31 #define EXCEP_PGM(code) ((acpi_status) (code | AE_CODE_PROGRAMMER)) argument
32 #define EXCEP_TBL(code) ((acpi_status) (code | AE_CODE_ACPI_TABLES)) argument
33 #define EXCEP_AML(code) ((acpi_status) (code | AE_CODE_AML)) argument
34 #define EXCEP_CTL(code) ((acpi_status) (code | AE_CODE_CONTROL)) argument
/linux-6.15/arch/powerpc/lib/
H A Dtest-code-patching.c352 u32 code[32]; in test_multi_instruction_patching() local
379 ppc_inst_write(code, inst64); in test_multi_instruction_patching()
393 code[i] = i + 1; in test_multi_instruction_patching()
395 check(!patch_instructions(addr32 + 1, code, sizeof(code), false)); in test_multi_instruction_patching()
398 check(!memcmp(&addr32[1], code, sizeof(code))); in test_multi_instruction_patching()
399 check(addr32[ARRAY_SIZE(code) + 1] == 0); in test_multi_instruction_patching()
416 ppc_inst_write(code, inst64); in test_multi_instruction_patching()
430 code[i] = i + 1; in test_multi_instruction_patching()
432 check(!patch_instructions(addr32 + 1, code, sizeof(code), false)); in test_multi_instruction_patching()
435 check(!memcmp(&addr32[1], code, sizeof(code))); in test_multi_instruction_patching()
[all …]
/linux-6.15/Documentation/bpf/
H A Dmap_devmap.rst34 .. code-block:: c
64 .. code-block:: c
80 .. code-block:: c
89 .. code-block:: c
117 .. code-block:: c
127 .. code-block:: c
145 .. code-block:: c
157 .. code-block:: c
175 .. code-block:: c
188 .. code-block:: c
[all …]
/linux-6.15/Documentation/core-api/
H A Dfloating-point.rst6 Kernel code is normally prohibited from using floating-point (FP) registers or
11 However, occasionally drivers or library functions may need to include FP code.
12 This is supported by isolating the functions containing FP code to a separate
17 The reason for this isolation is to prevent the compiler from generating code
22 Usability of floating-point code within the kernel is architecture-specific.
34 Floating-point code may be built if the option ``ARCH_HAS_KERNEL_FPU_SUPPORT``
35 is enabled. For C code, such code must be placed in a separate file, and that
50 Normal kernel code is assumed to use the equivalent of ``CC_FLAGS_NO_FPU``.
56 from files implementing FP code (those with their compilation flags adjusted as
61 This function reports if floating-point code can be used on this CPU or
/linux-6.15/drivers/staging/media/imx/
H A Dimx-media-utils.c267 if (code == fmt->codes[j]) in imx_media_find_mbus_format()
290 enum imx_pixfmt_sel fmt_sel, u32 code) in imx_media_enum_pixel_formats() argument
315 if (code) { in imx_media_enum_pixel_formats()
322 if (code == fmt->codes[j]) in imx_media_enum_pixel_formats()
378 *code = fmt->codes[j]; in imx_media_enum_mbus_formats()
400 if (code == 0) in imx_media_init_mbus_fmt()
410 mbus->code = code; in imx_media_init_mbus_fmt()
475 cc = imx_media_find_ipu_format(tryfmt->code, in imx_media_try_colorimetry()
527 cc = imx_media_find_ipu_format(mbus->code, in imx_media_mbus_fmt_to_pix_fmt()
530 cc = imx_media_find_mbus_format(mbus->code, in imx_media_mbus_fmt_to_pix_fmt()
[all …]
/linux-6.15/drivers/media/platform/intel/
H A Dpxa_camera.c251 u32 code; member
589 u32 code, in pxa_mbus_find_fmtdesc() argument
596 if (lookup[i].code == code) in pxa_mbus_find_fmtdesc()
603 u32 code) in pxa_mbus_get_fmtdesc() argument
619 u32 code; member
637 u32 code; member
1651 fmt = pxa_mbus_get_fmtdesc(code.code); in pxa_camera_get_formats()
1658 switch (code.code) { in pxa_camera_get_formats()
1663 xlate->code = code.code; in pxa_camera_get_formats()
1667 pxa_camera_formats[0].name, code.code); in pxa_camera_get_formats()
[all …]
/linux-6.15/drivers/media/i2c/
H A Dst-mipid02.c116 static int bpp_from_code(__u32 code) in bpp_from_code() argument
118 switch (code) { in bpp_from_code()
150 switch (code) { in data_type_from_code()
187 return code; in get_fmt_code()
578 switch (code->pad) { in mipid02_enum_mbus_code()
583 code->code = mipid02_supported_fmt_codes[code->index]; in mipid02_enum_mbus_code()
586 if (code->index == 0) { in mipid02_enum_mbus_code()
589 code->code = serial_to_parallel_code(sink_fmt->code); in mipid02_enum_mbus_code()
616 fmt->format.code = get_fmt_code(fmt->format.code); in mipid02_set_fmt()
620 fmt->format.code = serial_to_parallel_code(fmt->format.code); in mipid02_set_fmt()
[all …]
H A Dov6650.c201 u32 code; member
598 mf->code = try_fmt->code; in ov6650_get_fmt()
603 mf->code = priv->code; in ov6650_get_fmt()
619 switch (code) { in ov6650_s_fmt()
689 priv->code = code; in ov6650_s_fmt()
738 try_fmt->code = mf->code; in ov6650_set_fmt()
744 mf->code = try_fmt->code; in ov6650_set_fmt()
750 if (mf->code != priv->code || half_scale != priv->half_scale) in ov6650_set_fmt()
759 mf->code = priv->code; in ov6650_set_fmt()
768 if (code->pad || code->index >= ARRAY_SIZE(ov6650_codes)) in ov6650_enum_mbus_code()
[all …]
/linux-6.15/net/netfilter/
H A Dnft_reject.c103 int nft_reject_icmp_code(u8 code) in nft_reject_icmp_code() argument
105 if (WARN_ON_ONCE(code > NFT_REJECT_ICMPX_MAX)) in nft_reject_icmp_code()
108 return icmp_code_v4[code]; in nft_reject_icmp_code()
121 int nft_reject_icmpv6_code(u8 code) in nft_reject_icmpv6_code() argument
123 if (WARN_ON_ONCE(code > NFT_REJECT_ICMPX_MAX)) in nft_reject_icmpv6_code()
126 return icmp_code_v6[code]; in nft_reject_icmpv6_code()
/linux-6.15/drivers/input/keyboard/
H A Datkbd.c353 if (code == ATKBD_RET_EMUL0 || code == ATKBD_RET_EMUL1) in atkbd_need_xlate()
393 code = (code & 0x7f) | ((code & 0x80) << 1); in atkbd_compat_scancode()
395 code |= 0x80; in atkbd_compat_scancode()
398 return code; in atkbd_compat_scancode()
460 code = atkbd_platform_scancode_fixup(atkbd, code); in atkbd_receive_byte()
466 code &= 0x7f; in atkbd_receive_byte()
502 code = atkbd_compat_scancode(atkbd, code); in atkbd_receive_byte()
524 code & 0x80 ? "e0" : "", code & 0x7f); in atkbd_receive_byte()
1079 (code == 0x64 || code == 0x65 || code == 0x66)) { in atkbd_oqo_01plus_scancode_fixup()
1081 code |= 0x80; in atkbd_oqo_01plus_scancode_fixup()
[all …]
/linux-6.15/arch/loongarch/kvm/
H A Dinterrupt.c120 unsigned int code, unsigned int subcode) in _kvm_deliver_exception() argument
129 if (code == EXCCODE_ADE) { in _kvm_deliver_exception()
160 val = (val & ~CSR_ESTAT_EXC) | code; in _kvm_deliver_exception()
169 vcpu->arch.pc = val + code * vec_size; in _kvm_deliver_exception()
174 unsigned int code; in kvm_deliver_exception() local
178 code = __ffs(*pending); in kvm_deliver_exception()
179 _kvm_deliver_exception(vcpu, code, vcpu->arch.esubcode); in kvm_deliver_exception()
/linux-6.15/Documentation/admin-guide/media/
H A Dlmedm04.rst19 .. code-block:: none
32 .. code-block:: none
49 .. code-block:: none
64 .. code-block:: none
76 .. code-block:: none
85 .. code-block:: none
95 .. code-block:: none
102 .. code-block:: none
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_trace.h24 __field(u16, code)
32 __entry->code = le16_to_cpu(req->msg.code);
42 __entry->code,
55 __field(u8, code)
64 __entry->code = req->msg.code;
75 __entry->code, __entry->subcode,
/linux-6.15/scripts/
H A Ddecode_stacktrace.sh191 local code=${cache[$module,$address]}
193 local code=$(${ADDR2LINE} -i -e "$objfile" "$address" 2>/dev/null)
195 cache[$module,$address]=$code
202 if [[ $code == "??:0" ]]; then
207 code=$(while read -r line; do echo "${line#$basepath/}"; done <<< "$code")
210 code=${code//$'\n'/' '}
219 symbol="$segment$name ($code)"
/linux-6.15/arch/arm/boot/dts/nxp/lpc/
H A Dlpc3250-ea3250.dts26 linux,code = <103>;
32 linux,code = <1>;
38 linux,code = <2>;
44 linux,code = <3>;
50 linux,code = <4>;
56 linux,code = <10>;
62 linux,code = <11>;
68 linux,code = <12>;
74 linux,code = <13>;
80 linux,code = <14>;
/linux-6.15/arch/arm/boot/dts/allwinner/
H A Dsun8i-v3s-anbernic-rg-nano.dts36 linux,code = <BTN_EAST>;
42 linux,code = <BTN_SOUTH>;
48 linux,code = <BTN_DPAD_DOWN>;
54 linux,code = <BTN_DPAD_LEFT>;
66 linux,code = <BTN_SELECT>;
72 linux,code = <BTN_START>;
78 linux,code = <BTN_TL>;
84 linux,code = <BTN_TR>;
90 linux,code = <BTN_DPAD_UP>;
96 linux,code = <BTN_NORTH>;
[all …]

12345678910>>...188