Home
last modified time | relevance | path

Searched +full:- +full:l (Results 1 – 25 of 1093) sorted by relevance

12345678910>>...44

/linux/arch/openrisc/kernel/
H A Dentry.S1 /* 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 …]
H A Dhead.S1 /* 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/arch/m68k/ifpsp060/src/
H A Ditest.S3 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 …]
H A Dftest.S3 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/arch/sh/kernel/cpu/sh2/
H A Dentry.S1 /* 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/include/asm-generic/
H A Dlocal64.h1 /* 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 …]
H A Dlocal.h1 /* 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/drivers/net/ethernet/broadcom/
H A Dbnx2.h3 * 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/arch/sh/kernel/
H A Drelocate_kernel.S1 /* 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/net/tipc/
H A Dlink.c4 * 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
244 static int tipc_link_proto_rcv(struct tipc_link *l, struct sk_buff *skb,
246 static void tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe,
250 static void link_print(struct tipc_link *l, const char *str);
251 static int tipc_link_build_nack_msg(struct tipc_link *l,
253 static void tipc_link_build_bc_init_msg(struct tipc_link *l,
256 struct tipc_link *l, u8 start_index);
257 static u16 tipc_build_gap_ack_blks(struct tipc_link *l, struct tipc_msg *hdr);
[all …]
/linux/fs/bcachefs/
H A Dnocow_locking.c1 // SPDX-License-Identifier: GPL-2.0
13 struct nocow_lock_bucket *l = bucket_nocow_lock(t, dev_bucket); in bch2_bucket_nocow_is_locked() local
16 for (i = 0; i < ARRAY_SIZE(l->b); i++) in bch2_bucket_nocow_is_locked()
17 if (l->b[i] == dev_bucket && atomic_read(&l->l[i])) in bch2_bucket_nocow_is_locked()
22 #define sign(v) (v < 0 ? -1 : v > 0 ? 1 : 0)
27 struct nocow_lock_bucket *l = bucket_nocow_lock(t, dev_bucket); in bch2_bucket_nocow_unlock() local
28 int lock_val = flags ? 1 : -1; in bch2_bucket_nocow_unlock()
31 for (i = 0; i < ARRAY_SIZE(l->b); i++) in bch2_bucket_nocow_unlock()
32 if (l->b[i] == dev_bucket) { in bch2_bucket_nocow_unlock()
33 int v = atomic_sub_return(lock_val, &l->l[i]); in bch2_bucket_nocow_unlock()
[all …]
/linux/arch/x86/include/asm/
H A Dlocal.h1 /* 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/arch/loongarch/include/asm/
H A Dlocal.h1 /* 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/arch/sh/lib/
H A Dmovmem.S1 /* 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 …]
H A Dcopy_page.S1 /* 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/arch/mips/include/asm/
H A Dlocal.h1 /* 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/arch/alpha/include/asm/
H A Dlocal.h1 /* 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/arch/sh/kernel/cpu/sh2a/
H A Dentry.S1 /* 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/arch/powerpc/include/asm/
H A Dlocal.h1 /* 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/arch/sh/kernel/cpu/shmobile/
H A Dsleep.S1 /* 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/arch/m68k/math-emu/
H A Dfp_util.S23 * 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/arch/sh/include/asm/
H A Dswitch_to_32.h1 /* 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 …]
/linux/arch/openrisc/lib/
H A Dmemset.S1 /* 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 …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dpll.c1 // 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 …]
/linux/Documentation/networking/
H A Dtls-offload-layers.svg1-linecap="square" stroke-miterlimit="10" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://…

12345678910>>...44