| /linux-6.15/drivers/net/wan/ |
| H A D | hdlc_ppp.c | 57 u8 code; member 204 static void ppp_tx_cp(struct net_device *dev, u16 pid, u8 code, in ppp_tx_cp() argument 217 if (pid == PID_LCP && (code == LCP_ECHO_REQ || code == LCP_ECHO_REPLY)) in ppp_tx_cp() 228 cp->code = code; in ppp_tx_cp() 238 BUG_ON(code >= CP_CODES); in ppp_tx_cp() 246 proto_name(pid), code_names[code], id, debug_buffer); in ppp_tx_cp() 333 ppp_tx_cp(dev, pid, code, id, len, data); in ppp_cp_event() 475 if (cp->code < CP_CODES) in ppp_rx() 476 sprintf(debug_buffer, "[%s id 0x%X]", code_names[cp->code], in ppp_rx() 491 switch (cp->code) { in ppp_rx() [all …]
|
| /linux-6.15/lib/zstd/common/ |
| H A D | error_private.c | 16 const char* ERR_getErrorString(ERR_enum code) in ERR_getErrorString() argument 19 (void)code; in ERR_getErrorString() 23 switch( code ) in ERR_getErrorString()
|
| /linux-6.15/arch/arm/boot/dts/broadcom/ |
| H A D | bcm4709-netgear-r7000.dts | 3 * Broadcom BCM470X / BCM5301X ARM platform code. 78 linux,code = <KEY_WPS_BUTTON>; 84 linux,code = <KEY_RFKILL>; 90 linux,code = <KEY_RESTART>;
|
| H A D | bcm4708-netgear-r6250.dts | 2 * Broadcom BCM470X / BCM5301X arm platform code. 68 linux,code = <KEY_WPS_BUTTON>; 74 linux,code = <KEY_RFKILL>; 80 linux,code = <KEY_RESTART>;
|
| /linux-6.15/arch/arm64/hyperv/ |
| H A D | hv_core.c | 44 u64 hv_do_fast_hypercall8(u16 code, u64 input) in hv_do_fast_hypercall8() argument 49 control = (u64)code | HV_HYPERCALL_FAST_BIT; in hv_do_fast_hypercall8() 61 u64 hv_do_fast_hypercall16(u16 code, u64 input1, u64 input2) in hv_do_fast_hypercall16() argument 66 control = (u64)code | HV_HYPERCALL_FAST_BIT; in hv_do_fast_hypercall16()
|
| /linux-6.15/arch/riscv/kernel/ |
| H A D | traps.c | 114 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) in do_trap() argument 121 tsk->comm, task_pid_nr(tsk), signo, code, addr); in do_trap() 128 force_sig_fault(signo, code, (void __user *)addr); in do_trap() 131 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() argument 137 do_trap(regs, signo, code, addr); in do_trap_error() 149 #define DO_ERROR_INFO(name, signo, code, str) \ argument 154 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \ 158 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \
|
| /linux-6.15/Documentation/driver-api/media/ |
| H A D | rc-core.rst | 12 Every time a key is pressed on a remote controller, a scan code is produced. 24 an extra code is produced to indicate key repeats. 43 scan code, being 8 bits for address (usually it is a fixed number for a 44 given remote controller), followed by 8 bits of code. A bit "1" is modulated 70 corresponding scan code. The protocols supported by the RC core are 73 When the RC code receives a scan code (either directly, by a driver 75 to convert into a Linux input event code. This is done via a mapping
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_mbx.c | 140 status = hclgevf_get_mbx_resp(hdev, send_msg->code, in hclgevf_send_mbx_msg() 211 le16_to_cpu(req->msg.code)); in hclgevf_handle_mbx_msg() 230 u16 code; in hclgevf_mbx_handler() local 245 code = le16_to_cpu(req->msg.code); in hclgevf_mbx_handler() 249 code); in hclgevf_mbx_handler() 265 switch (code) { in hclgevf_mbx_handler() 279 code); in hclgevf_mbx_handler()
|
| /linux-6.15/Documentation/virt/hyperv/ |
| H A D | overview.rst | 5 The Linux kernel contains a variety of code for running as a fully 59 only from the code. 93 are used in code that communicates with Hyper-V so that it works 166 number and is for display purposes only. Linux code does not 170 and the guest code tests these flags. 175 is checked in a few places in the code to determine if specific 186 Hyper-V related code appears in the Linux kernel code tree in three 200 The code in #1 and #2 is built only when CONFIG_HYPERV is set. 204 Most Hyper-V related code in #1 and #3 can be built as a module. 205 The architecture specific code in #2 must be built-in. Also, [all …]
|
| /linux-6.15/Documentation/staging/ |
| H A D | static-keys.rst | 30 performance-sensitive fast-path kernel code, via a GCC feature and a code 38 do unlikely code 40 do likely code 49 impact to the likely code path as possible. 87 straight-line code path. When the branch is 'flipped', we will patch the 112 The key is then used in code as:: 115 do unlikely code 117 do likely code 122 do likely code 124 do unlikely code [all …]
|
| /linux-6.15/drivers/media/platform/qcom/camss/ |
| H A D | camss-vfe.c | 1314 u32 code; in vfe_try_format() local 1321 if (fmt->code == line->formats[i].code) in vfe_try_format() 1338 code = fmt->code; in vfe_try_format() 1343 fmt->code = vfe_src_pad_code(line, fmt->code, 0, code); in vfe_try_format() 1460 code->code = line->formats[code->index].code; in vfe_enum_mbus_code() 1465 code->which); in vfe_enum_mbus_code() 1467 code->code = vfe_src_pad_code(line, sink_fmt->code, in vfe_enum_mbus_code() 1469 if (!code->code) in vfe_enum_mbus_code() 1494 format.code = fse->code; in vfe_enum_frame_size() 1501 if (format.code != fse->code) in vfe_enum_frame_size() [all …]
|
| /linux-6.15/Documentation/dev-tools/kunit/ |
| H A D | index.rst | 68 A unit test tests a single unit of code in isolation. A unit test is the finest 69 granularity of testing and allows all possible code paths to be tested in the 70 code under test. This is possible if the code under test is small and does not 84 - Act on the target behavior: Call your function/code under test. 94 - Improves code quality. 95 - Encourages writing testable code.
|
| H A D | run_wrapper.rst | 17 .. code-block:: 23 .. code-block:: 31 .. code-block:: 51 .. code-block:: 57 .. code-block:: 78 .. code-block:: 85 .. code-block:: 109 .. code-block:: 116 .. code-block:: 124 .. code-block:: [all …]
|
| /linux-6.15/arch/m68k/ifpsp060/src/ |
| H A D | README-SRC | 1 This is the original source code from Motorola for the 68060 processor 2 support code, providing emulation for rarely used m68k instructions 5 The code provided here will not assemble out of the box using the GNU
|
| /linux-6.15/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-pandora-common.dtsi | 89 linux,code = <KEY_UP>; 96 linux,code = <KEY_DOWN>; 103 linux,code = <KEY_LEFT>; 110 linux,code = <KEY_RIGHT>; 117 linux,code = <KEY_PAGEUP>; 131 linux,code = <KEY_HOME>; 138 linux,code = <KEY_END>; 152 linux,code = <KEY_KPPLUS>; 166 linux,code = <KEY_KPMINUS>; 180 linux,code = <KEY_MENU>; [all …]
|
| /linux-6.15/net/ipv6/ |
| H A D | tunnel6.c | 204 u8 type, u8 code, int offset, __be32 info) in tunnel6_err() argument 209 if (!handler->err_handler(skb, opt, type, code, offset, info)) in tunnel6_err() 216 u8 type, u8 code, int offset, __be32 info) in tunnel46_err() argument 221 if (!handler->err_handler(skb, opt, type, code, offset, info)) in tunnel46_err() 228 u8 type, u8 code, int offset, __be32 info) in tunnelmpls6_err() argument 233 if (!handler->err_handler(skb, opt, type, code, offset, info)) in tunnelmpls6_err()
|
| /linux-6.15/drivers/media/i2c/ |
| H A D | ak881x.c | 107 mf->code = MEDIA_BUS_FMT_YUYV8_2X8; in ak881x_fill_fmt() 115 struct v4l2_subdev_mbus_code_enum *code) in ak881x_enum_mbus_code() argument 117 if (code->pad || code->index) in ak881x_enum_mbus_code() 120 code->code = MEDIA_BUS_FMT_YUYV8_2X8; in ak881x_enum_mbus_code()
|
| /linux-6.15/Documentation/arch/riscv/ |
| H A D | patch-acceptance.rst | 15 tested code over experimental code. We wish to extend these same 16 principles to the RISC-V-related code that will be accepted for 45 that contain code for any draft extensions that they wish.) 51 performance impact of adding kernel code for implementor-specific 59 code for any custom extensions that they wish.)
|
| /linux-6.15/Documentation/arch/powerpc/ |
| H A D | cpu_features.rst | 8 This document describes the system (including self-modifying code) used in the 23 C code may test 'cur_cpu_spec[smp_processor_id()]->cpu_features' for a 31 selection, unused code is replaced by 'nop' instructions. This nop'ing is 36 After detecting the processor type, the kernel patches out sections of code 48 If CPU 0 supports Altivec, the code is left untouched. If it doesn't, both 57 code in the '__ftr_fixup' ELF section. When do_cpu_ftr_fixups
|
| /linux-6.15/drivers/scsi/ |
| H A D | raid_class.c | 174 #define raid_attr_show_internal(attr, fmt, var, code) \ argument 180 code \ 184 #define raid_attr_ro_states(attr, states, code) \ argument 187 code \ 193 #define raid_attr_ro_internal(attr, code) \ argument 194 raid_attr_show_internal(attr, %d, rd->attr, code) \
|
| /linux-6.15/arch/x86/kvm/ |
| H A D | hyperv.h | 229 u16 code; in kvm_hv_is_tlb_flush_hcall() local 234 code = is_64_bit_hypercall(vcpu) ? kvm_rcx_read(vcpu) : in kvm_hv_is_tlb_flush_hcall() 237 return (code == HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE || in kvm_hv_is_tlb_flush_hcall() 238 code == HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST || in kvm_hv_is_tlb_flush_hcall() 239 code == HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE_EX || in kvm_hv_is_tlb_flush_hcall() 240 code == HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST_EX); in kvm_hv_is_tlb_flush_hcall()
|
| /linux-6.15/drivers/hid/ |
| H A D | hid-appletb-kbd.c | 152 static int appletb_tb_key_to_slot(unsigned int code) in appletb_tb_key_to_slot() argument 154 switch (code) { in appletb_tb_key_to_slot() 158 return code - KEY_F1 + 1; in appletb_tb_key_to_slot() 160 return code - KEY_F11 + 11; in appletb_tb_key_to_slot() 215 slot = appletb_tb_key_to_slot(usage->code); in appletb_kbd_hid_event() 221 translation = sparse_keymap_entry_from_scancode(input, usage->code); in appletb_kbd_hid_event() 233 unsigned int code, int value) in appletb_kbd_inp_event() argument 239 if (type == EV_KEY && code == KEY_FN && appletb_tb_fn_toggle && in appletb_kbd_inp_event() 324 input_set_capability(input, EV_KEY, appletb_kbd_keymap[idx].code); in appletb_kbd_input_configured()
|
| /linux-6.15/drivers/power/supply/ |
| H A D | da9150-fg.c | 88 static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size) in da9150_fg_read_attr() argument 97 read_addr = (code & DA9150_QIF_CODE_MASK) | DA9150_QIF_READ; in da9150_fg_read_attr() 106 static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size, in da9150_fg_write_attr() argument 115 write_addr = (code & DA9150_QIF_CODE_MASK) | DA9150_QIF_WRITE; in da9150_fg_write_attr() 163 static u32 da9150_fg_read_attr_sync(struct da9150_fg *fg, u8 code, u8 size) in da9150_fg_read_attr_sync() argument 168 val = da9150_fg_read_attr(fg, code, size); in da9150_fg_read_attr_sync() 175 static void da9150_fg_write_attr_sync(struct da9150_fg *fg, u8 code, u8 size, in da9150_fg_write_attr_sync() argument 202 da9150_fg_write_attr(fg, code, size, val); in da9150_fg_write_attr_sync() 219 code); in da9150_fg_write_attr_sync()
|
| /linux-6.15/Documentation/block/ |
| H A D | biovecs.rst | 11 More specifically, old code that needed to partially complete a bio would 24 normal code doesn't have to deal with bi_bvec_done. 26 * Driver code should no longer refer to biovecs directly; we now have 32 instead of an integer (that corresponded to bi_idx); for a lot of code the 41 a pointer to a biovec, not a bio; this is used by the bio integrity code. 54 wouldn't necessarily be the same size, the old code was tricky convoluted - 58 The new code is much more straightforward - have a look. This sort of 61 simplifies a lot of code. 63 * Before, any code that might need to use the biovec after the bio had been 84 occasionally in stacking block drivers and various code (e.g. md and [all …]
|
| /linux-6.15/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588s-gameforce-ace.dts | 38 linux,code = <KEY_VOLUMEUP>; 63 linux,code = <ABS_RX>; 71 linux,code = <ABS_RY>; 79 linux,code = <ABS_Y>; 87 linux,code = <ABS_X>; 105 linux,code = <ABS_HAT2X>; 113 linux,code = <ABS_HAT2Y>; 182 linux,code = <BTN_EAST>; 200 linux,code = <BTN_MODE>; 206 linux,code = <BTN_TL>; [all …]
|