/Linux-v6.6/arch/openrisc/kernel/ |
D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 25 #include <asm/asm-offsets.h> 28 l.mfspr t2,r0,SPR_SR ;\ 29 l.movhi t1,hi(~(SPR_SR_IEE|SPR_SR_TEE)) ;\ 30 l.ori t1,t1,lo(~(SPR_SR_IEE|SPR_SR_TEE)) ;\ 31 l.and t2,t2,t1 ;\ 32 l.mtspr r0,t2,SPR_SR 35 l.mfspr t1,r0,SPR_SR ;\ 36 l.ori t1,t1,lo(SPR_SR_IEE|SPR_SR_TEE) ;\ [all …]
|
D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 26 #include <asm/asm-offsets.h> 30 l.movhi rd,hi(-KERNELBASE) ;\ 31 l.add rd,rd,rs 34 l.movhi gpr,0x0 37 l.movhi gpr,hi(symbol) ;\ 38 l.ori gpr,gpr,lo(symbol) 54 #define EMERGENCY_PRINT_STORE_GPR4 l.mtspr r0,r4,SPR_SHADOW_GPR(14) 55 #define EMERGENCY_PRINT_LOAD_GPR4 l.mfspr r4,r0,SPR_SHADOW_GPR(14) [all …]
|
/Linux-v6.6/arch/m68k/ifpsp060/src/ |
D | itest.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 set SREGS, -64 31 set IREGS, -128 32 set SCCR, -130 33 set ICCR, -132 34 set TESTCTR, -136 35 set EAMEM, -140 36 set EASTORE, -144 37 set DATA, -160 [all …]
|
D | ftest.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 set SREGS, -64 31 set IREGS, -128 32 set IFPREGS, -224 33 set SFPREGS, -320 34 set IFPCREGS, -332 35 set SFPCREGS, -344 36 set ICCR, -346 37 set SCCR, -348 [all …]
|
/Linux-v6.6/arch/sh/kernel/cpu/sh2/ |
D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0 5 * The SH-2 exception entry 7 * Copyright (C) 2005-2008 Yoshinori Sato 12 #include <asm/asm-offsets.h> 33 #include <asm/entry-macros.S> 37 ! r0 <- point sp 43 mov.l r2,@-sp 44 mov.l r3,@-sp 46 mov.l $cpu_mode,r2 48 mov.l $cpuid,r3 [all …]
|
/Linux-v6.6/include/asm-generic/ |
D | local64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * Usually used in combination with per-cpu variables. 30 #define local64_read(l) local_read(&(l)->a) argument 31 #define local64_set(l,i) local_set((&(l)->a),(i)) argument 32 #define local64_inc(l) local_inc(&(l)->a) argument 33 #define local64_dec(l) local_dec(&(l)->a) argument 34 #define local64_add(i,l) local_add((i),(&(l)->a)) argument 35 #define local64_sub(i,l) local_sub((i),(&(l)->a)) argument 37 #define local64_sub_and_test(i, l) local_sub_and_test((i), (&(l)->a)) argument 38 #define local64_dec_and_test(l) local_dec_and_test(&(l)->a) argument [all …]
|
D | local.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Usually used in combination with per-cpu variables. 29 #define local_read(l) atomic_long_read(&(l)->a) argument 30 #define local_set(l,i) atomic_long_set((&(l)->a),(i)) argument 31 #define local_inc(l) atomic_long_inc(&(l)->a) argument 32 #define local_dec(l) atomic_long_dec(&(l)->a) argument 33 #define local_add(i,l) atomic_long_add((i),(&(l)->a)) argument 34 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a)) argument 36 #define local_sub_and_test(i, l) atomic_long_sub_and_test((i), (&(l)->a)) argument 37 #define local_dec_and_test(l) atomic_long_dec_and_test(&(l)->a) argument [all …]
|
/Linux-v6.6/drivers/net/ethernet/broadcom/ |
D | bnx2.h | 3 * Copyright (c) 2004-2014 Broadcom Corporation 4 * Copyright (c) 2014-2015 QLogic Corporation 71 #define STATUS_ATTN_BITS_LINK_STATE (1L<<0) 72 #define STATUS_ATTN_BITS_TX_SCHEDULER_ABORT (1L<<1) 73 #define STATUS_ATTN_BITS_TX_BD_READ_ABORT (1L<<2) 74 #define STATUS_ATTN_BITS_TX_BD_CACHE_ABORT (1L<<3) 75 #define STATUS_ATTN_BITS_TX_PROCESSOR_ABORT (1L<<4) 76 #define STATUS_ATTN_BITS_TX_DMA_ABORT (1L<<5) 77 #define STATUS_ATTN_BITS_TX_PATCHUP_ABORT (1L<<6) 78 #define STATUS_ATTN_BITS_TX_ASSEMBLER_ABORT (1L<<7) [all …]
|
/Linux-v6.6/arch/sh/kernel/ |
D | relocate_kernel.S | 1 /* SPDX-License-Identifier: GPL-2.0 3 * relocate_kernel.S - put the kernel image in place to boot 8 * 2009-03-18 Magnus Damm - Added Kexec Jump support 20 mov.l 10f, r0 /* PAGE_SIZE */ 23 /* save r15->r8 to new stack */ 24 mov.l r15, @-r0 26 mov.l r14, @-r15 27 mov.l r13, @-r15 28 mov.l r12, @-r15 29 mov.l r11, @-r15 [all …]
|
/Linux-v6.6/net/tipc/ |
D | link.c | 4 * Copyright (c) 1996-2007, 2012-2016, Ericsson AB 5 * Copyright (c) 2004-2007, 2010-2013, Wind River Systems 82 * struct tipc_link - TIPC link data structure 107 * @transmitq: queue for sent, non-acked messages 261 static int link_is_up(struct tipc_link *l) in link_is_up() argument 263 return l->state & (LINK_ESTABLISHED | LINK_SYNCHING); in link_is_up() 266 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb, 268 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe, 272 static void link_print(struct tipc_link *l, const char *str); 273 static int tipc_link_build_nack_msg(struct tipc_link *l, [all …]
|
/Linux-v6.6/arch/x86/include/asm/ |
D | local.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 #define local_read(l) atomic_long_read(&(l)->a) argument 17 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) argument 19 static inline void local_inc(local_t *l) in local_inc() argument 22 : "+m" (l->a.counter)); in local_inc() 25 static inline void local_dec(local_t *l) in local_dec() argument 28 : "+m" (l->a.counter)); in local_dec() 31 static inline void local_add(long i, local_t *l) in local_add() argument 34 : "+m" (l->a.counter) in local_add() 38 static inline void local_sub(long i, local_t *l) in local_sub() argument [all …]
|
/Linux-v6.6/arch/loongarch/include/asm/ |
D | local.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited 19 #define local_read(l) atomic_long_read(&(l)->a) argument 20 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) argument 22 #define local_add(i, l) atomic_long_add((i), (&(l)->a)) argument 23 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a)) argument 24 #define local_inc(l) atomic_long_inc(&(l)->a) argument 25 #define local_dec(l) atomic_long_dec(&(l)->a) argument 30 static inline long local_add_return(long i, local_t *l) in local_add_return() argument 36 : "+ZB" (l->a.counter), "=&r" (result) in local_add_return() [all …]
|
/Linux-v6.6/arch/sh/lib/ |
D | movmem.S | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0 28 sts.l pr,@-r15 31 mov.l @(48,r5),r0 34 mov.l @(60,r5),r0 35 add #-64,r6 36 mov.l r0,@(60,r4) 38 mov.l @(56,r5),r0 40 mov.l r0,@(56,r4) 42 mov.l @(52,r5),r0 44 mov.l r0,@(52,r4) [all …]
|
D | copy_page.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 * r0, r1, r2, r3, r4, r5, r6, r7 --- scratch 22 * r8 --- from + PAGE_SIZE 23 * r9 --- not used 24 * r10 --- to 25 * r11 --- from 28 mov.l r8,@-r15 29 mov.l r10,@-r15 30 mov.l r11,@-r15 39 1: mov.l @r11+,r0 [all …]
|
/Linux-v6.6/arch/mips/include/asm/ |
D | local.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #define local_read(l) atomic_long_read(&(l)->a) argument 20 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) argument 22 #define local_add(i, l) atomic_long_add((i), (&(l)->a)) argument 23 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a)) argument 24 #define local_inc(l) atomic_long_inc(&(l)->a) argument 25 #define local_dec(l) atomic_long_dec(&(l)->a) argument 30 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() argument 47 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) in local_add_return() 48 : "Ir" (i), "m" (l->a.counter) in local_add_return() [all …]
|
/Linux-v6.6/arch/alpha/include/asm/ |
D | local.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define local_read(l) atomic_long_read(&(l)->a) argument 15 #define local_set(l,i) atomic_long_set(&(l)->a, (i)) argument 16 #define local_inc(l) atomic_long_inc(&(l)->a) argument 17 #define local_dec(l) atomic_long_dec(&(l)->a) argument 18 #define local_add(i,l) atomic_long_add((i),(&(l)->a)) argument 19 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a)) argument 21 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() argument 33 :"=&r" (temp), "=m" (l->a.counter), "=&r" (result) in local_add_return() 34 :"Ir" (i), "m" (l->a.counter) : "memory"); in local_add_return() [all …]
|
/Linux-v6.6/arch/sh/kernel/cpu/sh2a/ |
D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0 5 * The SH-2A exception entry 12 #include <asm/asm-offsets.h> 33 #include <asm/entry-macros.S> 37 ! r0 <- point sp 43 mov.l r2,@-sp 45 mov.l $cpu_mode,r2 51 mov.l $current_thread_info,r2 52 mov.l @r2,r2 58 mov.l r1,@-r15 ! TRA [all …]
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | local.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 static __inline__ long local_read(const local_t *l) in local_read() argument 22 return READ_ONCE(l->v); in local_read() 25 static __inline__ void local_set(local_t *l, long i) in local_set() argument 27 WRITE_ONCE(l->v, i); in local_set() 31 static __inline__ void local_##op(long i, local_t *l) \ 36 l->v c_op i; \ 41 static __inline__ long local_##op##_return(long a, local_t *l) \ 47 t = (l->v c_op a); \ 58 LOCAL_OPS(sub, -=) [all …]
|
/Linux-v6.6/arch/sh/kernel/cpu/shmobile/ |
D | sleep.S | 1 /* SPDX-License-Identifier: GPL-2.0 3 * arch/sh/kernel/cpu/sh4a/sleep-sh_mobile.S 13 #include <asm/asm-offsets.h> 24 /* manage self-refresh and enter standby mode. must be self-contained. 25 * this code will be copied to on-chip memory and executed from there. 31 mov.l r4, @(SH_SLEEP_MODE, r5) 35 mov.l r0, @(SH_SLEEP_VBR, r5) 37 /* point vbr to our on-chip memory page */ 42 mov.l r0, @(SH_SLEEP_SPC, r5) 46 mov.l r0, @(SH_SLEEP_SR, r5) [all …]
|
/Linux-v6.6/arch/sh/include/asm/ |
D | switch_to_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 (!!(tsk->thread.dsp_status.status & SR_DSP)) 13 (u32 *)&tsk->thread.dsp_status; \ 16 "movs.l @r2+, a0\n\t" \ 17 "movs.l @r2+, a1\n\t" \ 18 "movs.l @r2+, a0g\n\t" \ 19 "movs.l @r2+, a1g\n\t" \ 20 "movs.l @r2+, m0\n\t" \ 21 "movs.l @r2+, m1\n\t" \ 22 "movs.l @r2+, x0\n\t" \ [all …]
|
D | entry-macros.S | 1 ! SPDX-License-Identifier: GPL-2.0 27 mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp 38 mov.l r0, @-r15 39 mov.l r1, @-r15 40 mov.l r2, @-r15 41 mov.l r3, @-r15 42 mov.l r4, @-r15 43 mov.l r5, @-r15 44 mov.l r6, @-r15 45 mov.l r7, @-r15 [all …]
|
/Linux-v6.6/arch/openrisc/lib/ |
D | memset.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Hand-optimized assembler version of memset for OpenRISC. 6 * Algorithm inspired by several other arch-specific memset routines 23 l.sfeqi r5, 0 24 l.bf 4f 27 l.andi r13, r4, 0xff 30 l.sfeqi r13, 0 31 l.bf 1f 33 l.sfleui r5, 7 35 /* Extend char c to 32-bit word cccc in r13 */ [all …]
|
D | string.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 33 l.addi r1,r1,-12 34 l.sw 0(r1),r6 35 l.sw 4(r1),r4 36 l.sw 8(r1),r3 38 l.addi r11,r5,0 39 2: l.sfeq r11,r0 40 l.bf 1f 41 l.addi r11,r11,-1 [all …]
|
/Linux-v6.6/arch/m68k/math-emu/ |
D | fp_util.S | 23 * the restrictions contained in a BSD-style copyright.) 63 tst.l (TASK_MM-8,%a2) 65 tst.l (TASK_MM-4,%a2) 67 tst.l (TASK_MM,%a2) 69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM) 70 2: clr.l %d0 94 | args: %d0 = source (32-bit long) 98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0 99 clr.l %d1 | sign defaults to zero 100 tst.l %d0 [all …]
|
/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
D | pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 return -EBUSY; in dss_pll_register() 61 if (dss_plls[i] && strcmp(dss_plls[i]->name, name) == 0) in dss_pll_find() 72 r = clk_prepare_enable(pll->clkin); in dss_pll_enable() 76 if (pll->regulator) { in dss_pll_enable() 77 r = regulator_enable(pll->regulator); in dss_pll_enable() 82 r = pll->ops->enable(pll); in dss_pll_enable() 89 if (pll->regulator) in dss_pll_enable() 90 regulator_disable(pll->regulator); in dss_pll_enable() 92 clk_disable_unprepare(pll->clkin); in dss_pll_enable() [all …]
|