Home
last modified time | relevance | path

Searched +full:global +full:- +full:regs (Results 1 – 25 of 1012) sorted by relevance

12345678910>>...41

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/i3c/
Daspeed,ast2600-i3c.yaml1 # 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 <jk@codeconstruct.com.au>
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 …]
/kernel/linux/linux-6.6/drivers/soc/qcom/
Dicc-bwmon.c1 // 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.
47 * the global registers were jammed into the beginning of the monitor region.
51 * implementations to work, offset the global registers by -0x100 to avoid
52 * having to map half of the global registers twice.
55 #define BWMON_V4_GLOBAL_IRQ_CLEAR_845 (BWMON_V4_GLOBAL_IRQ_CLEAR - BWMON_V4_845_OFFSET)
56 #define BWMON_V4_GLOBAL_IRQ_ENABLE_845 (BWMON_V4_GLOBAL_IRQ_ENABLE - BWMON_V4_845_OFFSET)
134 /* Global region fields, keep them at the top */
[all …]
/kernel/linux/linux-6.6/arch/x86/kernel/kprobes/
Dopt.c1 // 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 …]
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/
Dopt-arm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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"
75 ".global optprobe_template_restore_end\n"
[all …]
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
Dopt-arm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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"
75 ".global optprobe_template_restore_end\n"
[all …]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
Dcore.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dcore.c1 // 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.
16 * 3. The names of the above-listed copyright holders may not be used
48 #include <linux/dma-mapping.h>
61 * dwc2_backup_global_registers() - Backup global controller registers.
71 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers()
73 /* Backup global regs */ in dwc2_backup_global_registers()
74 gr = &hsotg->gr_backup; in dwc2_backup_global_registers()
76 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c1 // 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 …]
/kernel/linux/linux-5.10/arch/sparc/power/
Dhibernate_asm.S1 /* 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 …]
/kernel/linux/linux-6.6/arch/sparc/power/
Dhibernate_asm.S1 /* 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_capture.c1 // 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
99 /* XE_LP Global */
106 /* XE_LP Render / Compute Per-Class */
113 /* GEN8+ Render / Compute Per-Engine-Instance */
118 /* GEN8+ Media Decode/Encode Per-Engine-Instance */
123 /* XE_LP Video Enhancement Per-Class */
128 /* GEN8+ Video Enhancement Per-Engine-Instance */
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dras.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c66 /* KeyGen Global Registers bit field masks */
123 /* Hard-coded configuration:
124 * These values are used as hard-coded values for KeyGen configuration
125 * and they replace user selections for this hard-coded version
136 * - the value for symmetric hash usage must be in accordance with hash
138 * - according to tests performed, spreading is not working if symmetric
192 * Global Statistic Counters
193 * KeyGen Global Registers
205 u32 fmkg_gsr; /* 0x024: KeyGen Global Status Register */
210 u32 fmkg_gdv0r; /* 0x038: Global Default Value Register 0 */
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/kprobes/
Dopt.c1 // 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 …]
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Ddebugreg.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
7 debug registers. Registers 0-3 contain the addresses we wish to trap on */
27 #define DR_STEP (0x4000) /* single-step */
32 bits - each field corresponds to one of the four debug registers,
51 is global meaning that we have to explicitly reset the bit. With linux,
56 #define DR_GLOBAL_ENABLE_SHIFT 1 /* Extra shift to the global enable bit */
58 #define DR_GLOBAL_ENABLE (0x2) /* Global enable for reg 0 */
61 #define DR_LOCAL_ENABLE_MASK (0x55) /* Set local bits for all 4 regs */
62 #define DR_GLOBAL_ENABLE_MASK (0xAA) /* Set global bits for all 4 regs */
75 #define DR_GLOBAL_SLOWDOWN (0x200) /* Global slow the pipeline */
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/
Dras.c1 // 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 …]
/kernel/linux/linux-6.6/arch/sparc/kernel/
Dprocess_64.c1 // 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 …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dprocess_64.c1 // SPDX-License-Identifier: GPL-2.0
10 * This file handles the architecture-dependent parts of process handling..
89 /* Re-enable interrupts. */ in arch_cpu_idle()
108 static void show_regwindow32(struct pt_regs *regs) in show_regwindow32() argument
115 rw = compat_ptr((unsigned int)regs->u_regs[14]); in show_regwindow32()
134 #define show_regwindow32(regs) do { } while (0) argument
137 static void show_regwindow(struct pt_regs *regs) in show_regwindow() argument
144 if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) { in show_regwindow()
147 (regs->u_regs[14] + STACK_BIAS); in show_regwindow()
149 (regs->u_regs[14] + STACK_BIAS); in show_regwindow()
[all …]
/kernel/linux/linux-6.6/drivers/crypto/ccree/
Dcc_debugfs.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_debugfs.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-xilinx.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/spi/
Dspi-xilinx.c1 // 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 …]
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/
Dfplsp.S3 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 …]
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/src/
Dfplsp.S3 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 …]
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
Ddebugreg.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
7 debug registers. Registers 0-3 contain the addresses we wish to trap on */
21 * This is also the DR6 architectural value following Power-up, Reset or INIT.
47 #define DR_STEP (0x4000) /* single-step */
52 bits - each field corresponds to one of the four debug registers,
71 is global meaning that we have to explicitly reset the bit. With linux,
76 #define DR_GLOBAL_ENABLE_SHIFT 1 /* Extra shift to the global enable bit */
78 #define DR_GLOBAL_ENABLE (0x2) /* Global enable for reg 0 */
81 #define DR_LOCAL_ENABLE_MASK (0x55) /* Set local bits for all 4 regs */
82 #define DR_GLOBAL_ENABLE_MASK (0xAA) /* Set global bits for all 4 regs */
[all …]

12345678910>>...41