Home
last modified time | relevance | path

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

12345678910>>...53

/Linux-v5.15/drivers/media/common/siano/
Dsmsdvb-debugfs.c1 // SPDX-License-Identifier: GPL-2.0+
37 int n = 0; in smsdvb_print_dvb_stats() local
40 spin_lock(&debug_data->lock); in smsdvb_print_dvb_stats()
41 if (debug_data->stats_count) { in smsdvb_print_dvb_stats()
42 spin_unlock(&debug_data->lock); in smsdvb_print_dvb_stats()
46 buf = debug_data->stats_data; in smsdvb_print_dvb_stats()
48 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
49 "is_rf_locked = %d\n", p->is_rf_locked); in smsdvb_print_dvb_stats()
50 n += scnprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
51 "is_demod_locked = %d\n", p->is_demod_locked); in smsdvb_print_dvb_stats()
[all …]
/Linux-v5.15/arch/arc/include/asm/
Duaccess.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6 * -__clear_user( ) called multiple times during elf load was byte loop
10 * -Hand crafted constant propagation for "constant" copy sizes
11 * -stock kernel shrunk by 33K at -O3
14 * -Added option to (UN)inline copy_(to|from)_user to reduce code sz
15 * -kernel shrunk by 200K even at -O3 (gcc 4.2.1)
16 * -Enabled when doing -Os
32 * where TASK_SIZE could either be retrieved from thread_info->addr_limit or
39 * non-ngeative, which implies that buffer start will be within limit too.
[all …]
/Linux-v5.15/arch/mips/include/asm/
Dunaligned-emul.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 __asm__ __volatile__ (".set\tnoat\n" \
11 "1:\t"type##_lb("%0", "0(%2)")"\n" \
12 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\
13 "sll\t%0, 0x8\n\t" \
14 "or\t%0, $1\n\t" \
15 "li\t%1, 0\n" \
16 "3:\t.set\tat\n\t" \
17 ".insn\n\t" \
18 ".section\t.fixup,\"ax\"\n\t" \
[all …]
Dfutex.h6 * Copyright (c) 2006 Ralf Baechle (ralf@linux-mips.org)
15 #include <asm/asm-eva.h>
26 " .set push \n" \
27 " .set noat \n" \
28 " .set push \n" \
29 " .set arch=r4000 \n" \
30 "1: ll %1, %4 # __futex_atomic_op \n" \
31 " .set pop \n" \
32 " " insn " \n" \
33 " .set arch=r4000 \n" \
[all …]
/Linux-v5.15/tools/bpf/bpftool/
Dgen.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
45 if (str[n1 - i - 1] != suffix[n2 - i - 1]) in str_has_suffix()
55 strncpy(name, basename(file), MAX_OBJ_NAME_LEN - 1); in get_obj_name()
56 name[MAX_OBJ_NAME_LEN - 1] = '\0'; in get_obj_name()
58 name[strlen(name) - 2] = '\0'; in get_obj_name()
101 const char *sec_name = btf__name_by_offset(btf, sec->name_off); in codegen_datasec_def()
123 printf(" struct %s__%s {\n", obj_name, sec_ident); in codegen_datasec_def()
125 const struct btf_type *var = btf__type_by_id(btf, sec_var->type); in codegen_datasec_def()
126 const char *var_name = btf__name_by_offset(btf, var->name_off); in codegen_datasec_def()
132 int need_off = sec_var->offset, align_off, align; in codegen_datasec_def()
[all …]
/Linux-v5.15/arch/nios2/mm/
Duaccess.c13 asm(".global raw_copy_from_user\n"
14 " .type raw_copy_from_user, @function\n"
15 "raw_copy_from_user:\n"
16 " movi r2,7\n"
17 " mov r3,r4\n"
18 " bge r2,r6,1f\n"
19 " xor r2,r4,r5\n"
20 " andi r2,r2,3\n"
21 " movi r7,3\n"
22 " beq r2,zero,4f\n"
[all …]
/Linux-v5.15/fs/ksmbd/
Dndr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 static inline char *ndr_get_field(struct ndr *n) in ndr_get_field() argument
14 return n->data + n->offset; in ndr_get_field()
17 static int try_to_realloc_ndr_blob(struct ndr *n, size_t sz) in try_to_realloc_ndr_blob() argument
21 data = krealloc(n->data, n->offset + sz + 1024, GFP_KERNEL); in try_to_realloc_ndr_blob()
23 return -ENOMEM; in try_to_realloc_ndr_blob()
25 n->data = data; in try_to_realloc_ndr_blob()
26 n->length += 1024; in try_to_realloc_ndr_blob()
27 memset(n->data + n->offset, 0, 1024); in try_to_realloc_ndr_blob()
31 static int ndr_write_int16(struct ndr *n, __u16 value) in ndr_write_int16() argument
[all …]
/Linux-v5.15/arch/x86/lib/
Dmemcpy_32.c1 // SPDX-License-Identifier: GPL-2.0
8 __visible void *memcpy(void *to, const void *from, size_t n) in memcpy() argument
11 return __memcpy3d(to, from, n); in memcpy()
13 return __memcpy(to, from, n); in memcpy()
24 __visible void *memmove(void *dest, const void *src, size_t n) in memmove() argument
31 "cmp $0x10, %0\n\t" in memmove()
32 "jb 1f\n\t" in memmove()
35 "cmp %2, %1\n\t" in memmove()
36 "jb 2f\n\t" in memmove()
42 "cmp $680, %0\n\t" in memmove()
[all …]
Dmmx_32.c1 // SPDX-License-Identifier: GPL-2.0
7 * (reported so on K6-III)
9 * leal ebx. [ebx] is apparently best for K6-2, but Cyrix ??
16 * 22/09/2000 - Arjan van de Ven
17 * Improved for non-engineering-sample Athlons
53 "1: prefetch (%0)\n" /* This set is 28 bytes */ in _mmx_memcpy()
54 " prefetch 64(%0)\n" in _mmx_memcpy()
55 " prefetch 128(%0)\n" in _mmx_memcpy()
56 " prefetch 192(%0)\n" in _mmx_memcpy()
57 " prefetch 256(%0)\n" in _mmx_memcpy()
[all …]
/Linux-v5.15/Documentation/target/
Dtcm_mod_builder.py2 # The TCM v4 multi-protocol fabric module generation script for drivers/target/$NEW_MOD
5 # Copyright (c) 2010 Linux-iSCSI.org
50 buf = "#define " + fabric_mod_name.upper() + "_VERSION \"v0.1\"\n"
51 buf += "#define " + fabric_mod_name.upper() + "_NAMELEN 32\n"
52 buf += "\n"
53 buf += "struct " + fabric_mod_name + "_tpg {\n"
54 buf += " /* FC lport target portal group tag for TCM */\n"
55 buf += " u16 lport_tpgt;\n"
56 buf += " /* Pointer back to " + fabric_mod_name + "_lport */\n"
57 buf += " struct " + fabric_mod_name + "_lport *lport;\n"
[all …]
/Linux-v5.15/tools/power/cpupower/po/
Dde.po3 # Copyright (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.net>
8 "Project-Id-Version: cpufrequtils 006\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
11 "PO-Revision-Date: 2019-06-02 15:23+0200\n"
12 "Last-Translator: Benjamin Weis <benjamin.weis@gmx.com>\n"
13 "Language-Team: NONE\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
[all …]
Dfr.po9 "Project-Id-Version: cpufrequtils 0.1-pre2\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
12 "PO-Revision-Date: 2004-11-17 15:53+1000\n"
13 "Last-Translator: Bruno Ducrot <ducrot@poupinou.org>\n"
14 "Language-Team: NONE\n"
15 "Language: \n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=ISO-8859-1\n"
18 "Content-Transfer-Encoding: 8bit\n"
[all …]
Dit.po2 # Copyright (C) 2004-2009
9 "Project-Id-Version: cpufrequtils 0.3\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
12 "PO-Revision-Date: 2009-08-15 12:00+0900\n"
13 "Last-Translator: Mattia Dongili <malattia@gmail.com>\n"
14 "Language-Team: NONE\n"
15 "Language: \n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
[all …]
Dcs.po10 "Project-Id-Version: cs\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
13 "PO-Revision-Date: 2008-06-11 16:26+0200\n"
14 "Last-Translator: Karel Volný <kavol@seznam.cz>\n"
15 "Language-Team: Czech <diskuze@lists.l10n.cz>\n"
16 "Language: cs\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
[all …]
Dpt.po9 "Project-Id-Version: cpufrequtils 004\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
12 "PO-Revision-Date: 2008-06-14 22:16-0400\n"
13 "Last-Translator: Claudio Eduardo <claudioeddy@gmail.com>\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
70 #: utils/idle_monitor/cpupower-monitor.c:66
71 #, c-format
[all …]
/Linux-v5.15/include/linux/
Dlog2.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 * non-constant log of base 2 calculators
16 * - the arch may override these in asm/bitops.h if they can be implemented
18 * - the arch is not required to handle n==0 if implementing the fallback
22 int __ilog2_u32(u32 n) in __ilog2_u32() argument
24 return fls(n) - 1; in __ilog2_u32()
30 int __ilog2_u64(u64 n) in __ilog2_u64() argument
32 return fls64(n) - 1; in __ilog2_u64()
37 * is_power_of_2() - check if a value is a power of two
38 * @n: the value to check
[all …]
/Linux-v5.15/arch/mips/kernel/
Dmips-r2-to-r6-emul.c28 #include <asm/mips-r2-to-r6-emul.h>
65 pr_info("MIPS R2-to-R6 Emulator Enabled!"); 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()
101 return -SIGFPE; in mipsr6_emul()
106 regs->regs[MIPSInst_RD(ir)] = in mipsr6_emul()
107 regs->regs[MIPSInst_RS(ir)] | in mipsr6_emul()
[all …]
/Linux-v5.15/tools/include/linux/
Dlog2.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 * non-constant log of base 2 calculators
16 * - the arch may override these in asm/bitops.h if they can be implemented
18 * - the arch is not required to handle n==0 if implementing the fallback
21 int __ilog2_u32(u32 n) in __ilog2_u32() argument
23 return fls(n) - 1; in __ilog2_u32()
27 int __ilog2_u64(u64 n) in __ilog2_u64() argument
29 return fls64(n) - 1; in __ilog2_u64()
38 bool is_power_of_2(unsigned long n) in is_power_of_2() argument
40 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2()
[all …]
/Linux-v5.15/lib/raid6/
Davx512.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- linux-c -*- --------------------------------------------------------
10 * Based on sse2.c: Copyright 2002 H. Peter Anvin - All Rights Reserved
12 * -----------------------------------------------------------------------
16 * AVX512 implementation of RAID-6 syndrome functions
50 z0 = disks - 3; /* Highest data disk */ in raid6_avx5121_gen_syndrome()
56 asm volatile("vmovdqa64 %0,%%zmm0\n\t" in raid6_avx5121_gen_syndrome()
62 asm volatile("prefetchnta %0\n\t" in raid6_avx5121_gen_syndrome()
63 "vmovdqa64 %0,%%zmm2\n\t" /* P[0] */ in raid6_avx5121_gen_syndrome()
64 "prefetchnta %1\n\t" in raid6_avx5121_gen_syndrome()
[all …]
/Linux-v5.15/drivers/media/cec/core/
Dcec-notifier.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cec-notifier.c - notify CEC drivers of physical address changes
6 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
18 #include <media/cec-notifier.h>
37 * cec_notifier_get_conn - find or create a new cec_notifier for the given
53 struct cec_notifier *n; in cec_notifier_get_conn() local
56 list_for_each_entry(n, &cec_notifiers, head) { in cec_notifier_get_conn()
57 if (n->hdmi_dev == hdmi_dev && in cec_notifier_get_conn()
59 (n->port_name && !strcmp(n->port_name, port_name)))) { in cec_notifier_get_conn()
60 kref_get(&n->kref); in cec_notifier_get_conn()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_processpptables.c41 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
43 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
52 const void *table_address = hwmgr->soft_pp_table; in get_powerplay_table()
56 smu_atom_get_data_table(hwmgr->adev, index, in get_powerplay_table()
59 hwmgr->soft_pp_table = table_address; in get_powerplay_table()
60 hwmgr->soft_pp_table_size = size; in get_powerplay_table()
71 pr_info("Version = 0x%08x\n", pptable->Version);
73 pr_info("FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]);
74 pr_info("FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]);
76 pr_info("SocketPowerLimitAc0 = %d\n", pptable->SocketPowerLimitAc0);
[all …]
/Linux-v5.15/arch/csky/lib/
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-v5.15/arch/sparc/include/asm/
Dxor_32.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Optimized RAID-5 checksumming functions for 32-bit Sparc.
22 "ldd [%0 + 0x00], %%g2\n\t" in sparc_2()
23 "ldd [%0 + 0x08], %%g4\n\t" in sparc_2()
24 "ldd [%0 + 0x10], %%o0\n\t" in sparc_2()
25 "ldd [%0 + 0x18], %%o2\n\t" in sparc_2()
26 "ldd [%1 + 0x00], %%o4\n\t" in sparc_2()
27 "ldd [%1 + 0x08], %%l0\n\t" in sparc_2()
28 "ldd [%1 + 0x10], %%l2\n\t" in sparc_2()
29 "ldd [%1 + 0x18], %%l4\n\t" in sparc_2()
[all …]
/Linux-v5.15/arch/m68k/lib/
Dchecksum.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * Andreas Schwab, <schwab@issan.informatik.uni-dortmund.de>
19 * length-counter instead of the length counter
22 * data-registers to hold input values and one tries to
43 * is aligned on either a 2-byte or 4-byte boundary. in csum_partial()
45 __asm__("movel %2,%3\n\t" in csum_partial()
46 "btst #1,%3\n\t" /* Check alignment */ in csum_partial()
47 "jeq 2f\n\t" in csum_partial()
48 "subql #2,%1\n\t" /* buff%4==2: treat first word */ in csum_partial()
49 "jgt 1f\n\t" in csum_partial()
[all …]
/Linux-v5.15/arch/sh/include/asm/
Duaccess_32.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2003 - 2008 Paul Mundt
42 "1:\n\t" \
43 "mov." insn " %2, %1\n\t" \
44 "2:\n" \
45 ".section .fixup,\"ax\"\n" \
46 "3:\n\t" \
47 "mov #0, %1\n\t" \
48 "mov.l 4f, %0\n\t" \
49 "jmp @%0\n\t" \
[all …]

12345678910>>...53