/linux-6.14.4/Documentation/devicetree/bindings/i3c/ |
D | aspeed,ast2600-i3c.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/i3c/aspeed,ast2600-i3c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeremy Kerr <[email protected]> 13 - $ref: i3c.yaml# 17 const: aspeed,ast2600-i3c 31 sda-pullup-ohms: 37 aspeed,global-regs: 38 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
/linux-6.14.4/drivers/soc/qcom/ |
D | icc-bwmon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2021-2022 Linaro Ltd 6 * previous work of Thara Gopinath and msm-4.9 downstream sources. 21 #include "trace_icc-bwmon.h" 49 * the global registers were jammed into the beginning of the monitor region. 53 * implementations to work, offset the global registers by -0x100 to avoid 54 * having to map half of the global registers twice. 57 #define BWMON_V4_GLOBAL_IRQ_CLEAR_845 (BWMON_V4_GLOBAL_IRQ_CLEAR - BWMON_V4_845_OFFSET) 58 #define BWMON_V4_GLOBAL_IRQ_ENABLE_845 (BWMON_V4_GLOBAL_IRQ_ENABLE - BWMON_V4_845_OFFSET) [all …]
|
/linux-6.14.4/arch/x86/kernel/kprobes/ |
D | opt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <asm/text-patching.h> 33 #include <asm/nospec-branch.h> 45 kp = get_kprobe((void *)addr - i); in __recover_optprobed_insn() 46 /* This function only handles jump-optimized kprobe */ in __recover_optprobed_insn() 50 if (list_empty(&op->list) || optprobe_queued_unopt(op)) in __recover_optprobed_insn() 60 * bytes must be recovered from op->optinsn.copied_insn buffer. in __recover_optprobed_insn() 66 if (addr == (unsigned long)kp->addr) { in __recover_optprobed_insn() 67 buf[0] = kp->opcode; in __recover_optprobed_insn() 68 memcpy(buf + 1, op->optinsn.copied_insn, DISP32_SIZE); in __recover_optprobed_insn() [all …]
|
/linux-6.14.4/arch/arm/probes/kprobes/ |
D | opt-arm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <asm/text-patching.h> 34 ".global optprobe_template_entry\n" 36 ".global optprobe_template_sub_sp\n" 39 " stmia sp, {r0 - r14} \n" 40 ".global optprobe_template_add_sp\n" 50 * AEABI requires an 8-bytes alignment stack. If 69 ".global optprobe_template_restore_begin\n" 71 " ldmia sp, {r0 - r15}\n" 72 ".global optprobe_template_restore_orig_insn\n" [all …]
|
/linux-6.14.4/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later 39 /* KeyGen Global Registers bit field masks */ 96 /* Hard-coded configuration: 97 * These values are used as hard-coded values for KeyGen configuration 98 * and they replace user selections for this hard-coded version 109 * - the value for symmetric hash usage must be in accordance with hash 111 * - according to tests performed, spreading is not working if symmetric 165 * Global Statistic Counters 166 * KeyGen Global Registers 178 u32 fmkg_gsr; /* 0x024: KeyGen Global Status Register */ [all …]
|
/linux-6.14.4/drivers/usb/dwc2/ |
D | core.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * core.c - DesignWare HS OTG Controller common routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 18 #include <linux/dma-mapping.h> 31 * dwc2_backup_global_registers() - Backup global controller registers. 41 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers() 43 /* Backup global regs */ in dwc2_backup_global_registers() 44 gr = &hsotg->gr_backup; in dwc2_backup_global_registers() 46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers() 47 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers() [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_capture.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2021-2022 Intel Corporation 27 * NOTE: For engine-registers, GuC only needs the register offsets 28 * from the engine-mmio-base 97 /* XE_LP Global */ 104 /* XE_LP Render / Compute Per-Class */ 110 /* GEN8+ Render / Compute Per-Engine-Instance */ 115 /* GEN8+ Media Decode/Encode Per-Engine-Instance */ 120 /* XE_LP Video Enhancement Per-Class */ 125 /* GEN8+ Video Enhancement Per-Engine-Instance */ [all …]
|
/linux-6.14.4/arch/sparc/power/ |
D | hibernate_asm.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <asm/asm-offsets.h> 15 save %sp, -128, %sp 16 save %sp, -128, %sp 21 /* Save window regs */ 28 /* Save state regs */ 34 /* Save global regs */ 61 setuw (PAGE_SIZE-8), %g3 82 mov %g3, %l3 /* PAGE_SIZE-8 */ 97 /* Restore window regs */ [all …]
|
/linux-6.14.4/arch/sparc/kernel/ |
D | process_64.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * This file handles the architecture-dependent parts of process handling.. 85 /* Re-enable interrupts. */ in arch_cpu_idle() 106 static void show_regwindow32(struct pt_regs *regs) in show_regwindow32() argument 112 rw = compat_ptr((unsigned int)regs->u_regs[14]); in show_regwindow32() 127 #define show_regwindow32(regs) do { } while (0) argument 130 static void show_regwindow(struct pt_regs *regs) in show_regwindow() argument 136 if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) { in show_regwindow() 139 (regs->u_regs[14] + STACK_BIAS); in show_regwindow() 141 (regs->u_regs[14] + STACK_BIAS); in show_regwindow() [all …]
|
/linux-6.14.4/arch/powerpc/platforms/cell/ |
D | ras.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2006-2008, IBM Corporation. 22 #include <asm/cell-regs.h> 36 * to other sub-units FIRs and not only IIC in dump_fir() 38 printk(KERN_ERR "Global Checkstop FIR : 0x%016llx\n", in dump_fir() 39 in_be64(&pregs->checkstop_fir)); in dump_fir() 40 printk(KERN_ERR "Global Recoverable FIR : 0x%016llx\n", in dump_fir() 41 in_be64(&pregs->checkstop_fir)); in dump_fir() 42 printk(KERN_ERR "Global MachineCheck FIR : 0x%016llx\n", in dump_fir() 43 in_be64(&pregs->spec_att_mchk_fir)); in dump_fir() [all …]
|
/linux-6.14.4/arch/x86/include/uapi/asm/ |
D | debugreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 debug registers. Registers 0-3 contain the addresses we wish to trap on */ 28 #define DR_STEP (0x4000) /* single-step */ 33 bits - each field corresponds to one of the four debug registers, 52 is global meaning that we have to explicitly reset the bit. With linux, 57 #define DR_GLOBAL_ENABLE_SHIFT 1 /* Extra shift to the global enable bit */ 59 #define DR_GLOBAL_ENABLE (0x2) /* Global enable for reg 0 */ 62 #define DR_LOCAL_ENABLE_MASK (0x55) /* Set local bits for all 4 regs */ 63 #define DR_GLOBAL_ENABLE_MASK (0xAA) /* Set global bits for all 4 regs */ 76 #define DR_GLOBAL_SLOWDOWN (0x200) /* Global slow the pipeline */
|
/linux-6.14.4/drivers/spi/ |
D | spi-xilinx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * 2002-2007 (c) MontaVista Software, Inc. 56 #define XSPI_SSR_OFFSET 0x70 /* 32-bit Slave Select Register */ 61 #define XIPIF_V123B_DGIER_OFFSET 0x1c /* IPIF global int enable reg */ 83 void __iomem *regs; /* virt. address of the control registers */ member 120 if (!xspi->tx_ptr) { in xilinx_spi_tx() 121 xspi->write_fn(0, xspi->regs + XSPI_TXD_OFFSET); in xilinx_spi_tx() 125 switch (xspi->bytes_per_word) { in xilinx_spi_tx() 127 data = *(u8 *)(xspi->tx_ptr); in xilinx_spi_tx() 130 data = *(u16 *)(xspi->tx_ptr); in xilinx_spi_tx() [all …]
|
/linux-6.14.4/arch/m68k/ifpsp060/src/ |
D | fplsp.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 276 set LV, -LOCAL_SIZE # stack offset 285 set EXC_AREGS, -68 # offset of all address regs 286 set EXC_DREGS, -100 # offset of all data regs 287 set EXC_FPREGS, -36 # offset of all fp regs 503 set rn_mode, 0x0 # round-to-nearest 504 set rz_mode, 0x1 # round-to-zero 505 set rm_mode, 0x2 # round-tp-minus-infinity 506 set rp_mode, 0x3 # round-to-plus-infinity [all …]
|
/linux-6.14.4/drivers/crypto/ccree/ |
D | cc_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2012-2019 ARM Limited or its affiliates. */ 17 * This is a global var for the dentry of the 20 * global. 70 return -ENOMEM; in cc_debugfs_init() 72 regset->regs = debug_regs; in cc_debugfs_init() 73 regset->nregs = ARRAY_SIZE(debug_regs); in cc_debugfs_init() 74 regset->base = drvdata->cc_base; in cc_debugfs_init() 75 regset->dev = dev; in cc_debugfs_init() 77 drvdata->dir = debugfs_create_dir(drvdata->plat_dev->name, in cc_debugfs_init() [all …]
|
/linux-6.14.4/drivers/net/ethernet/agere/ |
D | et131x.c | 2 * 10/100/1000 Base-T Ethernet Driver for the ET1301 and ET131x series MACs 10 *------------------------------------------------------------------------------ 87 MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver for the ET1310 by Agere Systems"); 106 * In both cases, when flow control is enabled for either Tx or bi-direction, 156 #define ET131X_PCI_DEVICE_ID_GIG 0xED00 /* ET1310 1000 Base-T 8 */ 157 #define ET131X_PCI_DEVICE_ID_FAST 0xED01 /* ET1310 100 Base-T */ 173 /* number of RFDs - default and min */ 189 u32 word2; /* Bits 10-31 reserved, 0-9 descriptor */ 197 * PE-MCXMAC Data Sheet IPD DS54 0210-1 (also IPD-DS80 0205-2) 210 * 11-15: unused [all …]
|
/linux-6.14.4/arch/microblaze/kernel/ |
D | entry.S | 2 * Low-level system-call handling, trap handlers and context-switching 4 * Copyright (C) 2008-2009 Michal Simek <[email protected]> 5 * Copyright (C) 2008-2009 PetaLogix 25 #include <asm/asm-offsets.h> 41 .global syscall_debug_table 160 /* Define how to call high-level functions. With MMU, virtual mode must be 161 * enabled when calling the high-level function. Clobbers R11. 189 swi r11, r1, PT_R11; /* save clobbered regs after rval */\ 223 lwi r11, r1, PT_R11; /* restore clobbered regs after rval */\ 263 /* Kernel-mode state save. */ \ [all …]
|
/linux-6.14.4/drivers/gpu/drm/xe/ |
D | xe_guc_capture.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2021-2024 Intel Corporation 14 #include "regs/xe_engine_regs.h" 15 #include "regs/xe_gt_regs.h" 16 #include "regs/xe_guc_regs.h" 17 #include "regs/xe_regs.h" 45 * Book-keeping structure used to track read and write pointers 46 * as we extract error capture data from the GuC-log-buffer's 47 * error-capture region as a stream of dwords. 57 * struct __guc_capture_parsed_output - extracted error capture node [all …]
|
/linux-6.14.4/arch/x86/kernel/ |
D | umip.c | 2 * umip.c Emulation for instruction protected by the User-Mode Instruction 6 * Ricardo Neri <ricardo.neri-[email protected]> 13 #include <asm/insn-eval.h> 19 /** DOC: Emulation for User-Mode Instruction Prevention (UMIP) 21 * User-Mode Instruction Prevention is a security feature present in recent 27 * the UMIP-protected instructions (in the form of a SIGSEGV signal), it can be 31 * global descriptor and interrupt descriptor tables, the segment selectors of 44 * not the actual location of the table. The result is emulated as a hard-coded 52 * - SLDT returns (GDT_ENTRY_LDT * 8) if an LDT has been set, 0 if not. 53 * - STR returns (GDT_ENTRY_TSS * 8). [all …]
|
/linux-6.14.4/arch/powerpc/kernel/ |
D | rethook.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * - init_kprobes() establishes a probepoint here 12 * - When the probed function returns, this probe 15 asm(".global arch_rethook_trampoline\n" 20 ".size arch_rethook_trampoline, .-arch_rethook_trampoline\n"); 25 static int trampoline_rethook_handler(struct kprobe *p, struct pt_regs *regs) in trampoline_rethook_handler() argument 27 return !rethook_trampoline_handler(regs, regs->gpr[1]); in trampoline_rethook_handler() 31 void arch_rethook_prepare(struct rethook_node *rh, struct pt_regs *regs, bool mcount) in arch_rethook_prepare() argument 33 rh->ret_addr = regs->link; in arch_rethook_prepare() 34 rh->frame = regs->gpr[1]; in arch_rethook_prepare() [all …]
|
/linux-6.14.4/drivers/net/ipa/ |
D | gsi_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2023 Linaro Ltd. 30 * function-like macro that takes a parameter used in the computation. 38 * (though the actual limit is hardware-dependent). 42 * (though the actual limit is hardware-dependent). 45 /* enum gsi_reg_id - GSI register IDs */ 109 CHTYPE_PROTOCOL_MSB, /* IPA v4.5-4.11 */ 115 /** enum gsi_channel_type - CHTYPE_PROTOCOL field values in CH_C_CNTXT_0 */ 140 USE_ESCAPE_BUF_ONLY, /* IPA v4.0-4.2 */ [all …]
|
/linux-6.14.4/include/linux/ |
D | kdb.h | 5 * Kernel Debugger Architecture Independent Global Headers 11 * Copyright (c) 2000-2007 Silicon Graphics, Inc. All Rights Reserved. 40 KDB_ENABLE_MASK = (1 << KDB_ENABLE_NO_ARGS_SHIFT) - 1, 89 * kdb_initial_cpu is initialized to -1, and is set to the cpu 99 #define KDB_NOTFOUND (-1) 100 #define KDB_ARGCOUNT (-2) 101 #define KDB_BADWIDTH (-3) 102 #define KDB_BADRADIX (-4) 103 #define KDB_NOTENV (-5) 104 #define KDB_NOENVVALUE (-6) [all …]
|
/linux-6.14.4/arch/powerpc/sysdev/ |
D | mpic_timer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 43 #define TIMER_OFFSET(num) (1 << (TIMERS_PER_GROUP - 1 - num)) 63 struct timer_regs __iomem *regs; member 87 *time = (u64)div_u64(ticks, priv->timerfreq); in convert_ticks_to_time() 96 max_value = div_u64(ULLONG_MAX, priv->timerfreq); in convert_time_to_ticks() 99 return -EINVAL; in convert_time_to_ticks() 101 *ticks = (u64)time * (u64)priv->timerfreq; in convert_time_to_ticks() 119 spin_lock_irqsave(&priv->lock, flags); in detect_idle_cascade_timer() 120 map = casc_priv->cascade_map & priv->idle; in detect_idle_cascade_timer() 121 if (map == casc_priv->cascade_map) { in detect_idle_cascade_timer() [all …]
|
/linux-6.14.4/tools/perf/util/ |
D | annotate-data.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include "annotate-data.h" 18 #include "dwarf-regs.h" 104 switch (ops->atom) { in pr_debug_location() 106 pr_info("reg%d\n", ops->atom - DW_OP_reg0); in pr_debug_location() 110 ops->atom - DW_OP_breg0, (long)ops->number); in pr_debug_location() 113 pr_info("reg%ld\n", (long)ops->number); in pr_debug_location() 117 (long)ops->number, (long)ops->number2); in pr_debug_location() 120 pr_info("use frame base, offset=%#lx\n", (long)ops->number); in pr_debug_location() 123 pr_info("address=%#lx\n", (long)ops->number); in pr_debug_location() [all …]
|
/linux-6.14.4/arch/arc/mm/ |
D | tlbex.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 8 * -MMU v1: moved out legacy code into a separate file 9 * -MMU v3: PD{0,1} bits layout changed: They don't overlap anymore, 13 * -For MMU V2, we need not do heuristics at the time of committing a D-TLB 14 * entry, so that it doesn't knock out its I-TLB entry 15 * -Some more fine tuning: 19 * -Practically rewrote the I/D TLB Miss handlers 26 * -Passing ECR (Exception Cause REG) to do_page_fault( ) for printing 30 * -Added Debug Code to check if sw-ASID == hw-ASID [all …]
|
/linux-6.14.4/arch/nios2/include/asm/ |
D | ptrace.h | 23 unsigned long r8; /* r8-r15 Caller-saved GP registers */ 34 unsigned long r4; /* r4-r7 Register arguments */ 42 unsigned long gp; /* Global pointer */ 53 unsigned long r16; /* r16-r23 Callee-saved GP registers */ 66 #define user_mode(regs) (((regs)->estatus & ESTATUS_EU)) argument 68 #define instruction_pointer(regs) ((regs)->ra) argument 69 #define profile_pc(regs) instruction_pointer(regs) argument 70 #define user_stack_pointer(regs) ((regs)->sp) argument 75 - 1) 77 #define force_successful_syscall_return() (current_pt_regs()->orig_r2 = -1)
|