Home
last modified time | relevance | path

Searched +full:8 +full:- +full:n +full:- +full:1 (Results 1 – 25 of 1070) sorted by relevance

12345678910>>...43

/linux/arch/mips/kernel/
H A Dmips-r2-to-r6-emul.c28 #include <asm/mips-r2-to-r6-emul.h>
55 extern const unsigned int fpucondbit[8];
63 mipsr2_emulation = 1; in mipsr2emu_enable()
65 pr_info("MIPS R2-to-R6 Emulator Enabled!"); in mipsr2emu_enable()
67 return 1; in mipsr2emu_enable()
72 * mipsr6_emul - Emulate some frequent R2/R5/R6 instructions in delay slot
83 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul()
84 (s32)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul()
92 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul()
93 (s64)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul()
[all …]
/linux/arch/arm/mm/
H A Dcopypage-xsc3.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mm/copypage-xsc3.S
7 * Adapted for 3rd gen XScale core, no more mini-dcache
15 * We don't really want write-allocate cache behaviour for these functions
16 * since that will just eat through 8K of the cache.
23 * can safely ignore them - break_cow() will flush them out of the cache
32 .arch xscale \n\ in xsc3_mc_copy_user_page()
33 pld [%1, #0] \n\ in xsc3_mc_copy_user_page()
34 pld [%1, #32] \n\ in xsc3_mc_copy_user_page()
35 1: pld [%1, #64] \n\ in xsc3_mc_copy_user_page()
[all …]
H A Dcopypage-xscale.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/lib/copypage-xscale.S
5 * Copyright (C) 1995-2005 Russell King
29 * XScale mini-dcache optimised copy_user_highpage
32 * corresponding address. Since the Dcache is read-allocate, this removes the
45 .arch xscale \n\ in mc_copy_user_page()
46 pld [%0, #0] \n\ in mc_copy_user_page()
47 pld [%0, #32] \n\ in mc_copy_user_page()
48 pld [%1, #0] \n\ in mc_copy_user_page()
49 pld [%1, #32] \n\ in mc_copy_user_page()
[all …]
/linux/arch/csky/lib/
H A Dusercopy.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
8 unsigned long n) in raw_copy_from_user() argument
13 "0: cmpnei %1, 0 \n" in raw_copy_from_user()
14 " bf 7f \n" in raw_copy_from_user()
15 " mov %3, %1 \n" in raw_copy_from_user()
16 " or %3, %2 \n" in raw_copy_from_user()
17 " andi %3, 3 \n" in raw_copy_from_user()
18 " cmpnei %3, 0 \n" in raw_copy_from_user()
19 " bf 1f \n" in raw_copy_from_user()
[all …]
/linux/arch/alpha/include/asm/
H A Dxor.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/asm-alpha/xor.h
5 * Optimized RAID-5 checksumming functions for alpha EV5 and EV6
46 asm(" \n\
47 .text \n\
48 .align 3 \n\
49 .ent xor_alpha_2 \n\
50 xor_alpha_2: \n\
51 .prologue 0 \n\
52 srl $16, 6, $16 \n\
[all …]
/linux/arch/x86/include/asm/
H A Dxor_32.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Optimized RAID-5 checksumming functions for MMX.
10 * High-speed RAID5 checksumming functions utilizing MMX instructions.
14 #define LD(x, y) " movq 8*("#x")(%1), %%mm"#y" ;\n"
15 #define ST(x, y) " movq %%mm"#y", 8*("#x")(%1) ;\n"
16 #define XO1(x, y) " pxor 8*("#x")(%2), %%mm"#y" ;\n"
17 #define XO2(x, y) " pxor 8*("#x")(%3), %%mm"#y" ;\n"
18 #define XO3(x, y) " pxor 8*("#x")(%4), %%mm"#y" ;\n"
19 #define XO4(x, y) " pxor 8*("#x")(%5), %%mm"#y" ;\n"
35 LD(i + 1, 1) \ in xor_pII_mmx_2()
[all …]
/linux/drivers/video/fbdev/
H A Datafb_utils.h1 /* SPDX-License-Identifier: GPL-2.0 */
22 * would be faster. I suspect not for simple text system - not much
30 * Unaligned read/write used requires 68020+ - think this is a problem?
39 * For other modes than 1 plane, lots of more such assembler functions
44 subl #65536,d0 replaced by clrw d0; subql #1,d0 for dbcc
54 asm volatile ("\n" in fb_memclear_small()
55 " lsr.l #1,%1 ; jcc 1f ; move.b %2,-(%0)\n" in fb_memclear_small()
56 "1: lsr.l #1,%1 ; jcc 1f ; move.w %2,-(%0)\n" in fb_memclear_small()
57 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0)\n" in fb_memclear_small()
58 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0) ; move.l %2,-(%0)\n" in fb_memclear_small()
[all …]
H A Dau1200fb.h64 uint32 reserved2[(0x0100-0x0058)/4];
77 uint32 reserved3[(0x0400-0x0180)/4];
79 volatile uint32 palette[(0x0800-0x0400)/4];
85 #define LCD_SCREEN_SEN (1<<31)
87 #define LCD_SCREEN_SY (0x07FF<< 8)
88 #define LCD_SCREEN_SWP (1<<7)
89 #define LCD_SCREEN_SWD (1<<6)
92 #define LCD_SCREEN_SX_N(WIDTH) ((WIDTH-1)<<19)
93 #define LCD_SCREEN_SY_N(HEIGHT) ((HEIGHT-1)<<8)
94 #define LCD_SCREEN_PT_CSTN (1<<0)
[all …]
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * R-Car Display Unit Registers Definitions
5 * Copyright (C) 2013-2015 Renesas Electronics Corporation
18 /* -----------------------------------------------------------------------------
22 #define DSYSR 0x00000 /* display 1 */
23 #define DSYSR_ILTS (1 << 29)
24 #define DSYSR_DSEC (1 << 20)
25 #define DSYSR_IUPD (1 << 16)
26 #define DSYSR_DRES (1 << 9)
27 #define DSYSR_DEN (1 << 8)
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dedup_split.c1 // SPDX-License-Identifier: GPL-2.0
16 btf__set_pointer_size(btf1, 8); /* enforce 64-bit arch */ in test_split_simple()
18 btf__add_int(btf1, "int", 4, BTF_INT_SIGNED); /* [1] int */ in test_split_simple()
19 btf__add_ptr(btf1, 1); /* [2] ptr to int */ in test_split_simple()
21 btf__add_field(btf1, "f1", 1, 0, 0); /* int f1; */ in test_split_simple()
26 "[1] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNED", in test_split_simple()
27 "[2] PTR '(anon)' type_id=1", in test_split_simple()
334 ID(n) btf_add_dup_struct_in_cu() argument
[all...]
H A Dbtf_write.c1 // SPDX-License-Identifier: GPL-2.0
18 ASSERT_EQ(str_off, -ENOENT, "int_str_missing_off"); in gen_btf()
21 ASSERT_EQ(str_off, 1, "int_str_off"); in gen_btf()
24 ASSERT_EQ(str_off, 1, "int_str_found_off"); in gen_btf()
28 ASSERT_EQ(id, 1, "int_id"); in gen_btf()
30 t = btf__type_by_id(btf, 1); in gen_btf()
31 /* should re-use previously added "int" string */ in gen_btf()
32 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in gen_btf()
33 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "int", "int_name"); in gen_btf()
35 ASSERT_EQ(t->size, 4, "int_sz"); in gen_btf()
[all …]
/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra194.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved.
23 #include "pinctrl-tegra.h"
1281 #define PINGROUP_REG_N(r) -1
1284 #define DRV_PINGROUP_N(r) -1
1287 .drv_reg = -1, \
1288 .drv_bank = -1, \
1289 .drvdn_bit = -1, \
1290 .drvup_bit = -1, \
1291 .slwr_bit = -1, \
[all …]
/linux/drivers/net/ethernet/neterion/
H A Ds2io-regs.h2 * regs.h: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC
3 * Copyright(c) 2002-2010 Exar Corp.
21 /* General Control-Status Registers */
24 #define GEN_INTR_TXDMA s2BIT(1)
27 #define GEN_INTR_TXTRAFFIC s2BIT(8)
42 u8 unused0[0x100 - 0x10];
46 #define SW_RESET_XENA vBIT(0xA5,0,8)
47 #define SW_RESET_FLASH vBIT(0xA5,8,8)
48 #define SW_RESET_EOI vBIT(0xA5,16,8)
58 #define ADAPTER_STATUS_RDMA_READY s2BIT(1)
[all …]
/linux/arch/arm64/include/asm/
H A Dio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1996-2000 Russell King
23 * Generic IO read/write. These perform native-endian accesses.
29 asm volatile("strb %w0, %1" : : "rZ" (val), "Qo" (*ptr)); in __raw_writeb()
36 asm volatile("strh %w0, %1" : : "rZ" (val), "Qo" (*ptr)); in __raw_writew()
43 asm volatile("str %w0, %1" : : "rZ" (val), "Qo" (*ptr)); in __raw_writel()
50 asm volatile("str %x0, %1" : : "rZ" (val), "Qo" (*ptr)); in __raw_writeq()
57 asm volatile(ALTERNATIVE("ldrb %w0, [%1]", in __raw_readb()
58 "ldarb %w0, [%1]", in __raw_readb()
69 asm volatile(ALTERNATIVE("ldrh %w0, [%1]", in __raw_readw()
[all …]
/linux/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 32-bit syscall ABI conformance test.
9 * gcc -Os -Wall -static -m32 test_syscall_vdso.c thunks_32.S
12 #define _GNU_SOURCE 1
14 #define __USE_GNU 1
30 printf("[SKIP]\tNot a 32-bit x86 userspace\n"); in main()
41 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) in get_syscall()
42 if (auxv->a_type == AT_SYSINFO) in get_syscall()
43 return auxv->a_un.a_val; in get_syscall()
44 printf("[WARN]\tAT_SYSINFO not supplied\n"); in get_syscall()
[all …]
/linux/arch/alpha/kernel/
H A Dcore_mcpcia.c1 // SPDX-License-Identifier: GPL-2.0
7 * Code common to all MCbus-PCI Adaptor core logic chipsets
27 * NOTE: Herein lie back-to-back mb instructions. They are magic.
33 * BIOS32-style PCI interface:
53 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
54 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0
55 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
57 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
60 * 10:8 Function number
63 * Type 1:
[all …]
/linux/arch/microblaze/lib/
H A Dfastcopy.S2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2008 Jim Law - Iris LP All rights reserved.
21 * Input : Operand1 in Reg r5 - destination address
22 * Operand2 in Reg r6 - source address
23 * Operand3 in Reg r7 - number of bytes to transfer
24 * Output: Result in Reg r3 - starting destinaition address
43 addi r4, r0, 4 /* n = 4 */
44 cmpu r4, r4, r7 /* n = c - n (unsigned) */
45 blti r4, a_xfer_end /* if n < 0, less than one word to transfer */
[all …]
/linux/samples/ftrace/
H A Dftrace-direct-modify.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <asm/asm-offsets.h>
14 trace_printk("my direct func1\n"); in my_direct_func1()
19 trace_printk("my direct func2\n"); in my_direct_func2()
31 " .pushsection .text, \"ax\", @progbits\n"
32 " .type my_tramp1, @function\n"
33 " .globl my_tramp1\n"
34 " my_tramp1:\n"
35 " addi sp,sp,-2*"SZREG"\n"
36 " "REG_S" t0,0*"SZREG"(sp)\n"
[all …]
/linux/tools/arch/arm64/include/asm/
H A Dsysreg.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 #include <linux/kasan-tags.h>
16 #include <asm/gpr-num.h>
22 * [20-19] : Op0
23 * [18-16] : Op1
24 * [15-12] : CRn
25 * [11-8] : CRm
26 * [7-5] : Op2
34 #define CRm_shift 8
59 #define __emit_inst(x) ".inst " __stringify((x)) "\n\t"
[all …]
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_regs.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * shmob_drm_regs.h -- SH Mobile DRM registers
23 #define LDDCKR_ICKSEL_MIPI (1 << 16)
27 #define LDDCKR_MOSEL (1 << 6)
29 #define LDDCKSTPR_DCKSTS (1 << 16)
30 #define LDDCKSTPR_DCKSTP (1 << 0)
32 #define LDMT1R_VPOL (1 << 28)
33 #define LDMT1R_HPOL (1 << 27)
34 #define LDMT1R_DWPOL (1 << 26)
35 #define LDMT1R_DIPOL (1 << 25)
[all …]
/linux/lib/raid6/
H A Dmktables.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- linux-c -*- ------------------------------------------------------- *
4 * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
6 * ----------------------------------------------------------------------- */
11 * Make RAID-6 tables. This is a host user space program to be run at
26 if (b & 1) in gfmul()
28 a = (a << 1) ^ (a & 0x80 ? 0x1d : 0); in gfmul()
29 b >>= 1; in gfmul()
37 uint8_t v = 1; in gfpow()
44 if (b & 1) in gfpow()
[all …]
/linux/drivers/scsi/aic94xx/
H A Daic94xx_dump.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #define MD(x) (1 << (x))
25 #define MODE_COMMON (1 << 31)
34 {"LmMnSCBPTR", 0x20, 16, MD(0)|MD(1)|MD(2)|MD(3)|MD(4) },
35 {"LmMnDDBPTR", 0x22, 16, MD(0)|MD(1)|MD(2)|MD(3)|MD(4) },
41 {"LmXMTPRIMCS", 0x44, 8, MODE_COMMON },
42 {"LmCONSTAT", 0x45, 8, MODE_COMMON },
43 {"LmMnDMAERRS", 0x46, 8, MD(0)|MD(1) },
44 {"LmMnSGDMAERRS", 0x47, 8, MD(0)|MD(1) },
45 {"LmMnEXPHDRP", 0x48, 8, MD(0) },
[all …]
/linux/drivers/comedi/drivers/tests/
H A Dni_routes_test.c1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
28 #define B(x) ((x) - NI_NAMES_BASE)
32 static const char *pci_6070e = "pci-6070e";
33 static const char *pci_6220 = "pci-6220";
34 static const char *pci_fake = "pci-fake";
47 static const int bad_dest = O(8), dest0 = O(0), desti = O(5);
87 {.dest = O(0), .src = O9(/**/1, 2, 3, 4, 5, 6, 7, 8, 9)},
88 {.dest = O(1), .src = O9(0, /**/2, 3, 4, 5, 6, 7, 8, 9)},
90 {.dest = O(5), .src = O9(0, 1, 2, 3, 4,/**/ 6, 7, 8, 9)},
[all …]
/linux/arch/alpha/lib/
H A Dmemcpy.c1 // SPDX-License-Identifier: GPL-2.0
14 * at this point gcc is unable to sanely compile "if (n >= 0)", resulting in a
16 * "bge reg, xx"). I hope alpha-gcc will be fixed to notice this eventually..
27 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument
29 if (n <= 0) return; \
30 n--; \
34 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument
36 if (n <= 0) return; \
37 n--; \
38 d--; s--; \
[all …]
/linux/arch/powerpc/lib/
H A Dcopy_32.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Memory copy functions for 32-bit PowerPC.
5 * Copyright (C) 1996-2005 Paul Mackerras.
12 #include <asm/code-patching-asm.h>
17 lwz r8,8(r4); \
21 stw r8,8(r6); \
25 #define COPY_16_BYTES_WITHEX(n) \ argument
26 8 ## n ## 0: \
28 8 ## n ## 1: \
29 lwz r8,8(r4); \
[all …]

12345678910>>...43