Home
last modified time | relevance | path

Searched refs:code (Results 401 – 425 of 4688) sorted by relevance

1...<<11121314151617181920>>...188

/linux-6.15/Documentation/virt/kvm/
H A Dreview-checklist.rst26 8. Changes should be vendor neutral when possible. Changes to common code
27 are better than duplicating changes to vendor code.
29 9. Similarly, prefer changes to arch independent code than to arch dependent
30 code.
/linux-6.15/drivers/input/misc/
H A Dqnap-mcu-input.c64 unsigned int code, int value) in qnap_mcu_input_event() argument
68 if (type != EV_SND || (code != SND_BELL && code != SND_TONE)) in qnap_mcu_input_event()
79 idev->beep_type = code; in qnap_mcu_input_event()
H A Dpm8941-pwrkey.c79 u32 code; member
87 unsigned long code, void *unused) in pm8941_reboot_notify() argument
116 switch (code) { in pm8941_reboot_notify()
178 input_report_key(pwrkey->input, pwrkey->code, 1); in pm8941_pwrkey_irq()
183 input_report_key(pwrkey->input, pwrkey->code, sts); in pm8941_pwrkey_irq()
322 &pwrkey->code); in pm8941_pwrkey_probe()
326 pwrkey->code = KEY_POWER; in pm8941_pwrkey_probe()
335 input_set_capability(pwrkey->input, EV_KEY, pwrkey->code); in pm8941_pwrkey_probe()
/linux-6.15/arch/m68k/mm/
H A Dfault.c30 si_code = current->thread.code; in send_fault_sig()
197 current->thread.code = BUS_ADRERR; in do_page_fault()
205 current->thread.code = SEGV_MAPERR; in do_page_fault()
211 current->thread.code = SEGV_ACCERR; in do_page_fault()
/linux-6.15/drivers/platform/x86/
H A Deeepc-wmi.c152 static void eeepc_wmi_key_filter(struct asus_wmi_driver *asus_wmi, int *code, in eeepc_wmi_key_filter() argument
155 switch (*code) { in eeepc_wmi_key_filter()
161 *code = ASUS_WMI_KEY_IGNORE; in eeepc_wmi_key_filter()
164 *code = HOME_PRESS; in eeepc_wmi_key_filter()
/linux-6.15/arch/nios2/kernel/
H A Dtraps.c27 static void _send_sig(int signo, int code, unsigned long addr) in _send_sig() argument
29 force_sig_fault(signo, code, (void __user *) addr); in _send_sig()
46 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument
51 _send_sig(signo, code, addr); in _exception()
/linux-6.15/arch/arm/boot/dts/renesas/
H A Demev2-kzm9d.dts38 linux,code = <KEY_1>;
45 linux,code = <KEY_2>;
52 linux,code = <KEY_3>;
59 linux,code = <KEY_4>;
/linux-6.15/Documentation/networking/
H A Dfilter.rst58 such as team driver, PTP code, etc where BPF is being used.
77 __u16 code; /* Actual filter code */
85 value to be used for a provided code::
107 struct sock_filter code[] = {
135 .len = ARRAY_SIZE(code),
136 .filter = code,
181 access to BPF code as well.
380 ARP code::
442 Prints out BPF code disassembly.
454 Prints out C-style BPF code dump.
[all …]
/linux-6.15/tools/perf/util/
H A Dgenelf.c99 const void *code __maybe_unused, in gen_build_id()
123 const void *code, in gen_build_id() argument
129 SHA1(code, csize, (unsigned char *)note->build_id); in gen_build_id()
135 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument
148 EVP_DigestUpdate(mdctx, code, csize); in gen_build_id()
243 const void *code, int csize, in jit_write_elf() argument
316 d->d_buf = (void *)code; in jit_write_elf()
476 gen_build_id(&bnote, load_addr, code, csize); in jit_write_elf()
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-enum-mbus-code.rst48 A successful call will return with the ``code`` field filled in
49 with a mbus code value.
54 The driver must not return the same value of ``code`` for different indices
77 - Index of the mbus code in the enumeration belonging to the given pad.
80 - ``code``
81 - The media bus format code, as defined in
89 - See :ref:`v4l2-subdev-mbus-code-flags`
106 .. _v4l2-subdev-mbus-code-flags:
/linux-6.15/Documentation/process/
H A Dsubmit-checklist.rst14 Review your code
25 comment in the source code that explains the logic of what they are doing
63 Check your code with tools
78 Build your code
102 3) Newly-added code has been compiled with ``gcc -W`` (use
106 4) If your modified source code depends on or uses any of the kernel
116 Test your code
132 If the new code is substantial, addition of subsystem-specific fault
/linux-6.15/Documentation/bpf/
H A Dmap_bloom_filter.rst57 .. code-block:: c
69 .. code-block:: c
84 .. code-block:: c
96 .. code-block:: c
114 .. code-block:: c
126 .. code-block:: c
145 .. code-block:: c
163 .. code-block:: c
/linux-6.15/tools/testing/selftests/bpf/
H A DREADME.rst72 .. code-block:: console
78 .. code-block:: console
98 .. code-block:: console
104 .. code-block:: console
129 .. code-block:: c
152 .. code-block:: c
171 .. code-block:: c
183 .. code-block:: c
208 .. code-block:: c
215 .. code-block:: c
[all …]
/linux-6.15/drivers/staging/media/imx/
H A Dimx-media-csi.c158 infmt->code != MEDIA_BUS_FMT_YUYV8_2X8); in requires_passthrough()
1247 switch (code->pad) { in csi_enum_mbus_code()
1249 ret = imx_media_enum_mbus_formats(&code->code, code->index, in csi_enum_mbus_code()
1262 if (code->index != 0) { in csi_enum_mbus_code()
1266 code->code = infmt->code; in csi_enum_mbus_code()
1272 ret = imx_media_enum_ipu_formats(&code->code, in csi_enum_mbus_code()
1273 code->index, in csi_enum_mbus_code()
1440 u32 code; in csi_try_fmt() local
1453 sdformat->format.code = infmt->code; in csi_try_fmt()
1765 u32 code; in csi_registered() local
[all …]
/linux-6.15/Documentation/bpf/libbpf/
H A Dlibbpf_overview.rst23 and tracing helpers, allowing developers to simplify BPF code writing.
56 state without racing with the BPF program code execution.
73 objects. Skeleton code abstract away generic libbpf APIs to significantly
74 simplify code for manipulating BPF programs from user space. Skeleton code
92 Using the skeleton code is the recommended way to work with bpf programs. Keep
96 cumbersome code.
102 global variables. The skeleton code memory maps global variables as a struct
112 code and user-space code getting out of sync.
168 applications without modifications and runtime source code compilation on the
171 The following code snippet shows how to read the parent field of a kernel
[all …]
/linux-6.15/Documentation/iio/
H A Dadis16480.rst215 .. code-block:: bash
249 .. code-block:: bash
256 .. code-block:: bash
273 .. code-block:: bash
290 .. code-block:: bash
301 .. code-block:: bash
312 .. code-block:: bash
322 .. code-block:: bash
333 .. code-block:: bash
340 .. code-block:: bash
[all …]
/linux-6.15/arch/parisc/math-emu/
H A DREADME4 someone in the future, with access to HP-UX source code, is generous
6 make their 'diff' job easier if our code is relatively unmodified.
9 warranties about this code nor any promises to maintain or test it
/linux-6.15/arch/s390/kernel/
H A Djump_label.c50 void *code = (void *)jump_entry_code(entry); in jump_label_transform() local
60 if (memcmp(code, &old, sizeof(old))) in jump_label_transform()
62 s390_kernel_write(code, &new, sizeof(new)); in jump_label_transform()
/linux-6.15/tools/crypto/ccp/
H A Ddbc.py29 def handle_error(code): argument
30 raise OSError(code, os.strerror(code))
/linux-6.15/arch/s390/include/asm/
H A Dirq.h88 unsigned short code; member
96 int register_external_irq(u16 code, ext_int_handler_t handler);
97 int unregister_external_irq(u16 code, ext_int_handler_t handler);
/linux-6.15/arch/arm/boot/dts/nxp/lpc/
H A Dlpc4350-hitex-eval.dts6 * This code is released using a dual license strategy: BSD/GPL
48 linux,code = <KEY_RIGHT>;
54 linux,code = <KEY_UP>;
61 linux,code = <KEY_ENTER>;
67 linux,code = <KEY_LEFT>;
73 linux,code = <KEY_DOWN>;
79 linux,code = <KEY_F1>;
85 linux,code = <KEY_F2>;
91 linux,code = <KEY_F3>;
/linux-6.15/Documentation/scsi/
H A DChangeLog.sym53c8xx_243 - Move the code intended to deal with the downloading of SCRIPTS
48 - Cleanup a bit the PPR failure recovery code.
52 corresponding code to file sym_misc.c.
53 Also move the code that sniffes INQUIRY to sym_misc.c.
54 This allows to share the corresponding code with NetBSD
56 - Add optional code that handles IO timeouts from the driver.
64 - Some code reorganisations due to code moves between files.
89 - Miscellaneous common code rearrangements due to NetBSD accel
/linux-6.15/drivers/media/i2c/
H A Dimx219.c373 if (imx219_mbus_formats[i] == code) in imx219_get_format_code()
387 switch (format->code) { in imx219_get_format_bpp()
812 struct v4l2_mbus_framefmt *fmt, u32 code) in imx219_update_pad_format() argument
815 fmt->code = imx219_get_format_code(imx219, code); in imx219_update_pad_format()
827 struct v4l2_subdev_mbus_code_enum *code) in imx219_enum_mbus_code() argument
831 if (code->index >= (ARRAY_SIZE(imx219_mbus_formats) / 4)) in imx219_enum_mbus_code()
834 code->code = imx219_get_format_code(imx219, imx219_mbus_formats[code->index * 4]); in imx219_enum_mbus_code()
844 u32 code; in imx219_enum_frame_size() local
849 code = imx219_get_format_code(imx219, fse->code); in imx219_enum_frame_size()
850 if (fse->code != code) in imx219_enum_frame_size()
[all …]
/linux-6.15/sound/virtio/
H A Dvirtio_ctl_msg.c140 response->code = cpu_to_le32(VIRTIO_SND_S_IO_ERR); in virtsnd_ctl_msg_send()
162 le32_to_cpu(request->code)); in virtsnd_ctl_msg_send()
184 le32_to_cpu(request->code)); in virtsnd_ctl_msg_send()
191 switch (le32_to_cpu(response->code)) { in virtsnd_ctl_msg_send()
274 query->hdr.code = cpu_to_le32(command); in virtsnd_ctl_query_info()
/linux-6.15/Documentation/gpu/nova/
H A Dguidelines.rst18 - Unless technically necessary otherwise (e.g. uAPI), any driver code is written
21 - Unless technically necessary, unsafe Rust code must be avoided. In case of
22 technical necessity, unsafe code should be isolated in a separate component
23 providing a safe API for other driver code to use.
56 lifetime requirements, as well as example code if applicable.

1...<<11121314151617181920>>...188