Home
last modified time | relevance | path

Searched +full:bl +full:- +full:code +full:- +full:offset (Results 1 – 25 of 99) sorted by relevance

1234

/linux-6.14.4/Documentation/devicetree/bindings/gpu/host1x/
Dnvidia,tegra234-nvdec.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra234-nvdec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Thierry Reding <[email protected]>
16 - Mikko Perttunen <[email protected]>
20 pattern: "^nvdec@[0-9a-f]*$"
24 - nvidia,tegra234-nvdec
32 clock-names:
34 - const: nvdec
[all …]
/linux-6.14.4/drivers/gpu/drm/tegra/
Driscv.c1 // SPDX-License-Identifier: GPL-2.0-only
32 static void riscv_writel(struct tegra_drm_riscv *riscv, u32 value, u32 offset) in riscv_writel() argument
34 writel(value, riscv->regs + offset); in riscv_writel()
39 struct tegra_drm_riscv_descriptor *bl = &riscv->bl_desc; in tegra_drm_riscv_read_descriptors() local
40 struct tegra_drm_riscv_descriptor *os = &riscv->os_desc; in tegra_drm_riscv_read_descriptors()
41 const struct device_node *np = riscv->dev->of_node; in tegra_drm_riscv_read_descriptors()
47 dev_err(riscv->dev, "failed to read " name ": %d\n", err); \ in tegra_drm_riscv_read_descriptors()
51 READ_PROP("nvidia,bl-manifest-offset", &bl->manifest_offset); in tegra_drm_riscv_read_descriptors()
52 READ_PROP("nvidia,bl-code-offset", &bl->code_offset); in tegra_drm_riscv_read_descriptors()
53 READ_PROP("nvidia,bl-data-offset", &bl->data_offset); in tegra_drm_riscv_read_descriptors()
[all …]
/linux-6.14.4/arch/arm/lib/
Dbacktrace-clang.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/lib/backtrace-clang.S
39 * If the call instruction was a bl we can look at the callers branch
45 * Unfortunately due to the stack frame layout we can't dump r0 - r3, but these
52 * optionally saved caller registers (r4 - r10)
53 * optionally saved arguments (r0 - r3)
57 * Functions start with the following code sequence:
60 * stmfd sp!, {r0 - r3} (optional)
69 * The frame for c_backtrace has pointers to the code of dump_stack. This is
82 * show_stack. It points at the instruction directly after the bl dump_stack.
[all …]
Dbacktrace.S1 /* SPDX-License-Identifier: GPL-2.0-only */
20 #define offset r8 macro
29 stmfd sp!, {r4 - r9, lr} @ Save an extra register so we have a location...
34 tst r1, #0x10 @ 26 or 32-bit mode?
38 movne mask, #0 @ mask for 32-bit
40 1: stmfd sp!, {pc} @ calculate offset of PC stored
43 sub offset, r0, r1
47 * optionally saved caller registers (r4 - r10)
52 * optionally saved arguments (r0 - r3)
55 * Functions start with the following code sequence:
[all …]
/linux-6.14.4/arch/arm64/kernel/
Dhead.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Low-level CPU initialisation
6 * Copyright (C) 1994-2002 Russell King
7 * Copyright (C) 2003-2012 ARM Ltd.
21 #include <asm/asm-offsets.h>
27 #include <asm/kernel-pgtable.h>
30 #include <asm/pgtable-hwdef.h>
39 #include "efi-header.S"
47 * ---------------------------
50 * MMU = off, D-cache = off, I-cache = on or off,
[all …]
Dftrace.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <asm/debug-monitors.h>
18 #include <asm/text-patching.h>
23 int offset; member
29 .offset = offsetof(struct __arch_ftrace_regs, field), \
55 if (!strcmp(roff->name, name)) in ftrace_regs_query_register_offset()
56 return roff->offset; in ftrace_regs_query_register_offset()
59 return -EINVAL; in ftrace_regs_query_register_offset()
73 * When using patchable-function-entry without pre-function NOPS, addr in ftrace_call_adjust()
79 * addr+04: NOP // To be patched to BL <caller> in ftrace_call_adjust()
[all …]
/linux-6.14.4/drivers/gpu/drm/display/
Ddrm_dp_helper.c77 return link_status[r - DP_LANE0_1_STATUS]; in dp_link_status()
231 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us()
232 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us()
243 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us()
244 aux->name, rd_interval); in __8b10b_channel_eq_delay_us()
256 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x\n", in __128b132b_channel_eq_delay_us()
257 aux->name, rd_interval); in __128b132b_channel_eq_delay_us()
279 * - Clock recovery vs. channel equalization
280 * - DPRX vs. LTTPR
281 * - 128b/132b vs. 8b/10b
[all …]
/linux-6.14.4/arch/powerpc/kernel/
Dhead_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1995-1996 Gary Thomas ([email protected])
9 * Low-level exception handlers and MMU support
16 * This file contains the entry point for the 64-bit kernel along
17 * with some early initialization code common to all 64-bit powerpc
28 #include <asm/head-64.h>
29 #include <asm/asm-offsets.h>
42 #include <asm/ppc-opcode.h>
43 #include <asm/feature-fixups.h>
45 #include <asm/exception-64s.h>
[all …]
Dhead_85xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Kernel execution entry point code.
5 * Copyright (c) 1995-1996 Gary Thomas <[email protected]>
10 * Low-level exception handers, MMU support, and rewrite.
13 * Copyright (c) 1998-1999 TiVo, Inc.
23 * Copyright 2002-2004 MontaVista Software, Inc.
40 #include <asm/asm-offsets.h>
43 #include <asm/feature-fixups.h>
46 /* As with the other PowerPC ports, it is expected that when code
50 * r3 - Board info structure pointer (DRAM, frequency, MAC address, etc.)
[all …]
Dhead_booke.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * Macros used for common Book-e exception handling
32 * Note that entries 0-3 are used for the prolog code, and the remaining
36 #define THREAD_NORMSAVE(offset) (THREAD_NORMSAVES + (offset * 4))
63 lwz r11, TASK_STACK - THREAD(r10); \
101 addi r2, r2, -THREAD
110 bl prepare_transfer_to_handler
139 lwz r1, TASK_STACK - THREAD(r10)
141 ALLOC_STACK_FRAME(r1, THREAD_SIZE - INT_FRAME_SIZE)
148 /* To handle the additional exception priority levels on Book-E
[all …]
Dmisc_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains miscellaneous low-level functions.
4 * Copyright (C) 1995-1996 Gary Thomas ([email protected])
21 #include <asm/asm-offsets.h>
27 #include <asm/feature-fixups.h>
184 * The address passed in is the 24 bits register address. This code
251 * the slave code for the next one is at addresses 0 to 100.
254 * paca in the secondary startup code.
261 addi r5,r5,kexec_flag-1b
298 * Invalidate all non-IPROT TLB entries to avoid any TLB conflict.
[all …]
Dhead_8xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1995-1996 Gary Thomas ([email protected])
7 * Low-level exception handlers and MMU support
13 * This file contains low-level support and setup for PowerPC 8xx
30 #include <asm/asm-offsets.h>
32 #include <asm/code-patching-asm.h>
52 * support an ELF compressed (zImage) boot from EPPC-Bug because the
53 * code there loads up some registers before calling us:
56 * r5: initrd_end - unused if r4 is 0
61 * adding more processor specific branches around code I don't need.
[all …]
Dexceptions-64s.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * This file contains the 64-bit "server" PowerPC variant
6 * handling and other fixed offset specific things.
18 #include <asm/exception-64s.h>
21 #include <asm/head-64.h>
22 #include <asm/feature-fixups.h>
28 * EXC_REAL_BEGIN/END - real, unrelocated exception vectors
29 * EXC_VIRT_BEGIN/END - virt (AIL), unrelocated exception vectors
30 * TRAMP_REAL_BEGIN - real, unrelocated helpers (virt may call these)
31 * TRAMP_VIRT_BEGIN - virt, unreloc helpers (in practice, real can use)
[all …]
Dirq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 1995-1996 Gary Thomas ([email protected])
8 * Copyright (C) 1996-2001 Cort Dougan
12 * This file contains the code used by various IRQ handling routines:
19 * interrupt is _enabled_. As expected, IRQ0 is bit 0 in the 32-bit
24 * to reduce code space and undefined function references.
47 #include <linux/radix-tree.h>
133 seq_put_decimal_ull_width(p, " ", paca_ptrs[j]->hmi_irqs, 10); in arch_show_interrupts()
147 seq_printf(p, " Watchdog soft-NMI interrupts\n"); in arch_show_interrupts()
175 sum += paca_ptrs[cpu]->hmi_irqs; in arch_irq_stat_cpu()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/gsp/
Dgsp_fw_wpr_meta.h4 /* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
7 …* SPDX-FileCopyrightText: Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights rese…
8 * SPDX-License-Identifier: MIT
32 // BL to use for verification (i.e. Booter locked it in WPR2)
35 // Revision number of Booter-BL-Sequencer handoff interface
37 // Bumped up when we revoke GSP-RM ucode
40 // ---- Members regarding data in SYSMEM ----------------------------
65 // Offset relative to GspFwWprMeta FBMEM PA (gspFwWprStart)
75 // ---- Members describing FB layout --------------------------------
83 // GSP-RM to use to setup heap.
[all …]
/linux-6.14.4/fs/nfs/blocklayout/
Dblocklayout.c54 switch (be->be_state) { in is_hole()
58 return be->be_tag ? false : true; in is_hole()
79 rv->data = data; in alloc_parallel()
80 kref_init(&rv->refcnt); in alloc_parallel()
87 kref_get(&p->refcnt); in get_parallel()
95 p->pnfs_callback(p->data); in destroy_parallel()
101 kref_put(&p->refcnt, destroy_parallel); in put_parallel()
108 get_parallel(bio->bi_private); in bl_submit_bio()
111 bio->bi_iter.bi_size, in bl_submit_bio()
112 (unsigned long long)bio->bi_iter.bi_sector); in bl_submit_bio()
[all …]
/linux-6.14.4/arch/arm/boot/compressed/
Dhead.S1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1996-2002 Russell King
12 #include "efi-header.S"
20 AR_CLASS( .arch armv7-a )
21 M_CLASS( .arch armv7-m )
26 * Note that these macros must not contain any code which is not
82 bl putc
88 bl phex
101 kputc #'-'
105 kputc #'-'
[all …]
/linux-6.14.4/include/linux/
Dbio.h1 /* SPDX-License-Identifier: GPL-2.0 */
23 bvec_iter_bvec((bio)->bi_io_vec, (iter))
26 bvec_iter_page((bio)->bi_io_vec, (iter))
28 bvec_iter_len((bio)->bi_io_vec, (iter))
30 bvec_iter_offset((bio)->bi_io_vec, (iter))
32 #define bio_page(bio) bio_iter_page((bio), (bio)->bi_iter)
33 #define bio_offset(bio) bio_iter_offset((bio), (bio)->bi_iter)
34 #define bio_iovec(bio) bio_iter_iovec((bio), (bio)->bi_iter)
39 #define bio_sectors(bio) bvec_iter_sectors((bio)->bi_iter)
40 #define bio_end_sector(bio) bvec_iter_end_sector((bio)->bi_iter)
[all …]
/linux-6.14.4/arch/loongarch/kernel/
Dhead.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
18 #include "efi-header.S"
23 .word MZ_MAGIC /* "MZ", MS-DOS header */
27 .quad PHYS_LINK_KADDR /* Kernel image load offset from start of RAM */
30 .long pe_header - _head /* Offset to the PE header */
60 la.pcrel t1, __bss_stop - LONGSIZE
85 PTR_LI sp, (_THREAD_SIZE - PT_SIZE)
91 bl relocate_kernel
95 PTR_LI sp, (_THREAD_SIZE - PT_SIZE)
[all …]
Dftrace_dyn.c1 // SPDX-License-Identifier: GPL-2.0
21 return -EFAULT; in ftrace_modify_code()
24 return -EINVAL; in ftrace_modify_code()
28 return -EPERM; in ftrace_modify_code()
36 long offset = (long)addr - (long)pc; in reachable_by_bl() local
38 return offset >= -SZ_128M && offset < SZ_128M; in reachable_by_bl()
43 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt()
57 * Due to the limited range of 'bl' instruction, modules may be placed too far
65 unsigned long pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_find_callable_addr()
71 * ops->direct_call. in ftrace_find_callable_addr()
[all …]
/linux-6.14.4/arch/arm/kernel/
Dentry-common.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/kernel/entry-common.S
14 #include <asm/unistd-oabi.h>
19 #include "entry-header.S"
37 * have tracing, context tracking and rseq debug disabled - the overheads
45 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
49 restore_user_regs fast = 1, offset = S_OFF
72 bl do_rseq_syscall
75 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
81 /* Slower path - fall through to work_pending */
[all …]
Dhead-common.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/kernel/head-common.S
5 * Copyright (C) 1994-2002 Russell King
18 #define OF_DT_MAGIC 0xedfe0dd0 /* 0xd00dfeed in big-endian */
68 * The following fragment of code is executed with the MMU on in MMU mode,
71 * r0 = cp#15 control register (exc_ret for M-class)
90 bl __inflate_kernel_data @ decompress .data to RAM
98 bl __memcpy @ copy .data to RAM
106 bl __memset @ clear .bss
118 bl kasan_early_init
[all …]
Dentry-armv.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/kernel/entry-armv.S
6 * ARM700 fix by Matthew Godbolt (linux-[email protected])
9 * Low-level vector interface routines
19 #include <asm/glue-df.h>
20 #include <asm/glue-pf.h>
27 #include <asm/uaccess-asm.h>
30 #include "entry-header.S"
58 bl generic_handle_arch_irq
64 bl call_with_stack
[all …]
/linux-6.14.4/arch/powerpc/kvm/
Dbook3s_hv_rmhandlers.S1 /* SPDX-License-Identifier: GPL-2.0-only */
17 #include <asm/code-patching-asm.h>
24 #include <asm/asm-offsets.h>
25 #include <asm/exception-64s.h>
27 #include <asm/book3s/64/mmu-hash.h>
31 #include <asm/asm-compat.h>
32 #include <asm/feature-fixups.h>
42 #define STACK_SLOT_TRAP (SFS-4)
43 #define STACK_SLOT_TID (SFS-16)
44 #define STACK_SLOT_PSSCR (SFS-24)
[all …]
/linux-6.14.4/arch/powerpc/platforms/52xx/
Dlite5200_sleep.S1 /* SPDX-License-Identifier: GPL-2.0 */
41 /* ---------------------------------------------------------------------- */
42 /* low-power mode with help of M68HLC908QT1 */
50 /* setup wakeup address for u-boot at physical location 0x0 */
60 * 0xf0 (0xe0->0x100 gets overwritten when BDI connected;
62 * WARNING: self-refresh doesn't seem to work when BDI2000 is connected,
63 * possibly because BDI sets SDRAM registers before wakeup code does
72 bl save_regs
75 bl flush_data_cache
78 /* copy code to sram */
[all …]

1234