Home
last modified time | relevance | path

Searched +full:zero +full:- +full:based (Results 1 – 25 of 1045) sorted by relevance

12345678910>>...42

/linux/Documentation/devicetree/bindings/arm/bcm/
H A Dbcm2835.yaml1 # 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 Dmlx5hws.h1 /* 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 Dapi.rst9 ---------------
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/lib/tests/
H A Dffs_kunit.c1 // 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 Dstackinit_kunit.c1 // 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/admin-guide/mm/damon/
H A Dreclaim.rst1 .. 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 …]
/linux/Documentation/ABI/testing/
H A Dsysfs-edac-scrub1 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 Diio_dmabuf_api.rst1 .. 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/drivers/thermal/
H A Dcpuidle_cooling.c1 // SPDX-License-Identifier: GPL-2.0
21 * struct cpuidle_cooling_device - data for the idle cooling device
31 * cpuidle_cooling_runtime - Running time computation
33 * @state: a percentile based number
37 * means the running duration is zero. If we have a 50% ratio
43 * running = idle x ((100 / ratio) - 1)
47 * running = (idle x 100) / ratio - idle
52 * Return: An unsigned int for a usec based runtime duration.
60 return ((idle_duration_us * 100) / state) - idle_duration_us; in cpuidle_cooling_runtime()
64 * cpuidle_cooling_get_max_state - Get the maximum state
[all …]
/linux/drivers/usb/gadget/udc/
H A DKconfig1 # 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/net/netlabel/
H A Dnetlabel_cipso_v4.c1 // 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 Dnetlabel_calipso.c1 // 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/devicetree/bindings/mtd/
H A Dfsmc-nand.txt5 - 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/arch/mips/include/asm/octeon/
H A Dcvmx-helper.h7 * 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/Documentation/admin-guide/media/
H A Dtechnisat.rst1 .. 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/Documentation/filesystems/ext4/
H A Dverity.rst1 .. 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 Dgup_test.c95 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main()
97 char *file = "/dev/zero"; in main()
101 while ((opt = getopt(argc, argv, "m:r:n:F:f:abcj:tTLUuwWSHpz")) != -1) { in main()
116 * user's non-option arguments. in main()
118 * .which_pages is zero-based, so that zero can mean "do in main()
187 * ./gup_test -c 0 1 0x1001 in main()
195 * Do the 1-based indexing here, so that the user can in main()
196 * use normal 0-based indexing on the command line. in main()
218 if (gup_fd == -1) { in main()
/linux/Documentation/block/
H A Dublk.rst1 .. 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/drivers/rtc/
H A Drtc-mxc_v2.c1 // 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/arch/arm/include/asm/
H A Dhugetlb-3level.h1 /* 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 Dtagged-pointers.rst20 --------------------------------------
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/drivers/usb/core/
H A Dusb-acpi.c1 // 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/arch/arm/mach-zynq/
H A Dplatsmp.c1 // 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/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,sa8255p-geni-se-qup.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,sa8255p-geni-se-qup.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Praveen Talari <quic_ptalari@quicinc.com>
13 Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) wrapper
17 Wrapper controller is modeled as a node with zero or more child nodes each
22 const: qcom,sa8255p-geni-se-qup
28 "#address-cells":
31 "#size-cells":
[all …]
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A Dcpm.txt10 - 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 …]

12345678910>>...42