| /kernel/linux/linux-5.10/drivers/media/common/siano/ |
| 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 += 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/common/siano/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/sirf/ |
| D | pinctrl-atlas7.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group 26 #include <linux/pinctrl/pinconf-generic.h> 30 #define N 0 macro 32 /* The Bank contains input-disable regisgers */ 56 /* Raw value of Driver-Strength Bits */ 63 /* Drive-Strength Intermediate Values */ 64 #define DS_NULL -1 72 /* The Drive-Strength of 4WE Pad DS1 0 CO */ 78 /* The Drive-Strength of 16st Pad DS3 2 1 0 CO */ [all …]
|
| /kernel/linux/linux-5.10/arch/arc/include/asm/ |
| 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 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 …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arc/include/asm/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/nios2/mm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/nios2/mm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/samples/ftrace/ |
| 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() 28 #include <asm/nospec-branch.h> 31 " .pushsection .text, \"ax\", @progbits\n" 32 " .type my_tramp1, @function\n" 33 " .globl my_tramp1\n" 36 " pushq %rbp\n" 37 " movq %rsp, %rbp\n" [all …]
|
| 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() 30 #include <asm/nospec-branch.h> 33 " .pushsection .text, \"ax\", @progbits\n" 34 " .type my_tramp1, @function\n" 35 " .globl my_tramp1\n" 38 " pushq %rbp\n" 39 " movq %rsp, %rbp\n" [all …]
|
| /kernel/linux/linux-6.6/fs/smb/server/ |
| 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, 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 …]
|
| /kernel/linux/linux-5.10/arch/x86/lib/ |
| D | memcpy_32.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/target/ |
| D | tcm_mod_builder.py | 2 # 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 …]
|
| /kernel/linux/linux-5.10/tools/power/cpupower/po/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/power/cpupower/po/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| 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 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| 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 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/kernel/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/mips/kernel/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/bpf/bpftool/ |
| D | gen.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 44 if (str[n1 - i - 1] != suffix[n2 - i - 1]) in str_has_suffix() 54 strncpy(name, basename(file), MAX_OBJ_NAME_LEN - 1); in get_obj_name() 55 name[MAX_OBJ_NAME_LEN - 1] = '\0'; in get_obj_name() 57 name[strlen(name) - 2] = '\0'; in get_obj_name() 100 const char *sec_name = btf__name_by_offset(btf, sec->name_off); in codegen_datasec_def() 120 printf(" struct %s__%s {\n", obj_name, sec_ident); in codegen_datasec_def() 122 const struct btf_type *var = btf__type_by_id(btf, sec_var->type); in codegen_datasec_def() 123 const char *var_name = btf__name_by_offset(btf, var->name_off); in codegen_datasec_def() 129 int need_off = sec_var->offset, align_off, align; in codegen_datasec_def() [all …]
|
| /kernel/linux/linux-6.6/tools/include/linux/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/include/linux/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/cec/core/ |
| 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 …]
|