/Linux-v6.1/Documentation/devicetree/bindings/arm/bcm/ |
D | bcm2835.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eric Anholt <eric@anholt.net> 11 - Stefan Wahren <wahrenst@gmx.net> 18 - description: BCM2711 based Boards 20 - enum: 21 - raspberrypi,400 22 - raspberrypi,4-compute-module 23 - raspberrypi,4-model-b [all …]
|
/Linux-v6.1/arch/arc/include/asm/ |
D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 23 * This is a pure count, so (1-32) or (0-31) doesn't apply 24 * It could be 0 to 32, based on num of 0's in there 50 r -= 16; in constant_fls() 54 r -= 8; in constant_fls() 58 r -= 4; in constant_fls() 62 r -= 2; in constant_fls() 65 r -= 1; in constant_fls() 71 * @result: [1-32] [all …]
|
/Linux-v6.1/Documentation/fb/ |
D | api.rst | 9 --------------- 12 with frame buffer devices. In-kernel APIs between device drivers and the frame 22 --------------- 36 - FB_CAP_FOURCC 38 The driver supports the four character code (FOURCC) based format setting API. 44 -------------------- 46 Pixels are stored in memory in hardware-dependent formats. Applications need 58 - FB_TYPE_PACKED_PIXELS 67 - FB_TYPE_PLANES 75 - FB_TYPE_INTERLEAVED_PLANES [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 22 # - integrated/SOC controllers first 23 # - licensed IP used in both SOC and discrete versions 24 # - discrete ones (including all PCI-only controllers) [all …]
|
/Linux-v6.1/drivers/thermal/ |
D | cpuidle_cooling.c | 1 // SPDX-License-Identifier: GPL-2.0 20 * struct cpuidle_cooling_device - data for the idle cooling device 30 * cpuidle_cooling_runtime - Running time computation 32 * @state: a percentile based number 36 * means the running duration is zero. If we have a 50% ratio 42 * running = idle x ((100 / ratio) - 1) 46 * running = (idle x 100) / ratio - idle 51 * Return: An unsigned int for a usec based runtime duration. 59 return ((idle_duration_us * 100) / state) - idle_duration_us; in cpuidle_cooling_runtime() 63 * cpuidle_cooling_get_max_state - Get the maximum state [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mtd/ |
D | fsmc-nand.txt | 5 - compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand" 6 - reg : Address range of the mtd chip 7 - reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd" 10 - bank-width : Width (in bytes) of the device. If not present, the width 12 - nand-skip-bbtscan: Indicates the BBT scanning should be skipped 13 - timings: array of 6 bytes for NAND timings. The meanings of these bytes 16 are valid. Zero means one clockcycle, 15 means 16 clock 20 kept in Hi-Z (tristate) after the start of a write access. 21 Only valid for write transactions. Zero means zero cycles, 24 when writing) after the command deassertation. Zero means [all …]
|
/Linux-v6.1/net/netlabel/ |
D | netlabel_cipso_v4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Author: Paul Moore <paul@paul-moore.com> 13 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006 70 * netlbl_cipsov4_add_common - Parse the common sections of a ADD message 76 * in @doi_def. Returns zero on success, negative values on failure. 86 doi_def->doi = nla_get_u32(info->attrs[NLBL_CIPSOV4_A_DOI]); in netlbl_cipsov4_add_common() 88 if (nla_validate_nested_deprecated(info->attrs[NLBL_CIPSOV4_A_TAGLST], in netlbl_cipsov4_add_common() 92 return -EINVAL; in netlbl_cipsov4_add_common() 94 nla_for_each_nested(nla, info->attrs[NLBL_CIPSOV4_A_TAGLST], nla_rem) in netlbl_cipsov4_add_common() 97 return -EINVAL; in netlbl_cipsov4_add_common() [all …]
|
D | netlabel_calipso.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Authors: Paul Moore <paul@paul-moore.com> 13 /* (c) Copyright Hewlett-Packard Development Company, L.P., 2006 60 * netlbl_calipso_add_pass - Adds a CALIPSO pass DOI definition 65 * Create a new CALIPSO_MAP_PASS DOI definition based on the given ADD message 66 * and add it to the CALIPSO engine. Return zero on success and non-zero on 78 return -ENOMEM; in netlbl_calipso_add_pass() 79 doi_def->type = CALIPSO_MAP_PASS; in netlbl_calipso_add_pass() 80 doi_def->doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]); in netlbl_calipso_add_pass() 89 * netlbl_calipso_add - Handle an ADD message [all …]
|
/Linux-v6.1/arch/mips/include/asm/octeon/ |
D | cvmx-helper.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 37 #include <asm/octeon/cvmx-config.h> 38 #include <asm/octeon/cvmx-fpa.h> 39 #include <asm/octeon/cvmx-wqe.h> 64 #include <asm/octeon/cvmx-helper-errata.h> 65 #include <asm/octeon/cvmx-helper-loop.h> 66 #include <asm/octeon/cvmx-helper-npi.h> 67 #include <asm/octeon/cvmx-helper-rgmii.h> [all …]
|
/Linux-v6.1/Documentation/admin-guide/media/ |
D | technisat.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 ----------------------------- 19 .. code-block:: none 21 lspci -vvv for a PCI device (lsusb -vvv for an USB device) will show you for example: 29 ------------------- 37 (except ``Simple tuner support`` for ATSC 3rd generation only -> see case 9 please). 41 - Main module part: 50 - Frontend / Tuner / Demodulator module part: 55 - SkyStar DVB-S Revision 2.3: 57 #) => ``Zarlink VP310/MT312/ZL10313 based`` [all …]
|
/Linux-v6.1/arch/arm/include/asm/ |
D | hugetlb-3level.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/include/asm/hugetlb-3level.h 7 * Based on arch/x86/include/asm/hugetlb.h. 15 * If our huge pte is non-zero then mark the valid bit. 16 * This allows pte_present(huge_ptep_get(ptep)) to return true for non-zero
|
/Linux-v6.1/Documentation/filesystems/ext4/ |
D | verity.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------ 6 ext4 supports fs-verity, which is a filesystem feature that provides 7 Merkle tree based hashing for individual readonly files. Most of 8 fs-verity is common to all filesystems that support it; see 10 fs-verity documentation. However, the on-disk layout of the verity 11 metadata is filesystem-specific. On ext4, the verity metadata is 14 - Zero-padding to the next 65536-byte boundary. This padding need not 15 actually be allocated on-disk, i.e. it may be a hole. 17 - The Merkle tree, as documented in [all …]
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | gup_test.c | 93 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() 95 char *file = "/dev/zero"; in main() 99 while ((opt = getopt(argc, argv, "m:r:n:F:f:abcj:tTLUuwWSHpz")) != -1) { in main() 114 * user's non-option arguments. in main() 116 * .which_pages is zero-based, so that zero can mean "do in main() 174 return -1; in main() 183 * ./gup_test -c 0 1 0x1001 in main() 191 * Do the 1-based indexing here, so that the user can in main() 192 * use normal 0-based indexing on the command line. in main() 213 if (gup_fd == -1) { in main()
|
/Linux-v6.1/mm/ |
D | gup_test.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 27 * Each non-zero entry is the number of the page (1-based: first page is 28 * page 1, so that zero entries mean "do nothing") from the .addr base.
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | test_dev_cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #define TEST_CGROUP "/test-bpf-based-device-cgroup/" 57 /* All operations with /dev/zero and and /dev/urandom are allowed, in main() 60 assert(system("rm -f /tmp/test_dev_cgroup_null") == 0); in main() 62 assert(system("rm -f /tmp/test_dev_cgroup_null") == 0); in main() 64 /* /dev/zero is whitelisted */ in main() 65 assert(system("rm -f /tmp/test_dev_cgroup_zero") == 0); in main() 67 assert(system("rm -f /tmp/test_dev_cgroup_zero") == 0); in main() 69 assert(system("dd if=/dev/urandom of=/dev/zero count=64") == 0); in main() 75 assert(system("dd if=/dev/random of=/dev/zero count=64")); in main()
|
/Linux-v6.1/arch/arm/mach-zynq/ |
D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2011-2013 Xilinx 8 * based on linux/arch/arm/mach-realview/platsmp.c 20 #include <linux/irqchip/arm-gic.h> 32 u32 trampoline_code_size = &zynq_secondary_trampoline_end - in zynq_cpun_start() 40 static u8 __iomem *zero; in zynq_cpun_start() local 41 u32 trampoline_size = &zynq_secondary_trampoline_jump - in zynq_cpun_start() 47 zero = ioremap(0, trampoline_code_size); in zynq_cpun_start() 48 if (!zero) { in zynq_cpun_start() 50 return -1; in zynq_cpun_start() [all …]
|
/Linux-v6.1/include/linux/ |
D | freelist.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ 10 * A simple CAS-based lock-free free list. Not the fastest thing in the world 15 * Adapted from: https://moodycamel.com/blog/2014/solving-the-aba-problem-for-lock-free-free-lists 33 * Since the refcount is zero, and nobody can increase it once it's in __freelist_add() 34 * zero (except us, and we run only one copy of this method per node at in __freelist_add() 37 * back above zero, then other threads could increase it (happens under in __freelist_add() 38 * heavy contention, when the refcount goes to zero in between a load in __freelist_add() 40 * something non-zero, then the refcount increment is done by the other in __freelist_add() 41 * thread) -- so if the CAS to add the node to the actual list fails, in __freelist_add() 43 * who puts the refcount back to zero (which could be us, hence the in __freelist_add() [all …]
|
D | highmem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include "highmem-internal.h" 17 * kmap - Map a page for long term usage 40 * kunmap - Unmap the virtual address mapped by kmap() 49 * kmap_to_page - Get the page for a kmap'ed address 57 * kmap_flush_unused - Flush all unused kmap mappings in order to 63 * kmap_local_page - Map a page for temporary usage 71 * management is stack based. The unmap has to be in the reverse order of 99 * kmap_local_folio - Map a page in this folio for temporary usage 104 * management is stack based. The unmap has to be in the reverse order of [all …]
|
/Linux-v6.1/drivers/rtc/ |
D | rtc-mxc_v2.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2004-2011 Freescale Semiconductor, Inc. 26 #define SRTC_LPSR_NVES BIT(14) /* lp non-valid state exit status */ 51 * The caller should hold the pdata->lock 63 if (!--timeout) { in mxc_rtc_sync_lp_locked() 76 void __iomem *ioaddr = pdata->ioaddr; in mxc_rtc_interrupt() 80 spin_lock(&pdata->lock); in mxc_rtc_interrupt() 81 if (clk_enable(pdata->clk)) { in mxc_rtc_interrupt() 82 spin_unlock(&pdata->lock); in mxc_rtc_interrupt() 92 rtc_update_irq(pdata->rtc, 1, RTC_AF | RTC_IRQF); in mxc_rtc_interrupt() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
D | cpm.txt | 10 - compatible : "fsl,cpm1", "fsl,cpm2", or "fsl,qe". 11 - reg : A 48-byte region beginning with CPCR. 15 #address-cells = <1>; 16 #size-cells = <1>; 17 #interrupt-cells = <2>; 18 compatible = "fsl,mpc8272-cpm", "fsl,cpm2"; 24 - fsl,cpm-command : This value is ORed with the opcode and command flag 27 - fsl,cpm-brg : Indicates which baud rate generator the device 29 should be dynamically allocated. If zero, the 32 - reg : Unless otherwise specified, the first resource represents the [all …]
|
/Linux-v6.1/arch/powerpc/boot/ |
D | planetcore.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * Returns zero/NULL on failure, non-zero on success. 37 /* Updates the device tree local-mac-address properties based 42 /* Sets the linux,stdout-path in the /chosen node. This requires the 43 * linux,planetcore-label property in each serial node.
|
/Linux-v6.1/Documentation/block/ |
D | ublk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 new virtual block device such as ublk-qcow2 (there are several attempts of 18 - They can be written many programming languages. 19 - They can use libraries that are not available in the kernel. 20 - They can be debugged with tools familiar to application developers. 21 - Crashes do not kernel panic the machine. 22 - Bugs are likely to have a lower security impact than bugs in kernel 24 - They can be installed and updated independently of the kernel. 25 - They can be used to simulate block device easily with user specified 35 ``nbdublk`` [#userspace_nbdublk]_ based on ``libublksrv`` [#userspace_lib]_. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mips/ingenic/ |
D | devices.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ingenic XBurst based Platforms Device Tree Bindings 10 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> 21 - description: Qi Hardware Ben NanoNote 23 - const: qi,lb60 24 - const: ingenic,jz4740 26 - description: YLM RetroMini RS-90 28 - const: ylm,rs90 [all …]
|
/Linux-v6.1/drivers/gpu/drm/ |
D | drm_connector.c | 49 * Hence they are reference-counted using drm_connector_get() and 65 * For connectors which are not fixed (like built-in panels) the driver needs to 74 * Note drm_connector_[un]register() first take connector->lock and then 92 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 93 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, 94 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" }, 101 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" }, 102 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" }, 130 * drm_get_connector_type_name - return a string for connector type 145 * drm_connector_get_cmdline_mode - reads the user's cmdline mode [all …]
|
/Linux-v6.1/Documentation/admin-guide/mm/damon/ |
D | reclaim.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 DAMON-based Reclamation 7 DAMON-based Reclamation (DAMON_RECLAIM) is a static kernel module that aimed to 9 It doesn't aim to replace the LRU-list based page_granularity reclamation, but 15 On general memory over-committed systems, proactively reclaiming cold pages 20 Free Pages Reporting [3]_ based memory over-commit virtualization systems are 24 guests could be not so memory-frugal, mainly because some kernel subsystems and 25 user-space applications are designed to use as much memory as available. Then, 54 ------- 60 no real monitoring and reclamation due to the watermarks-based activation [all …]
|