/linux/arch/sparc/include/asm/ |
H A D | fbio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 43 #define CG14_XLUT 0x3000 /* X Look Up Table -- ??? */ 44 #define CG14_CLUT1 0x4000 /* Color Look Up Table */ 45 #define CG14_CLUT2 0x5000 /* Color Look Up Table */ 46 #define CG14_CLUT3 0x6000 /* Color Look Up Table */
|
/linux/Documentation/staging/ |
H A D | crc32.rst | 5 A CRC is a long-division remainder. You add the CRC to the message, 11 protocols put the end-of-frame flag after the CRC. 15 - We're working in binary, so the digits are only 0 and 1, and 16 - When dividing polynomials, there are no carries. Rather than add and 21 To produce a 32-bit CRC, the divisor is actually a 33-bit CRC polynomial. 24 familiar with the IEEE 754 floating-point format, it's the same idea.) 28 the best error-detecting properties, this should correspond to the 29 order they're actually sent. For example, standard RS-232 serial is 30 little-endian; the most significant bit (sometimes used for parity) 38 back into range. In binary, this is easy - it has to be either 0 or 1, [all …]
|
/linux/drivers/bus/ |
H A D | arm-cci.c | 17 #include <linux/arm-cci.h> 49 {.compatible = "arm,cci-400", .data = CCI400_PORTS_DATA }, 52 { .compatible = "arm,cci-500", }, 53 { .compatible = "arm,cci-550", }, 59 OF_DEV_AUXDATA("arm,cci-400-pmu", 0, NULL, &cci_ctrl_base), 60 OF_DEV_AUXDATA("arm,cci-400-pmu,r0", 0, NULL, &cci_ctrl_base), 61 OF_DEV_AUXDATA("arm,cci-400-pmu,r1", 0, NULL, &cci_ctrl_base), 62 OF_DEV_AUXDATA("arm,cci-500-pmu,r0", 0, NULL, &cci_ctrl_base), 63 OF_DEV_AUXDATA("arm,cci-550-pmu,r0", 0, NULL, &cci_ctrl_base), 67 #define DRIVER_NAME "ARM-CCI" [all …]
|
/linux/arch/arm64/include/asm/ |
H A D | smp_plat.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 31 * - mpidr: MPIDR.Aff* bits to be used for the look-up 33 * Returns the cpu logical index or -EINVAL on look-up error 41 return -EINVAL; in get_logical_index()
|
/linux/sound/core/ |
H A D | misc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 * snd_pci_quirk_lookup_id - look up a PCI SSID quirk list 33 * Look through the given quirk list and finds a matching entry 45 for (q = list; q->subvendor || q->subdevice; q++) { in snd_pci_quirk_lookup_id() 46 if (q->subvendor != vendor) in snd_pci_quirk_lookup_id() 48 if (!q->subdevice || in snd_pci_quirk_lookup_id() 49 (device & q->subdevice_mask) == q->subdevice) in snd_pci_quirk_lookup_id() 57 * snd_pci_quirk_lookup - look up a PCI SSID quirk list 61 * Look through the given quirk list and finds a matching entry 72 return snd_pci_quirk_lookup_id(pci->subsystem_vendor, in snd_pci_quirk_lookup() [all …]
|
/linux/Documentation/networking/ |
H A D | fib_trie.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 LC-trie implementation notes 8 ---------- 19 ------------------------ 22 child array - the "child index". See Level Compression. 41 children of a full child (see "full_children") up one level, so that 46 in order to avoid ever-increasing child arrays. 61 --------- 64 possible to allow verification and help up reviewing. 76 Looks up a key, deletes it and runs the level compression algorithm. [all …]
|
/linux/kernel/ |
H A D | kallsyms.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * kallsyms.c: in-kernel printing of symbolic oopses and stack traces. 5 * Rewritten and vastly simplified by Rusty Russell for in-kernel 75 len--; in kallsyms_expand_symbol() 83 maxlen--; in kallsyms_expand_symbol() 105 * Get just the first code, look it up in the token table, in kallsyms_get_symbol_type() 128 * Sequentially scan all the symbols up to the point we're searching in get_symbol_offset() 137 * If MSB is 1, it is a "big" symbol, so we need to look into in get_symbol_offset() 146 return name - kallsyms_names; in get_symbol_offset() 175 high = kallsyms_num_syms - 1; in kallsyms_lookup_names() [all …]
|
/linux/Documentation/filesystems/ |
H A D | idmappings.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------ 32 u22 -> k10000 33 u23 -> k10001 34 u24 -> k10002 36 From a mathematical viewpoint ``U`` and ``K`` are well-ordered sets and an 38 order isomorphic. In fact, ``U`` and ``K`` are always well-ordered subsets of 45 k10000 -> u22 46 k10001 -> u23 47 k10002 -> u24 [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | TODO.txt | 2 ----------------- 4 - For discrete memory manager, merge enough dg1 to be able to refactor it to 5 TTM. Then land pci ids (just in case that turns up an uapi problem). TTM has 8 - Come up with a plan what to do with drm/scheduler and how to get there. 10 - Roll out dma_fence critical section annotations. 12 - There's a lot of complexity added past few years to make relocations faster. 15 1. Land a modern pre-bound uapi like VM_BIND 23 - i915_sw_fence seems to be the main structure for the i915-gem dma_fence model. 24 How-to-dma_fence is core and drivers really shouldn't build their own world 27 removed if dri-devel consensus is that it's not a good idea. Once that's done [all …]
|
/linux/drivers/cpufreq/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 For details, take a look at 16 <file:Documentation/admin-guide/pm/cpufreq.rst>. 80 loading your cpufreq low-level hardware driver. 82 governor. If unsure have a look at the help section of the 93 loading your cpufreq low-level hardware driver. 95 governor. If unsure have a look at the help section of the 105 have a look at the help section of that governor. The fallback 149 'ondemand' - This driver adds a dynamic cpufreq policy governor. 159 For details, take a look at [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | fbio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #define FBTYPE_NOTYPE -1 83 int emu_type; /* -1 if none */ 258 #define CG14_XLUT 0x3000 /* X Look Up Table -- ??? */ 259 #define CG14_CLUT1 0x4000 /* Color Look Up Table */ 260 #define CG14_CLUT2 0x5000 /* Color Look Up Table */ 261 #define CG14_CLUT3 0x6000 /* Color Look Up Table */
|
/linux/drivers/char/ |
H A D | dtlk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- 3 * dtlk.c - DoubleTalk PC driver for Linux 8 * 2000-03-18 Jim Van Zandt: Fix polling. 20 The DoubleTalk PC contains four voice synthesizers: text-to-speech 40 This driver was written for use with the text-to-speech 57 #include <linux/errno.h> /* for -EBUSY */ 133 /* printk("DoubleTalk PC - dtlk_read()\n"); */ in dtlk_read() 136 return -EINVAL; in dtlk_read() 143 return -EFAULT; in dtlk_read() [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | nvidia,tegra124-dfll.txt | 4 Documentation/devicetree/bindings/clock/clock-bindings.txt 7 the fast CPU cluster. It consists of a free-running voltage controlled 10 communicating with an off-chip PMIC either via an I2C bus or via PWM signals. 13 - compatible : should be one of: 14 - "nvidia,tegra124-dfll": for Tegra124 15 - "nvidia,tegra210-dfll": for Tegra210 16 - reg : Defines the following set of registers, in the order listed: 17 - registers for the DFLL control logic. 18 - registers for the I2C output logic. 19 - registers for the integrated I2C master controller. [all …]
|
/linux/arch/arm/include/asm/ |
H A D | smp_plat.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * smp_cpuid_part() - return part id for a given cpu 40 return is_smp() ? cpu_info->cpuid & ARM_CPU_PART_MASK : in smp_cpuid_part() 76 * - mpidr: MPIDR[23:0] to be used for the look-up 78 * Returns the cpu logical index or -EINVAL on look-up error 86 return -EINVAL; in get_logical_index()
|
/linux/samples/ftrace/ |
H A D | sample-trace-array.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * The define_trace.h below will also look for a file name of 9 * In this case, it would look for sample-trace.h 13 * define_trace.h will look up by defining TRACE_INCLUDE_FILE 15 * This file is called sample-trace-array.h but we want the system 16 * to be called "sample-subsystem". Therefore we must define the name of this 19 * #define TRACE_INCLUDE_FILE sample-trace-array 27 #define TRACE_SYSTEM sample-subsystem 30 * TRACE_SYSTEM is expected to be a C valid variable (alpha-numeric 38 * But the above is only needed if TRACE_SYSTEM is not alpha-numeric [all …]
|
/linux/fs/xfs/scrub/ |
H A D | parent.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved. 31 /* Set us up to scrub parents. */ 49 /* Look for an entry in a parent pointing to this inode. */ 56 /* Look for a single entry in a directory pointing to an inode. */ 70 if (!xfs_dir2_namecheck(name->name, name->len)) in xchk_parent_actor() 71 error = -EFSCORRUPTED; in xchk_parent_actor() 75 if (sc->ip->i_ino == ino) in xchk_parent_actor() 76 spc->nlink++; in xchk_parent_actor() 78 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor() [all …]
|
/linux/lib/kunit/ |
H A D | static_stub.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include "hooks-impl.h" 22 kfree(res->data); in __kunit_static_stub_resource_free() 31 struct kunit_static_stub_ctx *ctx = res->data; in __kunit_static_stub_resource_match() 34 if (res->free != &__kunit_static_stub_resource_free) in __kunit_static_stub_resource_match() 37 return ctx->real_fn_addr == match_real_fn_addr; in __kunit_static_stub_resource_match() 54 ctx = res->data; in __kunit_get_static_stub_address_impl() 55 replacement_addr = ctx->replacement_add in __kunit_get_static_stub_address_impl() [all...] |
/linux/drivers/media/usb/dvb-usb/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 Almost every USB device needs a firmware, please look into 11 <file:Documentation/driver-api/media/drivers/dvb-usb.rst>. 19 bool "Enable extended debug support for all DVB-USB devices" 22 Say Y if you want to enable debugging. See modinfo dvb-usb (and the 28 tristate "AVerMedia AverTV DVB-T USB 2.0 (A800)" 34 Say Y here to support the AVerMedia AverTV DVB-T USB 2.0 (A800) receiver. 37 tristate "Afatech AF9005 DVB-T USB1.1 support" 42 Say Y here to support the Afatech AF9005 based DVB-T USB1.1 receiver 53 tristate "Azurewave DVB-S/S2 USB2.0 AZ6027 support" [all …]
|
/linux/Documentation/doc-guide/ |
H A D | contributing.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 Documentation is an important part of any software-development project. 8 developers work more effectively. Without top-quality documentation, a lot 9 of time is wasted in reverse-engineering the code and making avoidable 23 --------------------------- 36 ones. For this reason, eliminating warnings is one of the highest-priority 42 positives, leading to patches aimed at simply shutting the compiler up. 59 - Resource-managed devfreq_register_notifier() 61 - Resource-managed devfreq_unregister_notifier() 65 A quick look at the source file named above turned up a couple of kerneldoc [all …]
|
/linux/Documentation/process/ |
H A D | botching-up-ioctls.rst | 2 (How to avoid) Botching up ioctls 5 From: https://blog.ffwll.ch/2013/11/botching-up-ioctls.html 10 trying to come up with a unified interface to manage the execution units and 13 Which is nice, since there's no more insanity in the form of fake-generic, but 15 more potential to screw things up. 17 To avoid repeating all the same mistakes again I've written up some of the 19 only cover technicalities and not the big-picture issues like what the command 20 submission ioctl exactly should look like. Learning these lessons is probably 25 ------------- 28 will need to add a 32-bit compat layer: [all …]
|
H A D | management-style.rst | 6 This is a short document describing the preferred (or made up, depending 8 mirror the :ref:`process/coding-style.rst <codingstyle>` document to some 35 ------------ 37 Everybody thinks managers make decisions, and that decision-making is 55 painful ones. Making small and non-consequential decisions is fine, and 56 makes you look like you know what you're doing, so what a kernel manager 65 **two** inconsequential decisions - the wrong one **and** the right one. 72 you cannot escape. A cornered rat may be dangerous - a cornered manager 80 back-tracking is very easy: just tell everybody that you were an 89 - admitting you were an idiot is harder than it looks. We all like to [all …]
|
/linux/Documentation/networking/caif/ |
H A D | caif.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 :Copyright: |copy| ST-Ericsson AB 2010 32 set up to talk to the modem. 38 The benefit is that we can hook up to any TTY. 40 The use of Start-of-frame-extension (STX) must also be set as 49 $ ifconfig caif_ttyS0 up 59 /sys/kernel/debug/caif_serial/<tty-name>/ 61 * ser_state: Prints the bit-mask status where 63 - 0x02 means SENDING, this is a transient state. 64 - 0x10 means FLOW_OFF_SENT, i.e. the previous frame has not been sent [all …]
|
/linux/include/linux/ |
H A D | btree.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * A B+Tree is a data structure for looking up arbitrary (currently allowing 13 * is described at https://en.wikipedia.org/wiki/B-tree, we currently do not 18 * and pointers to sub-nodes, or, for leaf nodes, the keys and values for the 24 * Each key here is an array of unsigned longs, geo->no_longs in total. The 25 * number of keys and values (N) is geo->no_pairs. 29 * struct btree_head - btree head 45 * btree_alloc - allocate function for the mempool 52 * btree_free - free function for the mempool 59 * btree_init_mempool - initialise a btree with given mempool [all …]
|
/linux/Documentation/admin-guide/ |
H A D | reporting-issues.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 36 ensure it's vanilla (IOW: not patched and not using add-on modules). Also make 45 commit-id and CC everyone in the sign-off-by chain. 47 Once the report is out, answer any questions that come up and help where you 51 Step-by-step guide how to report issues to the kernel maintainers 58 step-by-step approach. It still tries to be brief for readability and leaves 59 out a lot of details; those are described below the step-by-step guide in a 89 kernel modules on-the-fly, which solutions like DKMS might be doing locally 129 up there, scroll down to the instructions for issues only happening with 169 -------------------------------------------------------------- [all …]
|
/linux/fs/squashfs/ |
H A D | id.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Squashfs - a compressed read only filesystem for Linux 15 * converted to 32-bit uids/gids using an id look up table. This table is 30 * Map uid/gid index into real 32-bit uid/gid using the id look up table 35 struct squashfs_sb_info *msblk = sb->s_fs_info; in squashfs_get_id() 42 if (index >= msblk->ids) in squashfs_get_id() 43 return -EINVAL; in squashfs_get_id() 45 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id() 75 return ERR_PTR(-EINVAL); in squashfs_read_id_index_table() 81 if (length != (next_table - id_table_start)) in squashfs_read_id_index_table() [all …]
|