| /linux/Documentation/devicetree/bindings/arm/bcm/ |
| H A 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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | mlx5hws.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 18 /* Allocate resources based on number of rules with minimal failure probability */ 20 /* Allocate fixed size hash table based on given column and rows */ 129 /* Optional AT attach configuration - Max number of additional AT */ 229 * mlx5hws_is_supported - Check whether HWS is supported 250 * mlx5hws_context_open - Open a context used for direct rule insertion 263 * mlx5hws_context_close - Close a context used for direct hardware steering. 267 * Return: zero on success non zero otherwise. 272 * mlx5hws_context_set_peer - Set a peer context. 284 * mlx5hws_table_create - Create a new direct rule table. [all …]
|
| /linux/Documentation/fb/ |
| H A 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/Documentation/ABI/testing/ |
| H A D | sysfs-edac-scrub | 1 What: /sys/bus/edac/devices/<dev-name>/scrubX 4 Contact: linux-edac@vger.kernel.org 6 The sysfs EDAC bus devices /<dev-name>/scrubX subdirectory 8 where <dev-name> directory corresponds to a device/memory 17 What: /sys/bus/edac/devices/<dev-name>/scrubX/addr 20 Contact: linux-edac@vger.kernel.org 23 for on-demand scrubbing. Setting address starts scrubbing. 26 The readback addr value is non-zero if the requested 27 on-demand scrubbing is in progress, zero otherwise. 29 What: /sys/bus/edac/devices/<dev-name>/scrubX/size [all …]
|
| /linux/Documentation/iio/ |
| H A D | iio_dmabuf_api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 High-speed DMABUF interface for IIO 11 file-based interface, with read() and write() access calls through the 14 It additionally supports a DMABUF based interface, where the userspace 20 zero-copy fashion, for instance between IIO and the USB stack. 22 The userspace application can also memory-map the DMABUF objects, and 25 kernel and userspace. This is particularly useful for high-speed devices 27 It does however increase the userspace-kernelspace synchronization 40 IIO buffer. Returns zero on success, and a negative errno value on 45 from the IIO buffer. Returns zero on success, and a negative errno
|
| /linux/lib/tests/ |
| H A D | ffs_kunit.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * KUnit tests for ffs()-family functions 13 int expected_ffs; /* ffs() result (1-based) */ 14 int expected_fls; /* fls() result (1-based) */ 20 int expected_fls64; /* fls64() result (1-based) */ 21 unsigned int expected_ffs64_0based; /* __ffs64() result (0-based) */ 26 * Basic edge cases - core functionality validation 29 /* Zero case - special handling */ 30 {0x00000000, 0, 0, "zero value"}, 32 /* Single bit patterns - powers of 2 */ [all …]
|
| H A D | stackinit_kunit.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Test cases for compiler-based stack variable zeroing via 4 * -ftrivial-auto-var-init={zero,pattern}. 6 * "Running tests with kunit_tool" at Documentation/dev-tools/kunit/start.rst 7 * ./tools/testing/kunit/kunit.py run stackinit [--raw_output] \ 8 * --make_option LLVM=1 \ 9 * --kconfig_add CONFIG_INIT_STACK_ALL_ZERO=y 89 #define ZERO_CLONE_SCALAR(zero) memset(&(zero), 0x00, sizeof(zero)) argument 90 #define ZERO_CLONE_STRING(zero) memset(&(zero), 0x00, sizeof(zero)) argument 95 #define ZERO_CLONE_STRUCT(zero) \ argument [all …]
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A 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/Documentation/admin-guide/media/ |
| H A 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/net/netlabel/ |
| H A 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 …]
|
| H A 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_ops_register - Register the CALIPSO operations 82 * netlbl_calipso_add_pass - Adds a CALIPSO pass DOI definition 87 * Create a new CALIPSO_MAP_PASS DOI definition based on the given ADD message 88 * and add it to the CALIPSO engine. Return zero on success and non-zero on 100 return -ENOMEM; in netlbl_calipso_add_pass() 101 doi_def->type = CALIPSO_MAP_PASS; in netlbl_calipso_add_pass() 102 doi_def->doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]); in netlbl_calipso_add_pass() [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| H A 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/tools/testing/selftests/mm/ |
| H A D | gup_test.c | 95 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() 97 char *file = "/dev/zero"; in main() 102 while ((opt = getopt(argc, argv, "m:r:n:F:f:abcj:tTLUuwWSHpz")) != -1) { in main() 117 * user's non-option arguments. in main() 119 * .which_pages is zero-based, so that zero can mean "do in main() 185 * ./gup_test -c 0 1 0x1001 in main() 193 * Do the 1-base in main() [all...] |
| /linux/arch/arm/include/asm/ |
| H A 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(mm,addr,ptep)) to return true for non-zero
|
| /linux/Documentation/arch/arm64/ |
| H A D | tagged-pointers.rst | 20 -------------------------------------- 25 (Documentation/arch/arm64/tagged-address-abi.rst). 29 - pointer arguments to system calls, including pointers in structures 32 - the stack pointer (sp), e.g. when interpreting it to deliver a 35 - the frame pointer (x29) and frame records, e.g. when interpreting 38 Using non-zero address tags in any of these locations when the 44 passing non-zero address tags to the kernel via system calls is 45 forbidden, and using a non-zero address tag for sp is strongly 48 Programs maintaining a frame pointer and frame records that use non-zero 54 --------------- [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | mem_rdonly_untrusted.c | 1 // SPDX-License-Identifier: GPL-2.0 12 __msg("r8 = *(u64 *)(r7 +0) ; R7=ptr_nameidata(imm={{[0-9]+}}) R8=rdonly_untrusted_mem(sz=… 21 idata = task->nameidata; in btf_id_to_ptr_mem() 25 * ret = task->nameidata->pathname[0]; in btf_id_to_ptr_mem() 182 int zero; variable 208 "if %[zero] != 0 goto +1;" in mixed_mem_untrusted_btf_id_type() 215 [zero]"r"(zero) in mixed_mem_untrusted_btf_id_type() 240 * task->nameidata is NULL unless the task currently is in the in mixed_mem_btf_id_type() 243 q = (u32 *)&task->nameidata->flags; in mixed_mem_btf_id_type() 252 "if %[zero] != 0 goto +1;" in mixed_mem_btf_id_type() [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-mxc_v2.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2004-2011 Freescale Semiconductor, Inc. 25 #define SRTC_LPSR_NVES BIT(14) /* lp non-valid state exit status */ 50 * The caller should hold the pdata->lock 62 if (!--timeout) { in mxc_rtc_sync_lp_locked() 75 void __iomem *ioaddr = pdata->ioaddr; in mxc_rtc_interrupt() 79 spin_lock(&pdata->lock); in mxc_rtc_interrupt() 80 if (clk_enable(pdata->clk)) { in mxc_rtc_interrupt() 81 spin_unlock(&pdata->lock); in mxc_rtc_interrupt() 91 rtc_update_irq(pdata->rtc, 1, RTC_AF | RTC_IRQF); in mxc_rtc_interrupt() [all …]
|
| /linux/arch/arm/mach-zynq/ |
| H A 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/mm/ |
| H A D | gup_test.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 30 * Each non-zero entry is the number of the page (1-based: first page is 31 * page 1, so that zero entries mean "do nothing") from the .addr base.
|
| /linux/Documentation/arch/x86/ |
| H A D | amd_hsmp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Newer Fam19h(model 0x00-0x1f, 0x30-0x3f, 0x90-0x9f, 0xa0-0xaf), 8 Fam1Ah(model 0x00-0x1f) EPYC server line of processors from AMD support 12 OS-level software with access to system management functions via a 17 Eg: https://docs.amd.com/v/u/en-US/55898_B1_pub_0_50 27 for ACPI object based probing, platform device based probing and for the common 40 $ ls -al /dev/hsmp 41 crw-r--r-- 1 root root 10, 123 Jan 21 21:41 /dev/hsmp 51 In-kernel integration: 74 exceeds PAGE_SIZE, so a read returns ``-EOPNOTSUPP`` there. For [all …]
|
| /linux/rust/kernel/time/ |
| H A D | delay.rs | 1 // SPDX-License-Identifier: GPL-2.0 16 /// which automatically chooses the best sleep method based on a duration. 20 /// to call this function with an out-of-range value, in which case the function 24 /// The behavior above differs from the C side [`fsleep()`] for which out-of-range 35 let delta = if (Delta::ZERO..=MAX_DELTA).contains(&delta) { in fsleep() 51 /// Inserts a delay based on microseconds with busy waiting. 57 /// call this function with an out-of-range value. 59 /// The behavior above differs from the C side [`udelay()`] for which out-of-range 69 let delta = if (Delta::ZERO..=MAX_UDELAY_DELTA).contains(&delta) { in udelay() 76 // Note that the kernel is compiled with `-fno-strict-overflow` in udelay() [all …]
|
| /linux/drivers/usb/core/ |
| H A D | usb-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB-ACPI glue code 19 * usb_acpi_power_manageable - check whether usb port has 22 * @index: port index based zero 40 #define UUID_USB_CONTROLLER_DSM "ce2ee385-00e6-48cb-9f05-2edb927c4899" 44 * usb_acpi_port_lpm_incapable - check if lpm should be disabled for a port. 46 * @index: zero based port index 51 * Arg0: UUID = ce2ee385-00e6-48cb-9f05-2edb927c4899 73 dev_dbg(&hdev->dev, "port-%d no acpi handle\n", port1); in usb_acpi_port_lpm_incapable() 74 return -ENODEV; in usb_acpi_port_lpm_incapable() [all …]
|
| /linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
| H A 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/arch/powerpc/boot/ |
| H A 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/Documentation/devicetree/bindings/mips/ingenic/ |
| H A 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 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 …]
|