| /linux/drivers/media/common/siano/ |
| H A D | smsdvb-debugfs.c | 1 // 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 += sysfs_emit_at(buf, n, "is_rf_locked = %d\n", p->is_rf_locked); in smsdvb_print_dvb_stats() 49 n += sysfs_emit_at(buf, n, "is_demod_locked = %d\n", p->is_demod_locked); in smsdvb_print_dvb_stats() 50 n += sysfs_emit_at(buf, n, "is_external_lna_on = %d\n", p->is_external_lna_on); in smsdvb_print_dvb_stats() 51 n += sysfs_emit_at(buf, n, "SNR = %d\n", p->SNR); in smsdvb_print_dvb_stats() [all …]
|
| /linux/samples/ftrace/ |
| H A D | ftrace-direct-multi-modify.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <asm/asm-offsets.h> 14 trace_printk("my direct func1 ip %lx\n", ip); in my_direct_func1() 19 trace_printk("my direct func2 ip %lx\n", ip); in my_direct_func2() 29 " .pushsection .text, \"ax\", @progbits\n" 30 " .type my_tramp1, @function\n" 31 " .globl my_tramp1\n" 32 " my_tramp1:\n" 33 " addi sp,sp,-3*"SZREG"\n" 34 " "REG_S" a0,0*"SZREG"(sp)\n" [all …]
|
| H A D | ftrace-direct-modify.c | 1 // 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 …]
|
| H A D | ftrace-direct-too.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <asm/asm-offsets.h> 16 trace_printk("handle mm fault vma=%p address=%lx flags=%x regs=%p\n", in my_direct_func() 26 " .pushsection .text, \"ax\", @progbits\n" 27 " .type my_tramp, @function\n" 28 " .globl my_tramp\n" 29 " my_tramp:\n" 30 " addi sp,sp,-5*"SZREG"\n" 31 " "REG_S" a0,0*"SZREG"(sp)\n" 32 " "REG_S" a1,1*"SZREG"(sp)\n" [all …]
|
| H A D | ftrace-direct-multi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <asm/asm-offsets.h> 15 trace_printk("ip %lx\n", ip); in my_direct_func() 24 " .pushsection .text, \"ax\", @progbits\n" 25 " .type my_tramp, @function\n" 26 " .globl my_tramp\n" 27 " my_tramp:\n" 28 " addi sp,sp,-3*"SZREG"\n" 29 " "REG_S" a0,0*"SZREG"(sp)\n" 30 " "REG_S" t0,1*"SZREG"(sp)\n" [all …]
|
| H A D | ftrace-direct.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <asm/asm-offsets.h> 14 trace_printk("waking up %s-%d\n", p->comm, p->pid); in my_direct_func() 23 " .pushsection .text, \"ax\", @progbits\n" 24 " .type my_tramp, @function\n" 25 " .globl my_tramp\n" 26 " my_tramp:\n" 27 " addi sp,sp,-3*"SZREG"\n" 28 " "REG_S" a0,0*"SZREG"(sp)\n" 29 " "REG_S" t0,1*"SZREG"(sp)\n" [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | unaligned-emul.h | 1 /* 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 …]
|
| H A D | futex.h | 6 * Copyright (c) 2006 Ralf Baechle (ralf@linux-mips.org) 15 #include <asm/asm-eva.h> 23 #include <asm-generic/futex.h> 29 " .set push \n" \ 30 " .set noat \n" \ 31 " .set push \n" \ 32 " .set arch=r4000 \n" \ 33 "1: ll %1, %4 # __futex_atomic_op \n" \ 34 " .set pop \n" \ 35 " " insn " \n" \ [all …]
|
| /linux/arch/arc/include/asm/ |
| H A D | uaccess.h | 1 /* 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 41 * Returns 0 on success, -EFAULT if not. 42 * @ret already contains 0 - given that errors will be less likely [all …]
|
| /linux/fs/smb/server/ |
| H A D | ndr.c | 1 // 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, KSMBD_DEFAULT_GFP); 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/arch/nios2/mm/ |
| H A D | uaccess.c | 13 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/tools/power/cpupower/po/ |
| H A D | de.po | 3 # 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 …]
|
| H A D | ka.po | 3 # Copyright (C) 2004-2022 Dominik Brodowski <linux@dominikbrodowski.net> 9 "Project-Id-Version: cpufrequtils 006\n" 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 12 "PO-Revision-Date: 2022-09-18 22:12+0200\n" 13 "Last-Translator: Ekaterine Papava <katopapava@gmail.com>\n" 14 "Language-Team: NONE\n" 15 "Language: ka\n" 16 "MIME-Version: 1.0\n" 17 "Content-Type: text/plain; charset=UTF-8\n" [all …]
|
| H A D | fr.po | 9 "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 …]
|
| H A D | it.po | 2 # 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 …]
|
| H A D | cs.po | 10 "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 …]
|
| H A D | pt.po | 9 "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/arch/mips/kernel/ |
| H A D | mips-r2-to-r6-emul.c | 28 #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/lib/raid6/ |
| H A D | avx512.c | 1 // 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 48 z0 = disks - 3; /* Highest data disk */ in raid6_avx5121_gen_syndrome() 54 asm volatile("vmovdqa64 %0,%%zmm0\n\t" in raid6_avx5121_gen_syndrome() 60 asm volatile("prefetchnta %0\n\t" in raid6_avx5121_gen_syndrome() 61 "vmovdqa64 %0,%%zmm2\n\t" /* P[0] */ in raid6_avx5121_gen_syndrome() 62 "prefetchnta %1\n\t" in raid6_avx5121_gen_syndrome() [all …]
|
| H A D | rvv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * RAID-6 syndrome calculation using RISC-V vector instructions 9 * Copyright 2002-2004 H. Peter Anvin 25 z0 = disks - 3; /* Highest data disk */ in raid6_rvv1_gen_syndrome_real() 29 asm volatile (".option push\n" in raid6_rvv1_gen_syndrome_real() 30 ".option arch,+v\n" in raid6_rvv1_gen_syndrome_real() 31 "vsetvli %0, x0, e8, m1, ta, ma\n" in raid6_rvv1_gen_syndrome_real() 32 ".option pop\n" in raid6_rvv1_gen_syndrome_real() 41 asm volatile (".option push\n" in raid6_rvv1_gen_syndrome_real() 42 ".option arch,+v\n" in raid6_rvv1_gen_syndrome_real() [all …]
|
| /linux/tools/include/linux/ |
| H A D | log2.h | 1 /* 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/scripts/kconfig/ |
| H A D | mconf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 5 * Introduced single menu mode (show all sub-menus in one large tree). 6 * 2002-11-06 Petr Baudis <pasky@ucw.cz> 27 #include "mnconf-common.h" 30 "Overview\n" 31 "--------\n" 32 "This interface lets you select features and parameters for the build.\n" 33 "Features can either be built-in, modularized, or ignored. Parameters\n" 34 "must be entered in as decimal or hexadecimal numbers or text.\n" [all …]
|
| /linux/drivers/media/cec/core/ |
| H A D | cec-notifier.c | 1 // 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. 19 #include <media/cec-notifier.h> 38 * cec_notifier_get_conn - find or create a new cec_notifier for the given 54 struct cec_notifier *n; in cec_notifier_get_conn() local 57 list_for_each_entry(n, &cec_notifiers, head) { in cec_notifier_get_conn() 58 if (n->hdmi_dev == hdmi_dev && in cec_notifier_get_conn() 60 (n->port_name && !strcmp(n->port_name, port_name)))) { in cec_notifier_get_conn() 61 kref_get(&n->kref); in cec_notifier_get_conn() [all …]
|
| /linux/arch/m68k/lib/ |
| H A D | checksum.c | 1 // 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/arch/csky/lib/ |
| H A D | usercopy.c | 1 // 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 …]
|